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

Unified Diff: content/browser/renderer_host/input/non_blocking_event_browsertest.cc

Issue 2050033002: Revert of Remove enable/disable wheel gestures setting. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@can_scroll_remove
Patch Set: Created 4 years, 6 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
Index: content/browser/renderer_host/input/non_blocking_event_browsertest.cc
diff --git a/content/browser/renderer_host/input/non_blocking_event_browsertest.cc b/content/browser/renderer_host/input/non_blocking_event_browsertest.cc
index a314ccb9bf855ebc84fd9a8591b1602489a93c70..87139601ed366a3af0e48708d99d09c1cf531b9c 100644
--- a/content/browser/renderer_host/input/non_blocking_event_browsertest.cc
+++ b/content/browser/renderer_host/input/non_blocking_event_browsertest.cc
@@ -109,6 +109,13 @@
main_thread_sync.Wait();
}
+ // ContentBrowserTest:
+ void SetUpCommandLine(base::CommandLine* cmd) override {
+ // TODO(dtapuska): Remove this switch once wheel-gestures ships.
+ cmd->AppendSwitch(switches::kEnableExperimentalWebPlatformFeatures);
+ cmd->AppendSwitch(switches::kEnableWheelGestures);
+ }
+
int ExecuteScriptAndExtractInt(const std::string& script) {
int value = 0;
EXPECT_TRUE(content::ExecuteScriptAndExtractInt(

Powered by Google App Engine
This is Rietveld 408576698