OLD | NEW |
1 /* | 1 /* |
2 * Copyright (C) 2003, 2006, 2007, 2008, 2009 Apple Inc. All rights reserved. | 2 * Copyright (C) 2003, 2006, 2007, 2008, 2009 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 261 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
272 | 272 |
273 void setDownloadableBinaryFontsEnabled(bool); | 273 void setDownloadableBinaryFontsEnabled(bool); |
274 bool downloadableBinaryFontsEnabled() const { return m_downloadableBinar
yFontsEnabled; } | 274 bool downloadableBinaryFontsEnabled() const { return m_downloadableBinar
yFontsEnabled; } |
275 | 275 |
276 void setXSSAuditorEnabled(bool); | 276 void setXSSAuditorEnabled(bool); |
277 bool xssAuditorEnabled() const { return m_xssAuditorEnabled; } | 277 bool xssAuditorEnabled() const { return m_xssAuditorEnabled; } |
278 | 278 |
279 void setAcceleratedCompositingEnabled(bool); | 279 void setAcceleratedCompositingEnabled(bool); |
280 bool acceleratedCompositingEnabled() const { return m_acceleratedComposi
tingEnabled; } | 280 bool acceleratedCompositingEnabled() const { return m_acceleratedComposi
tingEnabled; } |
281 | 281 |
| 282 void setAcceleratedCompositingFor3DTransformsEnabled(bool); |
| 283 bool acceleratedCompositingFor3DTransformsEnabled() const { return m_acc
eleratedCompositingFor3DTransformsEnabled; } |
| 284 |
| 285 void setAcceleratedCompositingForVideoEnabled(bool); |
| 286 bool acceleratedCompositingForVideoEnabled() const { return m_accelerate
dCompositingForVideoEnabled; } |
| 287 |
| 288 void setAcceleratedCompositingForPluginsEnabled(bool); |
| 289 bool acceleratedCompositingForPluginsEnabled() const { return m_accelera
tedCompositingForPluginsEnabled; } |
| 290 |
| 291 void setAcceleratedCompositingForCanvasEnabled(bool); |
| 292 bool acceleratedCompositingForCanvasEnabled() const { return m_accelerat
edCompositingForCanvasEnabled; } |
| 293 |
| 294 void setAcceleratedCompositingForAnimationEnabled(bool); |
| 295 bool acceleratedCompositingForAnimationEnabled() const { return m_accele
ratedCompositingForAnimationEnabled; } |
| 296 |
282 void setShowDebugBorders(bool); | 297 void setShowDebugBorders(bool); |
283 bool showDebugBorders() const { return m_showDebugBorders; } | 298 bool showDebugBorders() const { return m_showDebugBorders; } |
284 | 299 |
285 void setShowRepaintCounter(bool); | 300 void setShowRepaintCounter(bool); |
286 bool showRepaintCounter() const { return m_showRepaintCounter; } | 301 bool showRepaintCounter() const { return m_showRepaintCounter; } |
287 | 302 |
288 void setExperimentalNotificationsEnabled(bool); | 303 void setExperimentalNotificationsEnabled(bool); |
289 bool experimentalNotificationsEnabled() const { return m_experimentalNot
ificationsEnabled; } | 304 bool experimentalNotificationsEnabled() const { return m_experimentalNot
ificationsEnabled; } |
290 | 305 |
291 #if PLATFORM(WIN) || (OS(WINDOWS) && PLATFORM(WX)) | 306 #if PLATFORM(WIN) || (OS(WINDOWS) && PLATFORM(WX)) |
(...skipping 107 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
399 bool m_localFileContentSniffingEnabled : 1; | 414 bool m_localFileContentSniffingEnabled : 1; |
400 bool m_inApplicationChromeMode : 1; | 415 bool m_inApplicationChromeMode : 1; |
401 bool m_offlineWebApplicationCacheEnabled : 1; | 416 bool m_offlineWebApplicationCacheEnabled : 1; |
402 bool m_shouldPaintCustomScrollbars : 1; | 417 bool m_shouldPaintCustomScrollbars : 1; |
403 bool m_enforceCSSMIMETypeInNoQuirksMode : 1; | 418 bool m_enforceCSSMIMETypeInNoQuirksMode : 1; |
404 bool m_usesEncodingDetector : 1; | 419 bool m_usesEncodingDetector : 1; |
405 bool m_allowScriptsToCloseWindows : 1; | 420 bool m_allowScriptsToCloseWindows : 1; |
406 bool m_downloadableBinaryFontsEnabled : 1; | 421 bool m_downloadableBinaryFontsEnabled : 1; |
407 bool m_xssAuditorEnabled : 1; | 422 bool m_xssAuditorEnabled : 1; |
408 bool m_acceleratedCompositingEnabled : 1; | 423 bool m_acceleratedCompositingEnabled : 1; |
| 424 bool m_acceleratedCompositingFor3DTransformsEnabled : 1; |
| 425 bool m_acceleratedCompositingForVideoEnabled : 1; |
| 426 bool m_acceleratedCompositingForPluginsEnabled : 1; |
| 427 bool m_acceleratedCompositingForCanvasEnabled : 1; |
| 428 bool m_acceleratedCompositingForAnimationEnabled : 1; |
409 bool m_showDebugBorders : 1; | 429 bool m_showDebugBorders : 1; |
410 bool m_showRepaintCounter : 1; | 430 bool m_showRepaintCounter : 1; |
411 bool m_experimentalNotificationsEnabled : 1; | 431 bool m_experimentalNotificationsEnabled : 1; |
412 bool m_webGLEnabled : 1; | 432 bool m_webGLEnabled : 1; |
413 bool m_acceleratedCanvas2dEnabled : 1; | 433 bool m_acceleratedCanvas2dEnabled : 1; |
414 bool m_loadDeferringEnabled : 1; | 434 bool m_loadDeferringEnabled : 1; |
415 bool m_tiledBackingStoreEnabled : 1; | 435 bool m_tiledBackingStoreEnabled : 1; |
416 bool m_paginateDuringLayoutEnabled : 1; | 436 bool m_paginateDuringLayoutEnabled : 1; |
417 bool m_dnsPrefetchingEnabled : 1; | 437 bool m_dnsPrefetchingEnabled : 1; |
418 #if ENABLE(FULLSCREEN_API) | 438 #if ENABLE(FULLSCREEN_API) |
419 bool m_fullScreenAPIEnabled : 1; | 439 bool m_fullScreenAPIEnabled : 1; |
420 #endif | 440 #endif |
421 bool m_memoryInfoEnabled: 1; | 441 bool m_memoryInfoEnabled: 1; |
422 bool m_interactiveFormValidation: 1; | 442 bool m_interactiveFormValidation: 1; |
423 bool m_usePreHTML5ParserQuirks: 1; | 443 bool m_usePreHTML5ParserQuirks: 1; |
424 bool m_hyperlinkAuditingEnabled : 1; | 444 bool m_hyperlinkAuditingEnabled : 1; |
425 bool m_crossOriginCheckInGetMatchedCSSRulesDisabled : 1; | 445 bool m_crossOriginCheckInGetMatchedCSSRulesDisabled : 1; |
426 | 446 |
427 #if USE(SAFARI_THEME) | 447 #if USE(SAFARI_THEME) |
428 static bool gShouldPaintNativeControls; | 448 static bool gShouldPaintNativeControls; |
429 #endif | 449 #endif |
430 #if PLATFORM(WIN) || (OS(WINDOWS) && PLATFORM(WX)) | 450 #if PLATFORM(WIN) || (OS(WINDOWS) && PLATFORM(WX)) |
431 static bool gShouldUseHighResolutionTimers; | 451 static bool gShouldUseHighResolutionTimers; |
432 #endif | 452 #endif |
433 }; | 453 }; |
434 | 454 |
435 } // namespace WebCore | 455 } // namespace WebCore |
436 | 456 |
437 #endif // Settings_h | 457 #endif // Settings_h |
OLD | NEW |