• Home
  • History
  • Annotate
  • Raw
  • Download
  • only in /macosx-10.10.1/WebKit2-7600.1.25/Shared/

Lines Matching refs:macro

29 // macro(KeyUpper, KeyLower, TypeNameUpper, TypeName, DefaultValue) 
97 #define FOR_EACH_WEBKIT_BOOL_PREFERENCE(macro) \
98 macro(JavaScriptEnabled, javaScriptEnabled, Bool, bool, true) \
99 macro(JavaScriptMarkupEnabled, javaScriptMarkupEnabled, Bool, bool, true) \
100 macro(LoadsImagesAutomatically, loadsImagesAutomatically, Bool, bool, true) \
101 macro(LoadsSiteIconsIgnoringImageLoadingPreference, loadsSiteIconsIgnoringImageLoadingPreference, Bool, bool, false) \
102 macro(PluginsEnabled, pluginsEnabled, Bool, bool, false) \
103 macro(JavaEnabled, javaEnabled, Bool, bool, false) \
104 macro(JavaEnabledForLocalFiles, javaEnabledForLocalFiles, Bool, bool, false) \
105 macro(OfflineWebApplicationCacheEnabled, offlineWebApplicationCacheEnabled, Bool, bool, false) \
106 macro(LocalStorageEnabled, localStorageEnabled, Bool, bool, true) \
107 macro(DatabasesEnabled, databasesEnabled, Bool, bool, true) \
108 macro(XSSAuditorEnabled, xssAuditorEnabled, Bool, bool, true) \
109 macro(FrameFlatteningEnabled, frameFlatteningEnabled, Bool, bool, DEFAULT_FRAME_FLATTENING_ENABLED) \
110 macro(DeveloperExtrasEnabled, developerExtrasEnabled, Bool, bool, false) \
111 macro(JavaScriptExperimentsEnabled, javaScriptExperimentsEnabled, Bool, bool, false) \
112 macro(PrivateBrowsingEnabled, privateBrowsingEnabled, Bool, bool, false) \
113 macro(TextAreasAreResizable, textAreasAreResizable, Bool, bool, DEFAULT_TEXT_AREAS_ARE_RESIZABLE) \
114 macro(JavaScriptCanOpenWindowsAutomatically, javaScriptCanOpenWindowsAutomatically, Bool, bool, DEFAULT_JAVASCRIPT_CAN_OPEN_WINDOWS_AUTOMATICALLY) \
115 macro(HyperlinkAuditingEnabled, hyperlinkAuditingEnabled, Bool, bool, true) \
116 macro(NeedsSiteSpecificQuirks, needsSiteSpecificQuirks, Bool, bool, false) \
117 macro(AcceleratedCompositingEnabled, acceleratedCompositingEnabled, Bool, bool, true) \
118 macro(ForceCompositingMode, forceCompositingMode, Bool, bool, false) \
119 macro(AcceleratedDrawingEnabled, acceleratedDrawingEnabled, Bool, bool, DEFAULT_ACCELERATED_DRAWING_ENABLED) \
120 macro(CanvasUsesAcceleratedDrawing, canvasUsesAcceleratedDrawing, Bool, bool, DEFAULT_CANVAS_USES_ACCELERATED_DRAWING) \
121 macro(WebGLEnabled, webGLEnabled, Bool, bool, DEFAULT_WEBGL_ENABLED) \
122 macro(MultithreadedWebGLEnabled, multithreadedWebGLEnabled, Bool, bool, false) \
123 macro(ForceSoftwareWebGLRendering, forceSoftwareWebGLRendering, Bool, bool, false) \
124 macro(Accelerated2dCanvasEnabled, accelerated2dCanvasEnabled, Bool, bool, false) \
125 macro(CSSRegionsEnabled, cssRegionsEnabled, Bool, bool, true) \
126 macro(CSSCompositingEnabled, cssCompositingEnabled, Bool, bool, true) \
127 macro(ForceFTPDirectoryListings, forceFTPDirectoryListings, Bool, bool, false) \
128 macro(TabsToLinks, tabsToLinks, Bool, bool, DEFAULT_WEBKIT_TABSTOLINKS_ENABLED) \
129 macro(DNSPrefetchingEnabled, dnsPrefetchingEnabled, Bool, bool, false) \
130 macro(WebArchiveDebugModeEnabled, webArchiveDebugModeEnabled, Bool, bool, false) \
131 macro(LocalFileContentSniffingEnabled, localFileContentSniffingEnabled, Bool, bool, false) \
132 macro(UsesPageCache, usesPageCache, Bool, bool, true) \
133 macro(PageCacheSupportsPlugins, pageCacheSupportsPlugins, Bool, bool, true) \
134 macro(AuthorAndUserStylesEnabled, authorAndUserStylesEnabled, Bool, bool, true) \
135 macro(PaginateDuringLayoutEnabled, paginateDuringLayoutEnabled, Bool, bool, false) \
136 macro(DOMPasteAllowed, domPasteAllowed, Bool, bool, false) \
137 macro(JavaScriptCanAccessClipboard, javaScriptCanAccessClipboard, Bool, bool, false) \
138 macro(ShouldPrintBackgrounds, shouldPrintBackgrounds, Bool, bool, DEFAULT_SHOULD_PRINT_BACKGROUNDS) \
139 macro(FullScreenEnabled, fullScreenEnabled, Bool, bool, false) \
140 macro(AsynchronousSpellCheckingEnabled, asynchronousSpellCheckingEnabled, Bool, bool, false) \
141 macro(WebSecurityEnabled, webSecurityEnabled, Bool, bool, true) \
142 macro(AllowUniversalAccessFromFileURLs, allowUniversalAccessFromFileURLs, Bool, bool, false) \
143 macro(AllowFileAccessFromFileURLs, allowFileAccessFromFileURLs, Bool, bool, false) \
144 macro(AVFoundationEnabled, isAVFoundationEnabled, Bool, bool, true) \
145 macro(MediaPlaybackRequiresUserGesture, mediaPlaybackRequiresUserGesture, Bool, bool, DEFAULT_MEDIA_PLAYBACK_REQUIRES_USER_GESTURE) \
146 macro(MediaPlaybackAllowsInline, mediaPlaybackAllowsInline, Bool, bool, DEFAULT_MEDIA_PLAYBACK_ALLOWS_INLINE) \
147 macro(MediaPlaybackAllowsAirPlay, mediaPlaybackAllowsAirPlay, Bool, bool, true) \
148 macro(InspectorStartsAttached, inspectorStartsAttached, Bool, bool, true) \
149 macro(ShowsToolTipOverTruncatedText, showsToolTipOverTruncatedText, Bool, bool, false) \
150 macro(MockScrollbarsEnabled, mockScrollbarsEnabled, Bool, bool, false) \
151 macro(WebAudioEnabled, webAudioEnabled, Bool, bool, true) \
152 macro(ApplicationChromeModeEnabled, applicationChromeMode, Bool, bool, false) \
153 macro(SuppressesIncrementalRendering, suppressesIncrementalRendering, Bool, bool, false) \
154 macro(BackspaceKeyNavigationEnabled, backspaceKeyNavigationEnabled, Bool, bool, true) \
155 macro(CaretBrowsingEnabled, caretBrowsingEnabled, Bool, bool, false) \
156 macro(ShouldDisplaySubtitles, shouldDisplaySubtitles, Bool, bool, false) \
157 macro(ShouldDisplayCaptions, shouldDisplayCaptions, Bool, bool, false) \
158 macro(ShouldDisplayTextDescriptions, shouldDisplayTextDescriptions, Bool, bool, false) \
159 macro(NotificationsEnabled, notificationsEnabled, Bool, bool, true) \
160 macro(ShouldRespectImageOrientation, shouldRespectImageOrientation, Bool, bool, DEFAULT_SHOULD_RESPECT_IMAGE_ORIENTATION) \
161 macro(WantsBalancedSetDefersLoadingBehavior, wantsBalancedSetDefersLoadingBehavior, Bool, bool, false) \
162 macro(RequestAnimationFrameEnabled, requestAnimationFrameEnabled, Bool, bool, true) \
163 macro(DiagnosticLoggingEnabled, diagnosticLoggingEnabled, Bool, bool, false) \
164 macro(AsynchronousPluginInitializationEnabled, asynchronousPluginInitializationEnabled, Bool, bool, false) \
165 macro(AsynchronousPluginInitializationEnabledForAllPlugins, asynchronousPluginInitializationEnabledForAllPlugins, Bool, bool, false) \
166 macro(ArtificialPluginInitializationDelayEnabled, artificialPluginInitializationDelayEnabled, Bool, bool, false) \
167 macro(TabToLinksEnabled, tabToLinksEnabled, Bool, bool, false) \
168 macro(InteractiveFormValidationEnabled, interactiveFormValidationEnabled, Bool, bool, false) \
169 macro(ScrollingPerformanceLoggingEnabled, scrollingPerformanceLoggingEnabled, Bool, bool, false) \
170 macro(ScrollAnimatorEnabled, scrollAnimatorEnabled, Bool, bool, DEFAULT_WEBKIT_SCROLL_ANIMATOR_ENABLED) \
171 macro(ForceUpdateScrollbarsOnMainThreadForPerformanceTesting, forceUpdateScrollbarsOnMainThreadForPerformanceTesting, Bool, bool, false) \
172 macro(ScreenFontSubstitutionEnabled, screenFontSubstitutionEnabled, Bool, bool, DEFAULT_SCREEN_FONT_SUBSTITUTION_ENABLED) \
173 macro(CookieEnabled, cookieEnabled, Bool, bool, true) \
174 macro(PlugInSnapshottingEnabled, plugInSnapshottingEnabled, Bool, bool, false) \
175 macro(SnapshotAllPlugIns, snapshotAllPlugIns, Bool, bool, false) \
176 macro(AutostartOriginPlugInSnapshottingEnabled, autostartOriginPlugInSnapshottingEnabled, Bool, bool, true) \
177 macro(PrimaryPlugInSnapshotDetectionEnabled, primaryPlugInSnapshotDetectionEnabled, Bool, bool, true) \
178 macro(PDFPluginEnabled, pdfPluginEnabled, Bool, bool, DEFAULT_PDFPLUGIN_ENABLED) \
179 macro(UsesEncodingDetector, usesEncodingDetector, Bool, bool, false) \
180 macro(TextAutosizingEnabled, textAutosizingEnabled, Bool, bool, false) \
181 macro(AggressiveTileRetentionEnabled, aggressiveTileRetentionEnabled, Bool, bool, false) \
182 macro(TemporaryTileCohortRetentionEnabled, temporaryTileCohortRetentionEnabled, Bool, bool, DEFAULT_TEMPORARY_TILE_COHORT_RETENTION_ENABLED) \
183 macro(QTKitEnabled, isQTKitEnabled, Bool, bool, true) \
184 macro(PageVisibilityBasedProcessSuppressionEnabled, pageVisibilityBasedProcessSuppressionEnabled, Bool, bool, true) \
185 macro(SmartInsertDeleteEnabled, smartInsertDeleteEnabled, Bool, bool, true) \
186 macro(SelectTrailingWhitespaceEnabled, selectTrailingWhitespaceEnabled, Bool, bool, false) \
187 macro(ShowsURLsInToolTipsEnabled, showsURLsInToolTipsEnabled, Bool, bool, false) \
188 macro(AcceleratedCompositingForOverflowScrollEnabled, acceleratedCompositingForOverflowScrollEnabled, Bool, bool, false) \
189 macro(HiddenPageDOMTimerThrottlingEnabled, hiddenPageDOMTimerThrottlingEnabled, Bool, bool, DEFAULT_HIDDEN_PAGE_DOM_TIMER_THROTTLING_ENABLED) \
190 macro(HiddenPageCSSAnimationSuspensionEnabled, hiddenPageCSSAnimationSuspensionEnabled, Bool, bool, DEFAULT_HIDDEN_PAGE_CSS_ANIMATION_SUSPENSION_ENABLED) \
191 macro(LowPowerVideoAudioBufferSizeEnabled, lowPowerVideoAudioBufferSizeEnabled, Bool, bool, false) \
192 macro(ThreadedScrollingEnabled, threadedScrollingEnabled, Bool, bool, true) \
193 macro(SimpleLineLayoutEnabled, simpleLineLayoutEnabled, Bool, bool, true) \
194 macro(SimpleLineLayoutDebugBordersEnabled, simpleLineLayoutDebugBordersEnabled, Bool, bool, false) \
195 macro(SubpixelCSSOMElementMetricsEnabled, subpixelCSSOMElementMetricsEnabled, Bool, bool, false) \
196 macro(BackgroundShouldExtendBeyondPage, backgroundShouldExtendBeyondPage, Bool, bool, false) \
197 macro(MediaStreamEnabled, mediaStreamEnabled, Bool, bool, false) \
198 macro(UseLegacyTextAlignPositionedElementBehavior, useLegacyTextAlignPositionedElementBehavior, Bool, bool, false) \
199 macro(SpatialNavigationEnabled, spatialNavigationEnabled, Bool, bool, false) \
200 macro(MediaSourceEnabled, mediaSourceEnabled, Bool, bool, true) \
201 macro(ViewGestureDebuggingEnabled, viewGestureDebuggingEnabled, Bool, bool, false) \
202 macro(ShouldConvertPositionStyleOnCopy, shouldConvertPositionStyleOnCopy, Bool, bool, false) \
203 macro(Standalone, standalone, Bool, bool, false) \
204 macro(TelephoneNumberParsingEnabled, telephoneNumberParsingEnabled, Bool, bool, false) \
205 macro(AlwaysUseBaselineOfPrimaryFont, alwaysUseBaselineOfPrimaryFont, Bool, bool, false) \
206 macro(AllowMultiElementImplicitSubmission, allowMultiElementImplicitSubmission, Bool, bool, false) \
207 macro(AlwaysUseAcceleratedOverflowScroll, alwaysUseAcceleratedOverflowScroll, Bool, bool, false) \
208 macro(PasswordEchoEnabled, passwordEchoEnabled, Bool, bool, DEFAULT_PASSWORD_ECHO_ENABLED) \
209 macro(ImageControlsEnabled, imageControlsEnabled, Bool, bool, false) \
210 macro(EnableInheritURIQueryComponent, enableInheritURIQueryComponent, Bool, bool, false) \
211 macro(ServiceControlsEnabled, serviceControlsEnabled, Bool, bool, false) \
212 macro(GamepadsEnabled, gamepadsEnabled, Bool, bool, false) \
214 #define FOR_EACH_WEBKIT_DOUBLE_PREFERENCE(macro) \
215 macro(PDFScaleFactor, pdfScaleFactor, Double, double, 0) \
216 macro(IncrementalRenderingSuppressionTimeout, incrementalRenderingSuppressionTimeout, Double, double, 5) \
217 macro(MinimumFontSize, minimumFontSize, Double, double, 0) \
218 macro(MinimumLogicalFontSize, minimumLogicalFontSize, Double, double, 9) \
219 macro(MinimumZoomFontSize, minimumZoomFontSize, Double, double, DEFAULT_MINIMUM_FONT_ZOOM_SIZE) \
220 macro(DefaultFontSize, defaultFontSize, Double, double, 16) \
221 macro(DefaultFixedFontSize, defaultFixedFontSize, Double, double, 13) \
222 macro(LayoutInterval, layoutInterval, Double, double, -1) \
223 macro(MaxParseDuration, maxParseDuration, Double, double, -1) \
224 macro(PasswordEchoDuration, passwordEchoDuration, Double, double, 2) \
227 #define FOR_EACH_WEBKIT_UINT32_PREFERENCE(macro) \
228 macro(FontSmoothingLevel, fontSmoothingLevel, UInt32, uint32_t, FontSmoothingLevelMedium) \
229 macro(LayoutFallbackWidth, layoutFallbackWidth, UInt32, uint32_t, 980) \
230 macro(DeviceWidth, deviceWidth, UInt32, uint32_t, 0) \
231 macro(DeviceHeight, deviceHeight, UInt32, uint32_t, 0) \
232 macro(PDFDisplayMode, pdfDisplayMode, UInt32, uint32_t, 1) \
233 macro(EditableLinkBehavior, editableLinkBehavior, UInt32, uint32_t, WebCore::EditableLinkNeverLive) \
234 macro(InspectorAttachedHeight, inspectorAttachedHeight, UInt32, uint32_t, 300) \
235 macro(InspectorAttachedWidth, inspectorAttachedWidth, UInt32, uint32_t, 750) \
236 macro(InspectorAttachmentSide, inspectorAttachmentSide, UInt32, uint32_t, 0) \
237 macro(StorageBlockingPolicy, storageBlockingPolicy, UInt32, uint32_t, WebCore::SecurityOrigin::BlockThirdPartyStorage) \
240 #define FOR_EACH_WEBKIT_DEBUG_BOOL_PREFERENCE(macro) \
241 macro(CompositingBordersVisible, compositingBordersVisible, Bool, bool, false) \
242 macro(CompositingRepaintCountersVisible, compositingRepaintCountersVisible, Bool, bool, false) \
243 macro(TiledScrollingIndicatorVisible, tiledScrollingIndicatorVisible, Bool, bool, false) \
244 macro(LogsPageMessagesToSystemConsoleEnabled, logsPageMessagesToSystemConsoleEnabled, Bool, bool, false) \
258 #define FOR_EACH_WEBKIT_FONT_FAMILY_PREFERENCE(macro) \
259 macro(StandardFontFamily, standardFontFamily, String, String, "Times") \
260 macro(CursiveFontFamily, cursiveFontFamily, String, String, DEFAULT_CURSIVE_FONT_FAMILY) \
261 macro(FantasyFontFamily, fantasyFontFamily, String, String, "Papyrus") \
262 macro(FixedFontFamily, fixedFontFamily, String, String, "Courier") \
263 macro(SansSerifFontFamily, sansSerifFontFamily, String, String, "Helvetica") \
264 macro(SerifFontFamily, serifFontFamily, String, String, "Times") \
265 macro(PictographFontFamily, pictographFontFamily, String, String, "Apple Color Emoji") \
270 #define FOR_EACH_WEBKIT_FONT_FAMILY_PREFERENCE(macro) \
271 macro(StandardFontFamily, standardFontFamily, String, String, "Times") \
272 macro(CursiveFontFamily, cursiveFontFamily, String, String, "Comic Sans MS") \
273 macro(FantasyFontFamily, fantasyFontFamily, String, String, "Impact") \
274 macro(FixedFontFamily, fixedFontFamily, String, String, "Courier New") \
275 macro(SansSerifFontFamily, sansSerifFontFamily, String, String, "Helvetica") \
276 macro(SerifFontFamily, serifFontFamily, String, String, "Times") \
277 macro(PictographFontFamily, pictographFontFamily, String, String, "Times") \
282 #define FOR_EACH_WEBKIT_STRING_PREFERENCE(macro) \
283 FOR_EACH_WEBKIT_FONT_FAMILY_PREFERENCE(macro) \
284 macro(DefaultTextEncodingName, defaultTextEncodingName, String, String, defaultTextEncodingNameForSystemLanguage()) \
285 macro(FTPDirectoryTemplatePath, ftpDirectoryTemplatePath, String, String, "") \
288 #define FOR_EACH_WEBKIT_STRING_PREFERENCE_NOT_IN_WEBCORE(macro) \
289 macro(InspectorWindowFrame, inspectorWindowFrame, String, String, "") \
292 #define FOR_EACH_WEBKIT_DEBUG_PREFERENCE(macro) \
293 FOR_EACH_WEBKIT_DEBUG_BOOL_PREFERENCE(macro) \
296 #define FOR_EACH_WEBKIT_PREFERENCE(macro) \
297 FOR_EACH_WEBKIT_BOOL_PREFERENCE(macro) \
298 FOR_EACH_WEBKIT_DOUBLE_PREFERENCE(macro) \
299 FOR_EACH_WEBKIT_UINT32_PREFERENCE(macro) \
300 FOR_EACH_WEBKIT_STRING_PREFERENCE(macro) \
301 FOR_EACH_WEBKIT_STRING_PREFERENCE_NOT_IN_WEBCORE(macro) \