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

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: Nit 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
« no previous file with comments | « content/browser/renderer_host/render_view_host_impl.cc ('k') | tools/metrics/histograms/histograms.xml » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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);
sadrul 2016/11/30 20:53:13 This affects all tests. Are you sure you want to s
SetUpCommandLine(command_line);
« no previous file with comments | « content/browser/renderer_host/render_view_host_impl.cc ('k') | tools/metrics/histograms/histograms.xml » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698