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

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

Issue 10790066: Enable gesture events handling on Android. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Added remaining flags and removed unnecessary comments Created 8 years, 5 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 6fd3cad44dd0212d4c589274ce2b91841b7dca8d..e5f438da87c401b387e0422a537d1a0e9dd6c8a9 100644
--- a/content/public/common/content_switches.cc
+++ b/content/public/common/content_switches.cc
@@ -235,6 +235,9 @@ const char kDomAutomationController[] = "dom-automation";
// Enable hardware accelerated page painting.
const char kEnableAcceleratedPainting[] = "enable-accelerated-painting";
+// Enables the hardware acceleration of plugins.
+const char kEnableAcceleratedPlugins[] = "enable-accelerated-plugins";
+
// Enable gpu-accelerated SVG/W3C filters.
const char kEnableAcceleratedFilters[] = "enable-accelerated-filters";
@@ -637,6 +640,15 @@ const char kZygoteProcess[] = "zygote";
// Enables moving cursor by word in visual order.
const char kEnableVisualWordMovement[] = "enable-visual-word-movement";
+#if defined(OS_ANDROID)
+// Omnibus flag setting an Android graphics mode. May be:
+// "basic" (untiled software path)
+// "compositor" (hardware-accelerated compositing),
+const char kGraphicsMode[] = "graphics-mode";
+const char kGraphicsModeValueBasic[] = "basic";
+const char kGraphicsModeValueCompositor[] = "compositor";
+#endif
+
#if defined(OS_POSIX) && !defined(OS_MACOSX)
// Specify the amount the trackpad should scroll by.
const char kScrollPixels[] = "scroll-pixels";
« content/public/common/content_switches.h ('K') | « content/public/common/content_switches.h ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698