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

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

Issue 23907006: cc: Allow sending BeginMainFrame before draw or activation (Closed) Base URL: http://git.chromium.org/chromium/src.git@schedDeadline3
Patch Set: rebase Created 6 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
« no previous file with comments | « cc/base/switches.h ('k') | cc/scheduler/scheduler.cc » ('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 {
11 11
12 const char kDisableThreadedAnimation[] = "disable-threaded-animation"; 12 const char kDisableThreadedAnimation[] = "disable-threaded-animation";
13 13
14 // Disables layer-edge anti-aliasing in the compositor. 14 // Disables layer-edge anti-aliasing in the compositor.
15 const char kDisableCompositedAntialiasing[] = 15 const char kDisableCompositedAntialiasing[] =
16 "disable-composited-antialiasing"; 16 "disable-composited-antialiasing";
17 17
18 // Disables sending the next BeginMainFrame before the previous commit has
19 // drawn.
20 const char kDisableMainFrameBeforeDraw[] = "disable-main-frame-before-draw";
21
22 // Disables sending the next BeginMainFrame before the previous commit
23 // activates. Overrides the kEnableMainFrameBeforeActivation flag.
24 const char kDisableMainFrameBeforeActivation[] =
25 "disable-main-frame-before-activation";
26
27 // Enables sending the next BeginMainFrame before the previous commit activates.
28 const char kEnableMainFrameBeforeActivation[] =
29 "enable-main-frame-before-activation";
30
18 const char kEnableTopControlsPositionCalculation[] = 31 const char kEnableTopControlsPositionCalculation[] =
19 "enable-top-controls-position-calculation"; 32 "enable-top-controls-position-calculation";
20 33
21 // The height of the movable top controls. 34 // The height of the movable top controls.
22 const char kTopControlsHeight[] = "top-controls-height"; 35 const char kTopControlsHeight[] = "top-controls-height";
23 36
24 // Percentage of the top controls need to be hidden before they will auto hide. 37 // Percentage of the top controls need to be hidden before they will auto hide.
25 const char kTopControlsHideThreshold[] = "top-controls-hide-threshold"; 38 const char kTopControlsHideThreshold[] = "top-controls-hide-threshold";
26 39
27 // Percentage of the top controls need to be shown before they will auto show. 40 // Percentage of the top controls need to be shown before they will auto show.
(...skipping 81 matching lines...) Expand 10 before | Expand all | Expand 10 after
109 122
110 // Makes pixel tests write their output instead of read it. 123 // Makes pixel tests write their output instead of read it.
111 const char kCCRebaselinePixeltests[] = "cc-rebaseline-pixeltests"; 124 const char kCCRebaselinePixeltests[] = "cc-rebaseline-pixeltests";
112 125
113 // Disable touch hit testing in the compositor. 126 // Disable touch hit testing in the compositor.
114 const char kDisableCompositorTouchHitTesting[] = 127 const char kDisableCompositorTouchHitTesting[] =
115 "disable-compositor-touch-hit-testing"; 128 "disable-compositor-touch-hit-testing";
116 129
117 } // namespace switches 130 } // namespace switches
118 } // namespace cc 131 } // namespace cc
OLDNEW
« no previous file with comments | « cc/base/switches.h ('k') | cc/scheduler/scheduler.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698