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

Unified Diff: content/public/test/content_browser_test.cc

Issue 2531413002: Reset the default value of touch event flag back to "Auto". (Closed)
Patch Set: Typo Created 4 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
Index: content/public/test/content_browser_test.cc
diff --git a/content/public/test/content_browser_test.cc b/content/public/test/content_browser_test.cc
index c8f358b034f584a76b823aefd0fc9c1a8e065e26..933f5148da37e88182f7e7ffacec364967c3869e 100644
--- a/content/public/test/content_browser_test.cc
+++ b/content/public/test/content_browser_test.cc
@@ -22,6 +22,7 @@
#include "content/shell/common/shell_switches.h"
#include "content/shell/renderer/layout_test/layout_test_content_renderer_client.h"
#include "content/test/test_content_client.h"
+#include "ui/events/event_switches.h"
#if defined(OS_ANDROID)
#include "content/shell/app/shell_main_delegate.h"
@@ -57,6 +58,7 @@ ContentBrowserTest::~ContentBrowserTest() {
void ContentBrowserTest::SetUp() {
base::CommandLine* command_line = base::CommandLine::ForCurrentProcess();
command_line->AppendSwitch(switches::kContentBrowserTest);
+ command_line->AppendSwitch(switches::kTouchEvents);
SetUpCommandLine(command_line);

Powered by Google App Engine
This is Rietveld 408576698