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

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

Issue 135213003: Ensure GL initialization only happens once, and provide common init path (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: initgl: compile3 Created 6 years, 10 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/test/content_test_suite.cc » ('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 #include "base/command_line.h" 7 #include "base/command_line.h"
8 8
9 namespace switches { 9 namespace switches {
10 10
(...skipping 915 matching lines...) Expand 10 before | Expand all | Expand 10 after
926 // Overrides the preferred discardable memory implementation. 926 // Overrides the preferred discardable memory implementation.
927 const char kUseDiscardableMemory[] = "use-discardable-memory"; 927 const char kUseDiscardableMemory[] = "use-discardable-memory";
928 928
929 // Use fake device for MediaStream to replace actual camera and microphone. 929 // Use fake device for MediaStream to replace actual camera and microphone.
930 const char kUseFakeDeviceForMediaStream[] = "use-fake-device-for-media-stream"; 930 const char kUseFakeDeviceForMediaStream[] = "use-fake-device-for-media-stream";
931 931
932 // Bypass the media stream infobar by selecting the default device for media 932 // Bypass the media stream infobar by selecting the default device for media
933 // streams (e.g. WebRTC). Works with --use-fake-device-for-media-stream. 933 // streams (e.g. WebRTC). Works with --use-fake-device-for-media-stream.
934 const char kUseFakeUIForMediaStream[] = "use-fake-ui-for-media-stream"; 934 const char kUseFakeUIForMediaStream[] = "use-fake-ui-for-media-stream";
935 935
936 // Use hardware gpu, if available, for tests.
937 const char kUseGpuInTests[] = "use-gpu-in-tests";
938
939 // Set when Chromium should use a mobile user agent. 936 // Set when Chromium should use a mobile user agent.
940 const char kUseMobileUserAgent[] = "use-mobile-user-agent"; 937 const char kUseMobileUserAgent[] = "use-mobile-user-agent";
941 938
942 // A string used to override the default user agent with a custom one. 939 // A string used to override the default user agent with a custom one.
943 const char kUserAgent[] = "user-agent"; 940 const char kUserAgent[] = "user-agent";
944 941
945 // On POSIX only: the contents of this flag are prepended to the utility 942 // On POSIX only: the contents of this flag are prepended to the utility
946 // process command line. Useful values might be "valgrind" or "xterm -e gdb 943 // process command line. Useful values might be "valgrind" or "xterm -e gdb
947 // --args". 944 // --args".
948 const char kUtilityCmdPrefix[] = "utility-cmd-prefix"; 945 const char kUtilityCmdPrefix[] = "utility-cmd-prefix";
(...skipping 117 matching lines...) Expand 10 before | Expand all | Expand 10 after
1066 #endif 1063 #endif
1067 1064
1068 #if defined(OS_POSIX) 1065 #if defined(OS_POSIX)
1069 // Causes the child processes to cleanly exit via calling exit(). 1066 // Causes the child processes to cleanly exit via calling exit().
1070 const char kChildCleanExit[] = "child-clean-exit"; 1067 const char kChildCleanExit[] = "child-clean-exit";
1071 #endif 1068 #endif
1072 1069
1073 // Don't dump stuff here, follow the same order as the header. 1070 // Don't dump stuff here, follow the same order as the header.
1074 1071
1075 } // namespace switches 1072 } // namespace switches
OLDNEW
« no previous file with comments | « content/public/common/content_switches.h ('k') | content/test/content_test_suite.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698