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

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

Issue 307693005: Add use-surfaces command-line flag (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Created 6 years, 6 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 #include "base/command_line.h" 7 #include "base/command_line.h"
8 8
9 namespace switches { 9 namespace switches {
10 10
(...skipping 863 matching lines...) Expand 10 before | Expand all | Expand 10 after
874 // Overrides the preferred discardable memory implementation. 874 // Overrides the preferred discardable memory implementation.
875 const char kUseDiscardableMemory[] = "use-discardable-memory"; 875 const char kUseDiscardableMemory[] = "use-discardable-memory";
876 876
877 // Bypass the media stream infobar by selecting the default device for media 877 // Bypass the media stream infobar by selecting the default device for media
878 // streams (e.g. WebRTC). Works with --use-fake-device-for-media-stream. 878 // streams (e.g. WebRTC). Works with --use-fake-device-for-media-stream.
879 const char kUseFakeUIForMediaStream[] = "use-fake-ui-for-media-stream"; 879 const char kUseFakeUIForMediaStream[] = "use-fake-ui-for-media-stream";
880 880
881 // Set when Chromium should use a mobile user agent. 881 // Set when Chromium should use a mobile user agent.
882 const char kUseMobileUserAgent[] = "use-mobile-user-agent"; 882 const char kUseMobileUserAgent[] = "use-mobile-user-agent";
883 883
884 // Use the new surfaces system to handle compositor delegation.
885 const char kUseSurfaces[] = "use-surfaces";
886
884 // On POSIX only: the contents of this flag are prepended to the utility 887 // On POSIX only: the contents of this flag are prepended to the utility
885 // process command line. Useful values might be "valgrind" or "xterm -e gdb 888 // process command line. Useful values might be "valgrind" or "xterm -e gdb
886 // --args". 889 // --args".
887 const char kUtilityCmdPrefix[] = "utility-cmd-prefix"; 890 const char kUtilityCmdPrefix[] = "utility-cmd-prefix";
888 891
889 // Causes the process to run as a utility subprocess. 892 // Causes the process to run as a utility subprocess.
890 const char kUtilityProcess[] = "utility"; 893 const char kUtilityProcess[] = "utility";
891 894
892 // The utility process is sandboxed, with access to one directory. This flag 895 // The utility process is sandboxed, with access to one directory. This flag
893 // specifies the directory that can be accessed. 896 // specifies the directory that can be accessed.
(...skipping 84 matching lines...) Expand 10 before | Expand all | Expand 10 after
978 981
979 // Disables support for Core Animation plugins. This is triggered when 982 // Disables support for Core Animation plugins. This is triggered when
980 // accelerated compositing is disabled. See http://crbug.com/122430 . 983 // accelerated compositing is disabled. See http://crbug.com/122430 .
981 const char kDisableCoreAnimationPlugins[] = 984 const char kDisableCoreAnimationPlugins[] =
982 "disable-core-animation-plugins"; 985 "disable-core-animation-plugins";
983 #endif 986 #endif
984 987
985 // Don't dump stuff here, follow the same order as the header. 988 // Don't dump stuff here, follow the same order as the header.
986 989
987 } // namespace switches 990 } // 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