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

Unified Diff: content/public/common/content_switches.cc

Issue 10825192: Add debugging flag --simulate-touch-screen-with-mouse. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Created 8 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
Index: content/public/common/content_switches.cc
diff --git a/content/public/common/content_switches.cc b/content/public/common/content_switches.cc
index 938f64b50519927532040703707ba5697834b725..50647750f8362fe563591a203a58feb59681f80b 100644
--- a/content/public/common/content_switches.cc
+++ b/content/public/common/content_switches.cc
@@ -565,6 +565,11 @@ const char kShowFPSCounter[] = "show-fps-counter";
// and study painting behavior.
const char kShowPaintRects[] = "show-paint-rects";
+// Map mouse input events into touch gesture events. Useful for debugging touch
+// gestures without needing a touchscreen.
+const char kSimulateTouchScreenWithMouse[] =
+ "simulate-touch-screen-with-mouse";
+
// Runs the renderer and plugins in the same process as the browser
const char kSingleProcess[] = "single-process";

Powered by Google App Engine
This is Rietveld 408576698