OLD | NEW |
1 /* | 1 /* |
2 * Copyright (C) 2003, 2006, 2007, 2008 Apple Inc. All rights reserved. | 2 * Copyright (C) 2003, 2006, 2007, 2008 Apple Inc. All rights reserved. |
3 * (C) 2006 Graham Dennis (graham.dennis@gmail.com) | 3 * (C) 2006 Graham Dennis (graham.dennis@gmail.com) |
4 * | 4 * |
5 * Redistribution and use in source and binary forms, with or without | 5 * Redistribution and use in source and binary forms, with or without |
6 * modification, are permitted provided that the following conditions | 6 * modification, are permitted provided that the following conditions |
7 * are met: | 7 * are met: |
8 * 1. Redistributions of source code must retain the above copyright | 8 * 1. Redistributions of source code must retain the above copyright |
9 * notice, this list of conditions and the following disclaimer. | 9 * notice, this list of conditions and the following disclaimer. |
10 * 2. Redistributions in binary form must reproduce the above copyright | 10 * 2. Redistributions in binary form must reproduce the above copyright |
(...skipping 196 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
207 | 207 |
208 #if USE(SAFARI_THEME) | 208 #if USE(SAFARI_THEME) |
209 // Windows debugging pref (global) for switching between the Aqua look a
nd a native windows look. | 209 // Windows debugging pref (global) for switching between the Aqua look a
nd a native windows look. |
210 static void setShouldPaintNativeControls(bool); | 210 static void setShouldPaintNativeControls(bool); |
211 static bool shouldPaintNativeControls() { return gShouldPaintNativeContr
ols; } | 211 static bool shouldPaintNativeControls() { return gShouldPaintNativeContr
ols; } |
212 #endif | 212 #endif |
213 | 213 |
214 void setAllowScriptsToCloseWindows(bool); | 214 void setAllowScriptsToCloseWindows(bool); |
215 bool allowScriptsToCloseWindows() const { return m_allowScriptsToCloseWi
ndows; } | 215 bool allowScriptsToCloseWindows() const { return m_allowScriptsToCloseWi
ndows; } |
216 | 216 |
| 217 void setRemoteFontEnabled(bool); |
| 218 bool remoteFontEnabled() const { return m_remoteFontEnabled; } |
| 219 |
217 private: | 220 private: |
218 Page* m_page; | 221 Page* m_page; |
219 | 222 |
220 String m_defaultTextEncodingName; | 223 String m_defaultTextEncodingName; |
221 String m_ftpDirectoryTemplatePath; | 224 String m_ftpDirectoryTemplatePath; |
222 String m_localStorageDatabasePath; | 225 String m_localStorageDatabasePath; |
223 KURL m_userStyleSheetLocation; | 226 KURL m_userStyleSheetLocation; |
224 AtomicString m_standardFontFamily; | 227 AtomicString m_standardFontFamily; |
225 AtomicString m_fixedFontFamily; | 228 AtomicString m_fixedFontFamily; |
226 AtomicString m_serifFontFamily; | 229 AtomicString m_serifFontFamily; |
(...skipping 36 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
263 unsigned m_fontRenderingMode : 1; | 266 unsigned m_fontRenderingMode : 1; |
264 bool m_webArchiveDebugModeEnabled : 1; | 267 bool m_webArchiveDebugModeEnabled : 1; |
265 bool m_inApplicationChromeMode : 1; | 268 bool m_inApplicationChromeMode : 1; |
266 bool m_offlineWebApplicationCacheEnabled : 1; | 269 bool m_offlineWebApplicationCacheEnabled : 1; |
267 bool m_shouldPaintCustomScrollbars : 1; | 270 bool m_shouldPaintCustomScrollbars : 1; |
268 bool m_zoomsTextOnly : 1; | 271 bool m_zoomsTextOnly : 1; |
269 bool m_enforceCSSMIMETypeInStrictMode : 1; | 272 bool m_enforceCSSMIMETypeInStrictMode : 1; |
270 bool m_usesEncodingDetector : 1; | 273 bool m_usesEncodingDetector : 1; |
271 size_t m_maximumDecodedImageSize; | 274 size_t m_maximumDecodedImageSize; |
272 bool m_allowScriptsToCloseWindows : 1; | 275 bool m_allowScriptsToCloseWindows : 1; |
| 276 bool m_remoteFontEnabled : 1; |
273 | 277 |
274 #if USE(SAFARI_THEME) | 278 #if USE(SAFARI_THEME) |
275 static bool gShouldPaintNativeControls; | 279 static bool gShouldPaintNativeControls; |
276 #endif | 280 #endif |
277 }; | 281 }; |
278 | 282 |
279 } // namespace WebCore | 283 } // namespace WebCore |
280 | 284 |
281 #endif // Settings_h | 285 #endif // Settings_h |
OLD | NEW |