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

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

Issue 12722002: Enable pinch & scrollbars by default for CrOS. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Rebased, set default flag value to 'disabled'. Created 7 years, 8 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 62 matching lines...) Expand 10 before | Expand all | Expand 10 after
73 // Max distance from visible for prepaint tiles. 73 // Max distance from visible for prepaint tiles.
74 const char kMaxPrepaintTileDistance[] = "max-prepaint-tile-distance"; 74 const char kMaxPrepaintTileDistance[] = "max-prepaint-tile-distance";
75 75
76 // Max tiles allowed for each tilings interest area. 76 // Max tiles allowed for each tilings interest area.
77 const char kMaxTilesForInterestArea[] = "max-tiles-for-interest-area"; 77 const char kMaxTilesForInterestArea[] = "max-tiles-for-interest-area";
78 78
79 // The amount of unused resource memory compositor is allowed to keep around. 79 // The amount of unused resource memory compositor is allowed to keep around.
80 const char kMaxUnusedResourceMemoryUsagePercentage[] = 80 const char kMaxUnusedResourceMemoryUsagePercentage[] =
81 "max-unused-resource-memory-usage-percentage"; 81 "max-unused-resource-memory-usage-percentage";
82 82
83 // Causes overlay scrollbars to appear when zoomed in ChromeOS/Windows.
84 const char kEnablePinchZoomScrollbars[] = "enable-pinch-zoom-scrollbars";
85 const char kDisablePinchZoomScrollbars[] = "disable-pinch-zoom-scrollbars";
86
83 // Causes the compositor to render to textures which are then sent to the parent 87 // Causes the compositor to render to textures which are then sent to the parent
84 // through the texture mailbox mechanism. 88 // through the texture mailbox mechanism.
85 // Requires --enable-compositor-frame-message. 89 // Requires --enable-compositor-frame-message.
86 const char kCompositeToMailbox[] = "composite-to-mailbox"; 90 const char kCompositeToMailbox[] = "composite-to-mailbox";
87 91
88 const char kEnablePartialSwap[] = "enable-partial-swap"; 92 const char kEnablePartialSwap[] = "enable-partial-swap";
89 const char kUIEnablePartialSwap[] = "ui-enable-partial-swap"; 93 const char kUIEnablePartialSwap[] = "ui-enable-partial-swap";
90 94
91 const char kEnablePerTilePainting[] = "enable-per-tile-painting"; 95 const char kEnablePerTilePainting[] = "enable-per-tile-painting";
92 const char kUIEnablePerTilePainting[] = "ui-enable-per-tile-painting"; 96 const char kUIEnablePerTilePainting[] = "ui-enable-per-tile-painting";
(...skipping 52 matching lines...) Expand 10 before | Expand all | Expand 10 after
145 149
146 #if defined(OS_ANDROID) 150 #if defined(OS_ANDROID)
147 return true; 151 return true;
148 #else 152 #else
149 return false; 153 return false;
150 #endif 154 #endif
151 } 155 }
152 156
153 } // namespace switches 157 } // namespace switches
154 } // 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