Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(1263)

Unified Diff: Source/core/page/Settings.h

Issue 75823002: Add Blink-side flag for enabling/disabling layer squashing. (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: rebased Created 7 years, 1 month ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « no previous file | Source/core/page/Settings.cpp » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: Source/core/page/Settings.h
diff --git a/Source/core/page/Settings.h b/Source/core/page/Settings.h
index 859439e09cd5dca6fbdd9861e2dd0b755e5e10fe..59a2addbdc9b836c54e2ea57ed22408c22400d65 100644
--- a/Source/core/page/Settings.h
+++ b/Source/core/page/Settings.h
@@ -165,6 +165,11 @@ public:
void setCompositorDrivenAcceleratedScrollingEnabled(bool enabled) { m_compositorDrivenAcceleratedScrollingEnabled = enabled; }
bool isCompositorDrivenAcceleratedScrollingEnabled() const { return m_compositorDrivenAcceleratedScrollingEnabled; }
+ // FIXME: This is a temporary flag and should be removed when squashing is ready.
+ // (crbug.com/261605)
+ void setLayerSquashingEnabled(bool enabled) { m_layerSquashingEnabled = enabled; }
+ bool isLayerSquashingEnabled() const { return m_layerSquashingEnabled; }
+
private:
explicit Settings(Page*);
@@ -203,6 +208,9 @@ private:
// overflow scroll is ready (crbug.com/254111).
bool m_compositorDrivenAcceleratedScrollingEnabled : 1;
+ // FIXME: This is a temporary flag and should be removed when squashing is ready.
+ bool m_layerSquashingEnabled : 1;
+
Timer<Settings> m_setImageLoadingSettingsTimer;
void imageLoadingSettingsTimerFired(Timer<Settings>*);
void recalculateTextAutosizingMultipliers();
« no previous file with comments | « no previous file | Source/core/page/Settings.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698