| 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 // Defines all the "cc" command-line switches. | 5 // Defines all the "cc" command-line switches. |
| 6 | 6 |
| 7 #ifndef CC_SWITCHES_H_ | 7 #ifndef CC_SWITCHES_H_ |
| 8 #define CC_SWITCHES_H_ | 8 #define CC_SWITCHES_H_ |
| 9 | 9 |
| 10 #include "cc/cc_export.h" | 10 #include "cc/cc_export.h" |
| 11 | 11 |
| 12 // Since cc is used from the render process, anything that goes here also needs | 12 // Since cc is used from the render process, anything that goes here also needs |
| 13 // to be added to render_process_host_impl.cc. | 13 // to be added to render_process_host_impl.cc. |
| 14 | 14 |
| 15 namespace cc { | 15 namespace cc { |
| 16 namespace switches { | 16 namespace switches { |
| 17 | 17 |
| 18 CC_EXPORT extern const char kBackgroundColorInsteadOfCheckerboard[]; | 18 CC_EXPORT extern const char kBackgroundColorInsteadOfCheckerboard[]; |
| 19 CC_EXPORT extern const char kDisableThreadedAnimation[]; | 19 CC_EXPORT extern const char kDisableThreadedAnimation[]; |
| 20 CC_EXPORT extern const char kEnablePartialSwap[]; | 20 CC_EXPORT extern const char kEnablePartialSwap[]; |
| 21 CC_EXPORT extern const char kEnablePerTilePainting[]; | 21 CC_EXPORT extern const char kEnablePerTilePainting[]; |
| 22 CC_EXPORT extern const char kEnablePinchInCompositor[]; | 22 CC_EXPORT extern const char kEnablePinchInCompositor[]; |
| 23 CC_EXPORT extern const char kJankInsteadOfCheckerboard[]; | 23 CC_EXPORT extern const char kJankInsteadOfCheckerboard[]; |
| 24 CC_EXPORT extern const char kImplSidePainting[]; |
| 24 | 25 |
| 25 } // namespace switches | 26 } // namespace switches |
| 26 } // namespace cc | 27 } // namespace cc |
| 27 | 28 |
| 28 #endif // CC_SWITCHES_H_ | 29 #endif // CC_SWITCHES_H_ |
| OLD | NEW |