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

Unified Diff: Source/core/testing/InternalSettings.cpp

Issue 22747002: setViewportEnabled on InternalSettings (Closed) Base URL: https://chromium.googlesource.com/chromium/blink.git@master
Patch Set: Mac compile issue: removed unused member variable Created 7 years, 4 months 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/testing/InternalSettings.h ('k') | Source/core/testing/InternalSettings.idl » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: Source/core/testing/InternalSettings.cpp
diff --git a/Source/core/testing/InternalSettings.cpp b/Source/core/testing/InternalSettings.cpp
index 29e34ec43d4acea605ea4161b3a9e3c11a05d941..768a0658a4a6860bbd55272d36e1a021ffce9cdf 100644
--- a/Source/core/testing/InternalSettings.cpp
+++ b/Source/core/testing/InternalSettings.cpp
@@ -182,6 +182,12 @@ void InternalSettings::setTouchEventEmulationEnabled(bool enabled, ExceptionStat
settings()->setTouchEventEmulationEnabled(enabled);
}
+void InternalSettings::setViewportEnabled(bool enabled, ExceptionState& es)
+{
+ InternalSettingsGuardForSettings();
+ settings()->setViewportEnabled(enabled);
+}
+
// FIXME: This is a temporary flag and should be removed once accelerated
// overflow scroll is ready (crbug.com/254111).
void InternalSettings::setCompositorDrivenAcceleratedScrollingEnabled(bool enabled, ExceptionState& es)
« no previous file with comments | « Source/core/testing/InternalSettings.h ('k') | Source/core/testing/InternalSettings.idl » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698