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

Side by Side Diff: cc/switches.cc

Issue 12722002: Enable pinch & scrollbars by default for CrOS. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Created 7 years, 9 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 "cc/switches.h" 5 #include "cc/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 10 matching lines...) Expand all
21 21
22 // Paint content on the main thread instead of the compositor thread. 22 // Paint content on the main thread instead of the compositor thread.
23 // Overrides the kEnableImplSidePainting flag. 23 // Overrides the kEnableImplSidePainting flag.
24 const char kDisableImplSidePainting[] = "disable-impl-side-painting"; 24 const char kDisableImplSidePainting[] = "disable-impl-side-painting";
25 25
26 // Paint content on the compositor thread instead of the main thread. 26 // Paint content on the compositor thread instead of the main thread.
27 const char kEnableImplSidePainting[] = "enable-impl-side-painting"; 27 const char kEnableImplSidePainting[] = "enable-impl-side-painting";
28 28
29 const char kEnablePartialSwap[] = "enable-partial-swap"; 29 const char kEnablePartialSwap[] = "enable-partial-swap";
30 30
31 const char kEnablePinchZoomScrollbars[] = "enable-pinch-zoom-scrollbars";
32 const char kDisablePinchZoomScrollbars[] = "disable-pinch-zoom-scrollbars";
33
31 const char kEnablePerTilePainting[] = "enable-per-tile-painting"; 34 const char kEnablePerTilePainting[] = "enable-per-tile-painting";
32 35
33 // Try to finish display pipeline before vsync tick 36 // Try to finish display pipeline before vsync tick
34 const char kEnableRightAlignedScheduling[] = "enable-right-aligned-scheduling"; 37 const char kEnableRightAlignedScheduling[] = "enable-right-aligned-scheduling";
35 38
36 const char kEnableTopControlsPositionCalculation[] = 39 const char kEnableTopControlsPositionCalculation[] =
37 "enable-top-controls-position-calculation"; 40 "enable-top-controls-position-calculation";
38 41
39 // Enable solid tile color, transparent tile, and cheapness prediction metrics. 42 // Enable solid tile color, transparent tile, and cheapness prediction metrics.
40 const char kEnablePredictionBenchmarking[] = "enable-prediction-benchmarking"; 43 const char kEnablePredictionBenchmarking[] = "enable-prediction-benchmarking";
(...skipping 70 matching lines...) Expand 10 before | Expand all | Expand 10 after
111 114
112 #if defined(OS_ANDROID) 115 #if defined(OS_ANDROID)
113 return true; 116 return true;
114 #else 117 #else
115 return false; 118 return false;
116 #endif 119 #endif
117 } 120 }
118 121
119 } // namespace switches 122 } // namespace switches
120 } // namespace cc 123 } // namespace cc
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698