summaryrefslogtreecommitdiff
path: root/Source/WebCore/page/Settings.h
diff options
context:
space:
mode:
Diffstat (limited to 'Source/WebCore/page/Settings.h')
-rw-r--r--Source/WebCore/page/Settings.h17
1 files changed, 14 insertions, 3 deletions
diff --git a/Source/WebCore/page/Settings.h b/Source/WebCore/page/Settings.h
index 9681e27e0..6247f8564 100644
--- a/Source/WebCore/page/Settings.h
+++ b/Source/WebCore/page/Settings.h
@@ -337,6 +337,14 @@ namespace WebCore {
void setCSSCustomFilterEnabled(bool enabled) { m_isCSSCustomFilterEnabled = enabled; }
bool isCSSCustomFilterEnabled() const { return m_isCSSCustomFilterEnabled; }
+#if ENABLE(CSS_STICKY_POSITION)
+ void setCSSStickyPositionEnabled(bool enabled) { m_cssStickyPositionEnabled = enabled; }
+ bool cssStickyPositionEnabled() const { return m_cssStickyPositionEnabled; }
+#else
+ void setCSSStickyPositionEnabled(bool) { }
+ bool cssStickyPositionEnabled() const { return false; }
+#endif
+
#if ENABLE(CSS_REGIONS)
void setCSSRegionsEnabled(bool enabled) { m_cssRegionsEnabled = enabled; }
bool cssRegionsEnabled() const { return m_cssRegionsEnabled; }
@@ -602,7 +610,7 @@ namespace WebCore {
void setWindowFocusRestricted(bool restricted) { m_windowFocusRestricted = restricted; }
bool windowFocusRestricted() const { return m_windowFocusRestricted; }
- void setStorageBlockingPolicy(SecurityOrigin::StorageBlockingPolicy policy) { m_storageBlockingPolicy = policy; }
+ void setStorageBlockingPolicy(SecurityOrigin::StorageBlockingPolicy);
SecurityOrigin::StorageBlockingPolicy storageBlockingPolicy() const { return m_storageBlockingPolicy; }
void setScrollingPerformanceLoggingEnabled(bool);
@@ -711,6 +719,9 @@ namespace WebCore {
bool m_acceleratedDrawingEnabled : 1;
bool m_acceleratedFiltersEnabled : 1;
bool m_isCSSCustomFilterEnabled : 1;
+#if ENABLE(CSS_STICKY_POSITION)
+ bool m_cssStickyPositionEnabled : 1;
+#endif
#if ENABLE(CSS_REGIONS)
bool m_cssRegionsEnabled : 1;
#endif
@@ -800,8 +811,8 @@ namespace WebCore {
bool m_scrollingPerformanceLoggingEnabled : 1;
- Timer<Settings> m_loadsImagesAutomaticallyTimer;
- void loadsImagesAutomaticallyTimerFired(Timer<Settings>*);
+ Timer<Settings> m_setImageLoadingSettingsTimer;
+ void imageLoadingSettingsTimerFired(Timer<Settings>*);
double m_incrementalRenderingSuppressionTimeoutInSeconds;