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

Side by Side 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: Nit fix to render_widget_host_view_android 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 unified diff | Download patch | Annotate | Revision Log
« no previous file with comments | « content/public/common/content_switches.h ('k') | no next file » | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
1 // Copyright (c) 2012 The Chromium Authors. All rights reserved. 1 // Copyright (c) 2012 The Chromium Authors. All rights reserved.
2 // Use of this source code is governed by a BSD-style license that can be 2 // Use of this source code is governed by a BSD-style license that can be
3 // found in the LICENSE file. 3 // found in the LICENSE file.
4 4
5 #include "content/public/common/content_switches.h" 5 #include "content/public/common/content_switches.h"
6 6
7 namespace switches { 7 namespace switches {
8 8
9 // By default, file:// URIs cannot read other file:// URIs. This is an 9 // By default, file:// URIs cannot read other file:// URIs. This is an
10 // override for developers who need the old behavior for testing. 10 // override for developers who need the old behavior for testing.
(...skipping 224 matching lines...) Expand 10 before | Expand all | Expand 10 after
235 // based tests. Also enables sending/receiving renderer automation messages 235 // based tests. Also enables sending/receiving renderer automation messages
236 // through the |AutomationRenderViewHelper|. 236 // through the |AutomationRenderViewHelper|.
237 // 237 //
238 // TODO(kkania): Rename this to enable-renderer-automation after moving the 238 // TODO(kkania): Rename this to enable-renderer-automation after moving the
239 // |DOMAutomationController| to the |AutomationRenderViewHelper|. 239 // |DOMAutomationController| to the |AutomationRenderViewHelper|.
240 const char kDomAutomationController[] = "dom-automation"; 240 const char kDomAutomationController[] = "dom-automation";
241 241
242 // Enable hardware accelerated page painting. 242 // Enable hardware accelerated page painting.
243 const char kEnableAcceleratedPainting[] = "enable-accelerated-painting"; 243 const char kEnableAcceleratedPainting[] = "enable-accelerated-painting";
244 244
245 // Enables the hardware acceleration of plugins.
246 const char kEnableAcceleratedPlugins[] = "enable-accelerated-plugins";
247
245 // Enable gpu-accelerated SVG/W3C filters. 248 // Enable gpu-accelerated SVG/W3C filters.
246 const char kEnableAcceleratedFilters[] = "enable-accelerated-filters"; 249 const char kEnableAcceleratedFilters[] = "enable-accelerated-filters";
247 250
248 // Turns on extremely verbose logging of accessibility events. 251 // Turns on extremely verbose logging of accessibility events.
249 const char kEnableAccessibilityLogging[] = "enable-accessibility-logging"; 252 const char kEnableAccessibilityLogging[] = "enable-accessibility-logging";
250 253
251 // Enables the creation of compositing layers for fixed position elements. 254 // Enables the creation of compositing layers for fixed position elements.
252 const char kEnableCompositingForFixedPosition[] = 255 const char kEnableCompositingForFixedPosition[] =
253 "enable-fixed-position-compositing"; 256 "enable-fixed-position-compositing";
254 257
(...skipping 386 matching lines...) Expand 10 before | Expand all | Expand 10 after
641 644
642 // Causes the process to run as a renderer zygote. 645 // Causes the process to run as a renderer zygote.
643 const char kZygoteProcess[] = "zygote"; 646 const char kZygoteProcess[] = "zygote";
644 647
645 // Enables moving cursor by word in visual order. 648 // Enables moving cursor by word in visual order.
646 const char kEnableVisualWordMovement[] = "enable-visual-word-movement"; 649 const char kEnableVisualWordMovement[] = "enable-visual-word-movement";
647 650
648 #if defined(OS_ANDROID) 651 #if defined(OS_ANDROID)
649 // Set when Chromium should use a mobile user agent. 652 // Set when Chromium should use a mobile user agent.
650 const char kUseMobileUserAgent[] = "use-mobile-user-agent"; 653 const char kUseMobileUserAgent[] = "use-mobile-user-agent";
654 // Omnibus flag setting an Android graphics mode. May be:
655 // "basic" (untiled software path)
656 // "compositor" (hardware-accelerated compositing),
657 const char kGraphicsMode[] = "graphics-mode";
658 const char kGraphicsModeValueBasic[] = "basic";
659 const char kGraphicsModeValueCompositor[] = "compositor";
651 #endif 660 #endif
652 661
653 #if defined(OS_POSIX) && !defined(OS_MACOSX) 662 #if defined(OS_POSIX) && !defined(OS_MACOSX)
654 // Specify the amount the trackpad should scroll by. 663 // Specify the amount the trackpad should scroll by.
655 const char kScrollPixels[] = "scroll-pixels"; 664 const char kScrollPixels[] = "scroll-pixels";
656 #endif 665 #endif
657 666
658 #if defined(OS_MACOSX) || defined(OS_WIN) 667 #if defined(OS_MACOSX) || defined(OS_WIN)
659 // Use the system SSL library (Secure Transport on Mac, SChannel on Windows) 668 // Use the system SSL library (Secure Transport on Mac, SChannel on Windows)
660 // instead of NSS for SSL. 669 // instead of NSS for SSL.
(...skipping 24 matching lines...) Expand all
685 // Sets the width and height above which a composited layer will get tiled. 694 // Sets the width and height above which a composited layer will get tiled.
686 const char kMaxUntiledLayerWidth[] = "max-untiled-layer-width"; 695 const char kMaxUntiledLayerWidth[] = "max-untiled-layer-width";
687 const char kMaxUntiledLayerHeight[] = "max-untiled-layer-height"; 696 const char kMaxUntiledLayerHeight[] = "max-untiled-layer-height";
688 697
689 const char kEnableFixedPositionCreatesStackingContext[] 698 const char kEnableFixedPositionCreatesStackingContext[]
690 = "enable-fixed-position-creates-stacking-context"; 699 = "enable-fixed-position-creates-stacking-context";
691 const char kDisableFixedPositionCreatesStackingContext[] 700 const char kDisableFixedPositionCreatesStackingContext[]
692 = "disable-fixed-position-creates-stacking-context"; 701 = "disable-fixed-position-creates-stacking-context";
693 702
694 } // namespace switches 703 } // namespace switches
OLDNEW
« no previous file with comments | « content/public/common/content_switches.h ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698