| OLD | NEW |
| 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 | 18 // Disables sending the next BeginMainFrame before the previous commit |
| 23 // activates. Overrides the kEnableMainFrameBeforeActivation flag. | 19 // activates. Overrides the kEnableMainFrameBeforeActivation flag. |
| 24 const char kDisableMainFrameBeforeActivation[] = | 20 const char kDisableMainFrameBeforeActivation[] = |
| 25 "disable-main-frame-before-activation"; | 21 "disable-main-frame-before-activation"; |
| 26 | 22 |
| 27 // Enables sending the next BeginMainFrame before the previous commit activates. | 23 // Enables sending the next BeginMainFrame before the previous commit activates. |
| 28 const char kEnableMainFrameBeforeActivation[] = | 24 const char kEnableMainFrameBeforeActivation[] = |
| 29 "enable-main-frame-before-activation"; | 25 "enable-main-frame-before-activation"; |
| 30 | 26 |
| 31 const char kEnableTopControlsPositionCalculation[] = | 27 const char kEnableTopControlsPositionCalculation[] = |
| (...skipping 83 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 115 const char kUIShowNonOccludingRects[] = "ui-show-nonoccluding-rects"; | 111 const char kUIShowNonOccludingRects[] = "ui-show-nonoccluding-rects"; |
| 116 | 112 |
| 117 // Prevents the layer tree unit tests from timing out. | 113 // Prevents the layer tree unit tests from timing out. |
| 118 const char kCCLayerTreeTestNoTimeout[] = "cc-layer-tree-test-no-timeout"; | 114 const char kCCLayerTreeTestNoTimeout[] = "cc-layer-tree-test-no-timeout"; |
| 119 | 115 |
| 120 // Makes pixel tests write their output instead of read it. | 116 // Makes pixel tests write their output instead of read it. |
| 121 const char kCCRebaselinePixeltests[] = "cc-rebaseline-pixeltests"; | 117 const char kCCRebaselinePixeltests[] = "cc-rebaseline-pixeltests"; |
| 122 | 118 |
| 123 } // namespace switches | 119 } // namespace switches |
| 124 } // namespace cc | 120 } // namespace cc |
| OLD | NEW |