OLD | NEW |
1 /* | 1 /* |
2 * Copyright (C) 2003, 2006, 2007, 2008, 2009, 2011 Apple Inc. All rights reserv
ed. | 2 * Copyright (C) 2003, 2006, 2007, 2008, 2009, 2011 Apple Inc. All rights reserv
ed. |
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 301 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
312 | 312 |
313 void setAcceleratedCompositingForPluginsEnabled(bool); | 313 void setAcceleratedCompositingForPluginsEnabled(bool); |
314 bool acceleratedCompositingForPluginsEnabled() const { return m_accelera
tedCompositingForPluginsEnabled; } | 314 bool acceleratedCompositingForPluginsEnabled() const { return m_accelera
tedCompositingForPluginsEnabled; } |
315 | 315 |
316 void setAcceleratedCompositingForCanvasEnabled(bool); | 316 void setAcceleratedCompositingForCanvasEnabled(bool); |
317 bool acceleratedCompositingForCanvasEnabled() const { return m_accelerat
edCompositingForCanvasEnabled; } | 317 bool acceleratedCompositingForCanvasEnabled() const { return m_accelerat
edCompositingForCanvasEnabled; } |
318 | 318 |
319 void setAcceleratedCompositingForAnimationEnabled(bool); | 319 void setAcceleratedCompositingForAnimationEnabled(bool); |
320 bool acceleratedCompositingForAnimationEnabled() const { return m_accele
ratedCompositingForAnimationEnabled; } | 320 bool acceleratedCompositingForAnimationEnabled() const { return m_accele
ratedCompositingForAnimationEnabled; } |
321 | 321 |
| 322 void setAcceleratedCompositingForScrollableFramesEnabled(bool enabled) {
m_acceleratedCompositingForScrollableFramesEnabled = enabled; } |
| 323 bool acceleratedCompositingForScrollableFramesEnabled() const { return m
_acceleratedCompositingForScrollableFramesEnabled; } |
| 324 |
322 void setShowDebugBorders(bool); | 325 void setShowDebugBorders(bool); |
323 bool showDebugBorders() const { return m_showDebugBorders; } | 326 bool showDebugBorders() const { return m_showDebugBorders; } |
324 | 327 |
325 void setShowRepaintCounter(bool); | 328 void setShowRepaintCounter(bool); |
326 bool showRepaintCounter() const { return m_showRepaintCounter; } | 329 bool showRepaintCounter() const { return m_showRepaintCounter; } |
327 | 330 |
328 void setExperimentalNotificationsEnabled(bool); | 331 void setExperimentalNotificationsEnabled(bool); |
329 bool experimentalNotificationsEnabled() const { return m_experimentalNot
ificationsEnabled; } | 332 bool experimentalNotificationsEnabled() const { return m_experimentalNot
ificationsEnabled; } |
330 | 333 |
331 #if PLATFORM(WIN) || (OS(WINDOWS) && PLATFORM(WX)) | 334 #if PLATFORM(WIN) || (OS(WINDOWS) && PLATFORM(WX)) |
(...skipping 213 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
545 bool m_canvasUsesAcceleratedDrawing : 1; | 548 bool m_canvasUsesAcceleratedDrawing : 1; |
546 bool m_acceleratedDrawingEnabled : 1; | 549 bool m_acceleratedDrawingEnabled : 1; |
547 bool m_downloadableBinaryFontsEnabled : 1; | 550 bool m_downloadableBinaryFontsEnabled : 1; |
548 bool m_xssAuditorEnabled : 1; | 551 bool m_xssAuditorEnabled : 1; |
549 bool m_acceleratedCompositingEnabled : 1; | 552 bool m_acceleratedCompositingEnabled : 1; |
550 bool m_acceleratedCompositingFor3DTransformsEnabled : 1; | 553 bool m_acceleratedCompositingFor3DTransformsEnabled : 1; |
551 bool m_acceleratedCompositingForVideoEnabled : 1; | 554 bool m_acceleratedCompositingForVideoEnabled : 1; |
552 bool m_acceleratedCompositingForPluginsEnabled : 1; | 555 bool m_acceleratedCompositingForPluginsEnabled : 1; |
553 bool m_acceleratedCompositingForCanvasEnabled : 1; | 556 bool m_acceleratedCompositingForCanvasEnabled : 1; |
554 bool m_acceleratedCompositingForAnimationEnabled : 1; | 557 bool m_acceleratedCompositingForAnimationEnabled : 1; |
| 558 bool m_acceleratedCompositingForScrollableFramesEnabled : 1; // Works on
ly in conjunction with forceCompositingMode |
555 bool m_showDebugBorders : 1; | 559 bool m_showDebugBorders : 1; |
556 bool m_showRepaintCounter : 1; | 560 bool m_showRepaintCounter : 1; |
557 bool m_experimentalNotificationsEnabled : 1; | 561 bool m_experimentalNotificationsEnabled : 1; |
558 bool m_webGLEnabled : 1; | 562 bool m_webGLEnabled : 1; |
559 bool m_openGLMultisamplingEnabled : 1; | 563 bool m_openGLMultisamplingEnabled : 1; |
560 bool m_webAudioEnabled : 1; | 564 bool m_webAudioEnabled : 1; |
561 bool m_acceleratedCanvas2dEnabled : 1; | 565 bool m_acceleratedCanvas2dEnabled : 1; |
562 bool m_legacyAcceleratedCanvas2dEnabled : 1; | 566 bool m_legacyAcceleratedCanvas2dEnabled : 1; |
563 bool m_loadDeferringEnabled : 1; | 567 bool m_loadDeferringEnabled : 1; |
564 bool m_tiledBackingStoreEnabled : 1; | 568 bool m_tiledBackingStoreEnabled : 1; |
(...skipping 35 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
600 static bool gShouldPaintNativeControls; | 604 static bool gShouldPaintNativeControls; |
601 #endif | 605 #endif |
602 #if PLATFORM(WIN) || (OS(WINDOWS) && PLATFORM(WX)) | 606 #if PLATFORM(WIN) || (OS(WINDOWS) && PLATFORM(WX)) |
603 static bool gShouldUseHighResolutionTimers; | 607 static bool gShouldUseHighResolutionTimers; |
604 #endif | 608 #endif |
605 }; | 609 }; |
606 | 610 |
607 } // namespace WebCore | 611 } // namespace WebCore |
608 | 612 |
609 #endif // Settings_h | 613 #endif // Settings_h |
OLD | NEW |