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

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

Issue 18341009: Refactor cc scrollbar layers to separate solid-color vs desktop. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Rebased to account for re-naming to PaintedScrollbarLayer. Created 7 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
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 817 matching lines...) Expand 10 before | Expand all | Expand 10 after
828 // Bypass the media stream infobar by selecting the default device for media 828 // Bypass the media stream infobar by selecting the default device for media
829 // streams (e.g. WebRTC). Works with --use-fake-device-for-media-stream. 829 // streams (e.g. WebRTC). Works with --use-fake-device-for-media-stream.
830 const char kUseFakeUIForMediaStream[] = "use-fake-ui-for-media-stream"; 830 const char kUseFakeUIForMediaStream[] = "use-fake-ui-for-media-stream";
831 831
832 // Use hardware gpu, if available, for tests. 832 // Use hardware gpu, if available, for tests.
833 const char kUseGpuInTests[] = "use-gpu-in-tests"; 833 const char kUseGpuInTests[] = "use-gpu-in-tests";
834 834
835 // Set when Chromium should use a mobile user agent. 835 // Set when Chromium should use a mobile user agent.
836 const char kUseMobileUserAgent[] = "use-mobile-user-agent"; 836 const char kUseMobileUserAgent[] = "use-mobile-user-agent";
837 837
838 // Turns on solid color scrollbars by default.
839 const char kUseSolidColorScrollbars[] = "use-solid-color-scrollbars";
840
838 // A string used to override the default user agent with a custom one. 841 // A string used to override the default user agent with a custom one.
839 const char kUserAgent[] = "user-agent"; 842 const char kUserAgent[] = "user-agent";
840 843
841 // On POSIX only: the contents of this flag are prepended to the utility 844 // On POSIX only: the contents of this flag are prepended to the utility
842 // process command line. Useful values might be "valgrind" or "xterm -e gdb 845 // process command line. Useful values might be "valgrind" or "xterm -e gdb
843 // --args". 846 // --args".
844 const char kUtilityCmdPrefix[] = "utility-cmd-prefix"; 847 const char kUtilityCmdPrefix[] = "utility-cmd-prefix";
845 848
846 // Causes the process to run as a utility subprocess. 849 // Causes the process to run as a utility subprocess.
847 const char kUtilityProcess[] = "utility"; 850 const char kUtilityProcess[] = "utility";
(...skipping 95 matching lines...) Expand 10 before | Expand all | Expand 10 after
943 #endif 946 #endif
944 947
945 #if defined(USE_AURA) 948 #if defined(USE_AURA)
946 // Forces usage of the test compositor. Needed to run ui tests on bots. 949 // Forces usage of the test compositor. Needed to run ui tests on bots.
947 extern const char kTestCompositor[] = "test-compositor"; 950 extern const char kTestCompositor[] = "test-compositor";
948 #endif 951 #endif
949 952
950 // Don't dump stuff here, follow the same order as the header. 953 // Don't dump stuff here, follow the same order as the header.
951 954
952 } // namespace switches 955 } // namespace switches
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698