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

Unified Diff: Source/core/testing/InternalSettings.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 | « Source/core/rendering/RenderLayerCompositor.cpp ('k') | Source/core/testing/InternalSettings.cpp » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: Source/core/testing/InternalSettings.h
diff --git a/Source/core/testing/InternalSettings.h b/Source/core/testing/InternalSettings.h
index ec312063d38e1786c15004eb0352da4dae130cb9..cc064baa413be3ef6432f977862750ff77d39ac1 100644
--- a/Source/core/testing/InternalSettings.h
+++ b/Source/core/testing/InternalSettings.h
@@ -67,6 +67,7 @@ public:
bool m_shouldDisplayTextDescriptions;
String m_defaultVideoPosterURL;
bool m_originalCompositorDrivenAcceleratedScrollEnabled;
+ bool m_originalLayerSquashingEnabled;
bool m_originalPasswordGenerationDecorationEnabled;
};
@@ -104,6 +105,10 @@ public:
// overflow scroll is ready (crbug.com/254111).
void setCompositorDrivenAcceleratedScrollingEnabled(bool, ExceptionState&);
+ // FIXME: This is a temporary flag and should be removed once squashing is
+ // ready (crbug.com/261605).
+ void setLayerSquashingEnabled(bool, ExceptionState&);
+
// FIXME: The following are RuntimeEnabledFeatures and likely
// cannot be changed after process start. These setters should
// be removed or moved onto internals.runtimeFlags:
« no previous file with comments | « Source/core/rendering/RenderLayerCompositor.cpp ('k') | Source/core/testing/InternalSettings.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698