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

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: 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 unified diff | Download patch | Annotate | Revision Log
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 217 matching lines...) Expand 10 before | Expand all | Expand 10 after
228 // based tests. Also enables sending/receiving renderer automation messages 228 // based tests. Also enables sending/receiving renderer automation messages
229 // through the |AutomationRenderViewHelper|. 229 // through the |AutomationRenderViewHelper|.
230 // 230 //
231 // TODO(kkania): Rename this to enable-renderer-automation after moving the 231 // TODO(kkania): Rename this to enable-renderer-automation after moving the
232 // |DOMAutomationController| to the |AutomationRenderViewHelper|. 232 // |DOMAutomationController| to the |AutomationRenderViewHelper|.
233 const char kDomAutomationController[] = "dom-automation"; 233 const char kDomAutomationController[] = "dom-automation";
234 234
235 // Enable hardware accelerated page painting. 235 // Enable hardware accelerated page painting.
236 const char kEnableAcceleratedPainting[] = "enable-accelerated-painting"; 236 const char kEnableAcceleratedPainting[] = "enable-accelerated-painting";
237 237
238 // Enables the hardware acceleration of plugins.
239 const char kEnableAcceleratedPlugins[] = "enable-accelerated-plugins";
240
238 // Enable gpu-accelerated SVG/W3C filters. 241 // Enable gpu-accelerated SVG/W3C filters.
239 const char kEnableAcceleratedFilters[] = "enable-accelerated-filters"; 242 const char kEnableAcceleratedFilters[] = "enable-accelerated-filters";
240 243
241 // Turns on extremely verbose logging of accessibility events. 244 // Turns on extremely verbose logging of accessibility events.
242 const char kEnableAccessibilityLogging[] = "enable-accessibility-logging"; 245 const char kEnableAccessibilityLogging[] = "enable-accessibility-logging";
243 246
244 // Enables the creation of compositing layers for fixed position elements. 247 // Enables the creation of compositing layers for fixed position elements.
245 const char kEnableCompositingForFixedPosition[] = 248 const char kEnableCompositingForFixedPosition[] =
246 "enable-fixed-position-compositing"; 249 "enable-fixed-position-compositing";
247 250
(...skipping 382 matching lines...) Expand 10 before | Expand all | Expand 10 after
630 633
631 // The prefix used when starting the zygote process. (i.e. 'gdb --args') 634 // The prefix used when starting the zygote process. (i.e. 'gdb --args')
632 const char kZygoteCmdPrefix[] = "zygote-cmd-prefix"; 635 const char kZygoteCmdPrefix[] = "zygote-cmd-prefix";
633 636
634 // Causes the process to run as a renderer zygote. 637 // Causes the process to run as a renderer zygote.
635 const char kZygoteProcess[] = "zygote"; 638 const char kZygoteProcess[] = "zygote";
636 639
637 // Enables moving cursor by word in visual order. 640 // Enables moving cursor by word in visual order.
638 const char kEnableVisualWordMovement[] = "enable-visual-word-movement"; 641 const char kEnableVisualWordMovement[] = "enable-visual-word-movement";
639 642
643 #if defined(OS_ANDROID)
644 // Omnibus flag setting an Android graphics mode. May be:
645 // "basic" (untiled software path)
646 // "compositor" (hardware-accelerated compositing),
647 const char kGraphicsMode[] = "graphics-mode";
648 const char kGraphicsModeValueBasic[] = "basic";
649 const char kGraphicsModeValueCompositor[] = "compositor";
650 #endif
651
640 #if defined(OS_POSIX) && !defined(OS_MACOSX) 652 #if defined(OS_POSIX) && !defined(OS_MACOSX)
641 // Specify the amount the trackpad should scroll by. 653 // Specify the amount the trackpad should scroll by.
642 const char kScrollPixels[] = "scroll-pixels"; 654 const char kScrollPixels[] = "scroll-pixels";
643 #endif 655 #endif
644 656
645 #if defined(OS_MACOSX) || defined(OS_WIN) 657 #if defined(OS_MACOSX) || defined(OS_WIN)
646 // Use the system SSL library (Secure Transport on Mac, SChannel on Windows) 658 // Use the system SSL library (Secure Transport on Mac, SChannel on Windows)
647 // instead of NSS for SSL. 659 // instead of NSS for SSL.
648 const char kUseSystemSSL[] = "use-system-ssl"; 660 const char kUseSystemSSL[] = "use-system-ssl";
649 #endif 661 #endif
(...skipping 19 matching lines...) Expand all
669 const char kDefaultTileWidth[] = "default-tile-width"; 681 const char kDefaultTileWidth[] = "default-tile-width";
670 const char kDefaultTileHeight[] = "default-tile-height"; 682 const char kDefaultTileHeight[] = "default-tile-height";
671 683
672 // Sets the width and height above which a composited layer will get tiled. 684 // Sets the width and height above which a composited layer will get tiled.
673 const char kMaxUntiledLayerWidth[] = "max-untiled-layer-width"; 685 const char kMaxUntiledLayerWidth[] = "max-untiled-layer-width";
674 const char kMaxUntiledLayerHeight[] = "max-untiled-layer-height"; 686 const char kMaxUntiledLayerHeight[] = "max-untiled-layer-height";
675 687
676 const char kFixedPositionCreatesStackingContext[] 688 const char kFixedPositionCreatesStackingContext[]
677 = "fixed-position-creates-stacking-context"; 689 = "fixed-position-creates-stacking-context";
678 } // namespace switches 690 } // namespace switches
OLDNEW
« 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