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

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

Issue 786243003: Use Surfaces on Windows, Linux, and Mac OS (try #3) (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 6 years 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
« 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 #include "base/metrics/field_trial.h" 8 #include "base/metrics/field_trial.h"
9 9
10 namespace switches { 10 namespace switches {
(...skipping 815 matching lines...) Expand 10 before | Expand all | Expand 10 after
826 826
827 // Overrides the default texture target used with CHROMIUM_image extension. 827 // Overrides the default texture target used with CHROMIUM_image extension.
828 const char kUseImageTextureTarget[] = "use-image-texture-target"; 828 const char kUseImageTextureTarget[] = "use-image-texture-target";
829 829
830 // Set when Chromium should use a mobile user agent. 830 // Set when Chromium should use a mobile user agent.
831 const char kUseMobileUserAgent[] = "use-mobile-user-agent"; 831 const char kUseMobileUserAgent[] = "use-mobile-user-agent";
832 832
833 // Use the new surfaces system to handle compositor delegation. 833 // Use the new surfaces system to handle compositor delegation.
834 const char kUseSurfaces[] = "use-surfaces"; 834 const char kUseSurfaces[] = "use-surfaces";
835 835
836 // Disable the use of the new surfaces system to handle compositor delegation.
837 const char kDisableSurfaces[] = "disable-surfaces";
838
836 // On POSIX only: the contents of this flag are prepended to the utility 839 // On POSIX only: the contents of this flag are prepended to the utility
837 // process command line. Useful values might be "valgrind" or "xterm -e gdb 840 // process command line. Useful values might be "valgrind" or "xterm -e gdb
838 // --args". 841 // --args".
839 const char kUtilityCmdPrefix[] = "utility-cmd-prefix"; 842 const char kUtilityCmdPrefix[] = "utility-cmd-prefix";
840 843
841 // Causes the process to run as a utility subprocess. 844 // Causes the process to run as a utility subprocess.
842 const char kUtilityProcess[] = "utility"; 845 const char kUtilityProcess[] = "utility";
843 846
844 // The utility process is sandboxed, with access to one directory. This flag 847 // The utility process is sandboxed, with access to one directory. This flag
845 // specifies the directory that can be accessed. 848 // specifies the directory that can be accessed.
(...skipping 142 matching lines...) Expand 10 before | Expand all | Expand 10 after
988 if (cmd_line->HasSwitch(kDisableWin32kRendererLockDown)) 991 if (cmd_line->HasSwitch(kDisableWin32kRendererLockDown))
989 return false; 992 return false;
990 // Default. 993 // Default.
991 return group_name == "Enabled"; 994 return group_name == "Enabled";
992 } 995 }
993 #endif 996 #endif
994 997
995 // Don't dump stuff here, follow the same order as the header. 998 // Don't dump stuff here, follow the same order as the header.
996 999
997 } // namespace switches 1000 } // 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