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

Side by Side Diff: cc/base/switches.cc

Issue 15139006: Remove enable-pinch-zoom-scrollbars flag. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Rebase to fix merge errors. Created 7 years, 7 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 | « cc/base/switches.h ('k') | chrome/app/generated_resources.grd » ('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 "cc/base/switches.h" 5 #include "cc/base/switches.h"
6 6
7 #include "base/command_line.h" 7 #include "base/command_line.h"
8 8
9 namespace cc { 9 namespace cc {
10 namespace switches { 10 namespace switches {
(...skipping 49 matching lines...) Expand 10 before | Expand all | Expand 10 after
60 const char kLowResolutionContentsScaleFactor[] = 60 const char kLowResolutionContentsScaleFactor[] =
61 "low-resolution-contents-scale-factor"; 61 "low-resolution-contents-scale-factor";
62 62
63 // Max tiles allowed for each tilings interest area. 63 // Max tiles allowed for each tilings interest area.
64 const char kMaxTilesForInterestArea[] = "max-tiles-for-interest-area"; 64 const char kMaxTilesForInterestArea[] = "max-tiles-for-interest-area";
65 65
66 // The amount of unused resource memory compositor is allowed to keep around. 66 // The amount of unused resource memory compositor is allowed to keep around.
67 const char kMaxUnusedResourceMemoryUsagePercentage[] = 67 const char kMaxUnusedResourceMemoryUsagePercentage[] =
68 "max-unused-resource-memory-usage-percentage"; 68 "max-unused-resource-memory-usage-percentage";
69 69
70 // Causes overlay scrollbars to appear when zoomed in ChromeOS/Windows.
71 const char kEnablePinchZoomScrollbars[] = "enable-pinch-zoom-scrollbars";
72 const char kDisablePinchZoomScrollbars[] = "disable-pinch-zoom-scrollbars";
73
74 // Causes the compositor to render to textures which are then sent to the parent 70 // Causes the compositor to render to textures which are then sent to the parent
75 // through the texture mailbox mechanism. 71 // through the texture mailbox mechanism.
76 // Requires --enable-compositor-frame-message. 72 // Requires --enable-compositor-frame-message.
77 const char kCompositeToMailbox[] = "composite-to-mailbox"; 73 const char kCompositeToMailbox[] = "composite-to-mailbox";
78 74
79 // Check that property changes during paint do not occur. 75 // Check that property changes during paint do not occur.
80 const char kStrictLayerPropertyChangeChecking[] = 76 const char kStrictLayerPropertyChangeChecking[] =
81 "strict-layer-property-change-checking"; 77 "strict-layer-property-change-checking";
82 78
83 const char kEnablePartialSwap[] = "enable-partial-swap"; 79 const char kEnablePartialSwap[] = "enable-partial-swap";
(...skipping 69 matching lines...) Expand 10 before | Expand all | Expand 10 after
153 return false; 149 return false;
154 #elif defined(OS_ANDROID) 150 #elif defined(OS_ANDROID)
155 return true; 151 return true;
156 #else 152 #else
157 return false; 153 return false;
158 #endif 154 #endif
159 } 155 }
160 156
161 } // namespace switches 157 } // namespace switches
162 } // namespace cc 158 } // namespace cc
OLDNEW
« no previous file with comments | « cc/base/switches.h ('k') | chrome/app/generated_resources.grd » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698