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

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

Issue 11066087: Upstream BrowserChildProcessHostImpl (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Rebased Created 8 years, 2 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 662 matching lines...) Expand 10 before | Expand all | Expand 10 after
673 673
674 // The prefix used when starting the zygote process. (i.e. 'gdb --args') 674 // The prefix used when starting the zygote process. (i.e. 'gdb --args')
675 const char kZygoteCmdPrefix[] = "zygote-cmd-prefix"; 675 const char kZygoteCmdPrefix[] = "zygote-cmd-prefix";
676 676
677 // Causes the process to run as a renderer zygote. 677 // Causes the process to run as a renderer zygote.
678 const char kZygoteProcess[] = "zygote"; 678 const char kZygoteProcess[] = "zygote";
679 679
680 // Enables moving cursor by word in visual order. 680 // Enables moving cursor by word in visual order.
681 const char kEnableVisualWordMovement[] = "enable-visual-word-movement"; 681 const char kEnableVisualWordMovement[] = "enable-visual-word-movement";
682 682
683 // Set when Chromium should use a mobile user agent.
684 const char kUseMobileUserAgent[] = "use-mobile-user-agent";
685
683 #if defined(OS_ANDROID) 686 #if defined(OS_ANDROID)
684 // Disable history logging for media elements. 687 // Disable history logging for media elements.
685 const char kDisableMediaHistoryLogging[] = "disable-media-history"; 688 const char kDisableMediaHistoryLogging[] = "disable-media-history";
686 689
687 // Whether to run media elements in the renderer process. 690 // Whether to run media elements in the renderer process.
688 const char kMediaPlayerInRenderProcess[] = "media-player-in-render-process"; 691 const char kMediaPlayerInRenderProcess[] = "media-player-in-render-process";
689 692
690 // Set when Chromium should use a mobile user agent.
691 const char kUseMobileUserAgent[] = "use-mobile-user-agent";
692
693 // The telephony region (ISO country code) to use in phone number detection. 693 // The telephony region (ISO country code) to use in phone number detection.
694 const char kNetworkCountryIso[] = "network-country-iso"; 694 const char kNetworkCountryIso[] = "network-country-iso";
695 695
696 // Set to enable compatibility with legacy WebView synchronous APIs. 696 // Set to enable compatibility with legacy WebView synchronous APIs.
697 const char kEnableWebViewSynchronousAPIs[] = "enable-webview-synchronous-apis"; 697 const char kEnableWebViewSynchronousAPIs[] = "enable-webview-synchronous-apis";
698 #endif 698 #endif
699 699
700 #if defined(OS_POSIX) 700 #if defined(OS_POSIX)
701 // Causes the child processes to cleanly exit via calling exit(). 701 // Causes the child processes to cleanly exit via calling exit().
702 const char kChildCleanExit[] = "child-clean-exit"; 702 const char kChildCleanExit[] = "child-clean-exit";
(...skipping 34 matching lines...) Expand 10 before | Expand all | Expand 10 after
737 // Sets the width and height above which a composited layer will get tiled. 737 // Sets the width and height above which a composited layer will get tiled.
738 const char kMaxUntiledLayerWidth[] = "max-untiled-layer-width"; 738 const char kMaxUntiledLayerWidth[] = "max-untiled-layer-width";
739 const char kMaxUntiledLayerHeight[] = "max-untiled-layer-height"; 739 const char kMaxUntiledLayerHeight[] = "max-untiled-layer-height";
740 740
741 const char kEnableFixedPositionCreatesStackingContext[] 741 const char kEnableFixedPositionCreatesStackingContext[]
742 = "enable-fixed-position-creates-stacking-context"; 742 = "enable-fixed-position-creates-stacking-context";
743 const char kDisableFixedPositionCreatesStackingContext[] 743 const char kDisableFixedPositionCreatesStackingContext[]
744 = "disable-fixed-position-creates-stacking-context"; 744 = "disable-fixed-position-creates-stacking-context";
745 745
746 } // namespace switches 746 } // namespace switches
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698