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

Side by Side Diff: content/public/common/content_switches.cc

Issue 10941015: [Android] Upstream the WebView find-in-page API implementation. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: nit fixes. Created 8 years, 3 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') | content/renderer/render_view_impl.h » ('j') | 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 633 matching lines...) Expand 10 before | Expand all | Expand 10 after
644 644
645 #if defined(OS_ANDROID) 645 #if defined(OS_ANDROID)
646 // Disable history logging for media elements. 646 // Disable history logging for media elements.
647 const char kDisableMediaHistoryLogging[] = "disable-media-history"; 647 const char kDisableMediaHistoryLogging[] = "disable-media-history";
648 648
649 // Whether to run media elements in the renderer process. 649 // Whether to run media elements in the renderer process.
650 const char kMediaPlayerInRenderProcess[] = "media-player-in-render-process"; 650 const char kMediaPlayerInRenderProcess[] = "media-player-in-render-process";
651 651
652 // Set when Chromium should use a mobile user agent. 652 // Set when Chromium should use a mobile user agent.
653 const char kUseMobileUserAgent[] = "use-mobile-user-agent"; 653 const char kUseMobileUserAgent[] = "use-mobile-user-agent";
654
654 // Omnibus flag setting an Android graphics mode. May be: 655 // Omnibus flag setting an Android graphics mode. May be:
655 // "basic" (untiled software path) 656 // "basic" (untiled software path)
656 // "compositor" (hardware-accelerated compositing), 657 // "compositor" (hardware-accelerated compositing),
657 const char kGraphicsMode[] = "graphics-mode"; 658 const char kGraphicsMode[] = "graphics-mode";
658 const char kGraphicsModeValueBasic[] = "basic"; 659 const char kGraphicsModeValueBasic[] = "basic";
659 const char kGraphicsModeValueCompositor[] = "compositor"; 660 const char kGraphicsModeValueCompositor[] = "compositor";
660 661
661 // The telephony region (ISO country code) to use in phone number detection. 662 // The telephony region (ISO country code) to use in phone number detection.
662 const char kNetworkCountryIso[] = "network-country-iso"; 663 const char kNetworkCountryIso[] = "network-country-iso";
664
665 // Set to enable compatibility with legacy WebView synchronous APIs.
666 const char kEnableWebViewSynchronousAPIs[] = "enable-webview-synchronous-apis";
663 #endif 667 #endif
664 668
665 #if defined(OS_POSIX) 669 #if defined(OS_POSIX)
666 // Causes the child processes to cleanly exit via calling exit(). 670 // Causes the child processes to cleanly exit via calling exit().
667 const char kChildCleanExit[] = "child-clean-exit"; 671 const char kChildCleanExit[] = "child-clean-exit";
668 #endif 672 #endif
669 673
670 #if defined(OS_POSIX) && !defined(OS_MACOSX) 674 #if defined(OS_POSIX) && !defined(OS_MACOSX)
671 // Specify the amount the trackpad should scroll by. 675 // Specify the amount the trackpad should scroll by.
672 const char kScrollPixels[] = "scroll-pixels"; 676 const char kScrollPixels[] = "scroll-pixels";
(...skipping 29 matching lines...) Expand all
702 // Sets the width and height above which a composited layer will get tiled. 706 // Sets the width and height above which a composited layer will get tiled.
703 const char kMaxUntiledLayerWidth[] = "max-untiled-layer-width"; 707 const char kMaxUntiledLayerWidth[] = "max-untiled-layer-width";
704 const char kMaxUntiledLayerHeight[] = "max-untiled-layer-height"; 708 const char kMaxUntiledLayerHeight[] = "max-untiled-layer-height";
705 709
706 const char kEnableFixedPositionCreatesStackingContext[] 710 const char kEnableFixedPositionCreatesStackingContext[]
707 = "enable-fixed-position-creates-stacking-context"; 711 = "enable-fixed-position-creates-stacking-context";
708 const char kDisableFixedPositionCreatesStackingContext[] 712 const char kDisableFixedPositionCreatesStackingContext[]
709 = "disable-fixed-position-creates-stacking-context"; 713 = "disable-fixed-position-creates-stacking-context";
710 714
711 } // namespace switches 715 } // namespace switches
OLDNEW
« no previous file with comments | « content/public/common/content_switches.h ('k') | content/renderer/render_view_impl.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698