Home | History | Annotate | Download | only in Shared

Lines Matching refs:macro

37 // macro(KeyUpper, KeyLower, TypeNameUpper, TypeName, DefaultValue) 
39 #define FOR_EACH_WEBKIT_BOOL_PREFERENCE(macro) \
40 macro(JavaScriptEnabled, javaScriptEnabled, Bool, bool, true) \
41 macro(LoadsImagesAutomatically, loadsImagesAutomatically, Bool, bool, true) \
42 macro(LoadsSiteIconsIgnoringImageLoadingPreference, loadsSiteIconsIgnoringImageLoadingPreference, Bool, bool, false) \
43 macro(PluginsEnabled, pluginsEnabled, Bool, bool, true) \
44 macro(JavaEnabled, javaEnabled, Bool, bool, true) \
45 macro(OfflineWebApplicationCacheEnabled, offlineWebApplicationCacheEnabled, Bool, bool, false) \
46 macro(LocalStorageEnabled, localStorageEnabled, Bool, bool, true) \
47 macro(DatabasesEnabled, databasesEnabled, Bool, bool, true) \
48 macro(XSSAuditorEnabled, xssAuditorEnabled, Bool, bool, true) \
49 macro(FrameFlatteningEnabled, frameFlatteningEnabled, Bool, bool, false) \
50 macro(DeveloperExtrasEnabled, developerExtrasEnabled, Bool, bool, false) \
51 macro(PrivateBrowsingEnabled, privateBrowsingEnabled, Bool, bool, false) \
52 macro(TextAreasAreResizable, textAreasAreResizable, Bool, bool, true) \
53 macro(JavaScriptCanOpenWindowsAutomatically, javaScriptCanOpenWindowsAutomatically, Bool, bool, true) \
54 macro(HyperlinkAuditingEnabled, hyperlinkAuditingEnabled, Bool, bool, true) \
55 macro(NeedsSiteSpecificQuirks, needsSiteSpecificQuirks, Bool, bool, false) \
56 macro(AcceleratedCompositingEnabled, acceleratedCompositingEnabled, Bool, bool, true) \
57 macro(AcceleratedDrawingEnabled, acceleratedDrawingEnabled, Bool, bool, false) \
58 macro(CanvasUsesAcceleratedDrawing, canvasUsesAcceleratedDrawing, Bool, bool, true) \
59 macro(CompositingBordersVisible, compositingBordersVisible, Bool, bool, false) \
60 macro(CompositingRepaintCountersVisible, compositingRepaintCountersVisible, Bool, bool, false) \
61 macro(WebGLEnabled, webGLEnabled, Bool, bool, false) \
62 macro(ForceFTPDirectoryListings, forceFTPDirectoryListings, Bool, bool, false) \
63 macro(TabsToLinks, tabsToLinks, Bool, bool, false) \
64 macro(DNSPrefetchingEnabled, dnsPrefetchingEnabled, Bool, bool, false) \
65 macro(WebArchiveDebugModeEnabled, webArchiveDebugModeEnabled, Bool, bool, false) \
66 macro(LocalFileContentSniffingEnabled, localFileContentSniffingEnabled, Bool, bool, false) \
67 macro(UsesPageCache, usesPageCache, Bool, bool, true) \
68 macro(AuthorAndUserStylesEnabled, authorAndUserStylesEnabled, Bool, bool, true) \
69 macro(PaginateDuringLayoutEnabled, paginateDuringLayoutEnabled, Bool, bool, false) \
70 macro(DOMPasteAllowed, domPasteAllowed, Bool, bool, false) \
71 macro(JavaScriptCanAccessClipboard, javaScriptCanAccessClipboard, Bool, bool, false) \
72 macro(ShouldPrintBackgrounds, shouldPrintBackgrounds, Bool, bool, false) \
73 macro(FullScreenEnabled, fullScreenEnabled, Bool, bool, true) \
74 macro(WebSecurityEnabled, webSecurityEnabled, Bool, bool, true) \
75 macro(AllowUniversalAccessFromFileURLs, allowUniversalAccessFromFileURLs, Bool, bool, false) \
76 macro(AllowFileAccessFromFileURLs, allowFileAccessFromFileURLs, Bool, bool, false) \
79 #define FOR_EACH_WEBKIT_DOUBLE_PREFERENCE(macro) \
80 macro(PDFScaleFactor, pdfScaleFactor, Double, double, 0) \
83 #define FOR_EACH_WEBKIT_UINT32_PREFERENCE(macro) \
84 macro(FontSmoothingLevel, fontSmoothingLevel, UInt32, uint32_t, FontSmoothingLevelMedium) \
85 macro(MinimumFontSize, minimumFontSize, UInt32, uint32_t, 0) \
86 macro(MinimumLogicalFontSize, minimumLogicalFontSize, UInt32, uint32_t, 9) \
87 macro(DefaultFontSize, defaultFontSize, UInt32, uint32_t, 16) \
88 macro(DefaultFixedFontSize, defaultFixedFontSize, UInt32, uint32_t, 13) \
89 macro(PDFDisplayMode, pdfDisplayMode, UInt32, uint32_t, 1) \
90 macro(EditableLinkBehavior, editableLinkBehavior, UInt32, uint32_t, WebCore::EditableLinkNeverLive) \
95 #define FOR_EACH_WEBKIT_FONT_FAMILY_PREFERENCE(macro) \
96 macro(StandardFontFamily, standardFontFamily, String, String, "Times New Roman") \
97 macro(CursiveFontFamily, cursiveFontFamily, String, String, "Comic Sans MS") \
98 macro(FantasyFontFamily, fantasyFontFamily, String, String, "Comic Sans MS") \
99 macro(FixedFontFamily, fixedFontFamily, String, String, "Courier New") \
100 macro(SansSerifFontFamily, sansSerifFontFamily, String, String, "Arial") \
101 macro(SerifFontFamily, serifFontFamily, String, String, "Times New Roman") \
106 #define FOR_EACH_WEBKIT_FONT_FAMILY_PREFERENCE(macro) \
107 macro(StandardFontFamily, standardFontFamily, String, String, "Times") \
108 macro(CursiveFontFamily, cursiveFontFamily, String, String, "Apple Chancery") \
109 macro(FantasyFontFamily, fantasyFontFamily, String, String, "Papyrus") \
110 macro(FixedFontFamily, fixedFontFamily, String, String, "Courier") \
111 macro(SansSerifFontFamily, sansSerifFontFamily, String, String, "Helvetica") \
112 macro(SerifFontFamily, serifFontFamily, String, String, "Times") \
117 #define FOR_EACH_WEBKIT_FONT_FAMILY_PREFERENCE(macro) \
118 macro(StandardFontFamily, standardFontFamily, String, String, "Times") \
119 macro(CursiveFontFamily, cursiveFontFamily, String, String, "Comic Sans MS") \
120 macro(FantasyFontFamily, fantasyFontFamily, String, String, "Impact") \
121 macro(FixedFontFamily, fixedFontFamily, String, String, "Courier New") \
122 macro(SansSerifFontFamily, sansSerifFontFamily, String, String, "Helvetica") \
123 macro(SerifFontFamily, serifFontFamily, String, String, "Times") \
128 #define FOR_EACH_WEBKIT_STRING_PREFERENCE(macro) \
129 FOR_EACH_WEBKIT_FONT_FAMILY_PREFERENCE(macro) \
130 macro(DefaultTextEncodingName, defaultTextEncodingName, String, String, "ISO-8859-1") \
131 macro(FTPDirectoryTemplatePath, ftpDirectoryTemplatePath, String, String, "") \
135 #define FOR_EACH_WEBKIT_PREFERENCE(macro) \
136 FOR_EACH_WEBKIT_BOOL_PREFERENCE(macro) \
137 FOR_EACH_WEBKIT_DOUBLE_PREFERENCE(macro) \
138 FOR_EACH_WEBKIT_UINT32_PREFERENCE(macro) \
139 FOR_EACH_WEBKIT_STRING_PREFERENCE(macro) \