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

Unified Diff: chrome/test/ppapi/ppapi_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
Index: chrome/test/ppapi/ppapi_test.cc
diff --git a/chrome/test/ppapi/ppapi_test.cc b/chrome/test/ppapi/ppapi_test.cc
index 250c0bc535ca6235b0f13f32e9349f83cd1b56b6..8d8906e238c1911b9e45ff34b6cbcbb4f64156af 100644
--- a/chrome/test/ppapi/ppapi_test.cc
+++ b/chrome/test/ppapi/ppapi_test.cc
@@ -37,6 +37,7 @@
#include "net/test/spawned_test_server/spawned_test_server.h"
#include "net/test/test_data_directory.h"
#include "ppapi/shared_impl/ppapi_switches.h"
+#include "ui/events/event_switches.h"
#include "ui/gl/gl_switches.h"
using content::RenderViewHost;
@@ -143,6 +144,9 @@ void PPAPITestBase::SetUpCommandLine(base::CommandLine* command_line) {
// Smooth scrolling confuses the scrollbar test.
command_line->AppendSwitch(switches::kDisableSmoothScrolling);
+
+ // Enable touch events api.
+ command_line->AppendSwitch(switches::kTouchEvents);
}
void PPAPITestBase::SetUpOnMainThread() {

Powered by Google App Engine
This is Rietveld 408576698