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

Side by Side Diff: ui/compositor/compositor_switches.h

Issue 19925003: WIP - command line experiment Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Created 7 years, 5 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 | « ui/compositor/compositor.cc ('k') | ui/gl/gl_switches.h » ('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 #ifndef UI_COMPOSITOR_COMPOSITOR_SWITCHES_H_ 5 #ifndef UI_COMPOSITOR_COMPOSITOR_SWITCHES_H_
6 #define UI_COMPOSITOR_COMPOSITOR_SWITCHES_H_ 6 #define UI_COMPOSITOR_COMPOSITOR_SWITCHES_H_
7 7
8 #include "ui/compositor/compositor_export.h" 8 #include "ui/compositor/compositor_export.h"
9 9
10 #ifdef ENABLE_FAST_COMMAND_LINE_SWITCHES
11
12 namespace {
13 #include "ui/compositor/compositor_switches.cc"
14 }
15
16 #else
17
10 namespace switches { 18 namespace switches {
11 19
12 COMPOSITOR_EXPORT extern const char kDisableTestCompositor[]; 20 COMPOSITOR_EXPORT extern const char kDisableTestCompositor[];
13 COMPOSITOR_EXPORT extern const char kUIDisableThreadedCompositing[]; 21 COMPOSITOR_EXPORT extern const char kUIDisableThreadedCompositing[];
14 COMPOSITOR_EXPORT extern const char kUIEnableSoftwareCompositing[]; 22 COMPOSITOR_EXPORT extern const char kUIEnableSoftwareCompositing[];
15 COMPOSITOR_EXPORT extern const char kUIEnableThreadedCompositing[]; 23 COMPOSITOR_EXPORT extern const char kUIEnableThreadedCompositing[];
16 COMPOSITOR_EXPORT extern const char kUIMaxFramesPending[]; 24 COMPOSITOR_EXPORT extern const char kUIMaxFramesPending[];
17 COMPOSITOR_EXPORT extern const char kUIShowPaintRects[]; 25 COMPOSITOR_EXPORT extern const char kUIShowPaintRects[];
18 26
19 } // namespace switches 27 } // namespace switches
20 28
29 #endif // ENABLE_FAST_COMMAND_LINE_SWITCHES
21 #endif // UI_COMPOSITOR_COMPOSITOR_SWITCHES_H_ 30 #endif // UI_COMPOSITOR_COMPOSITOR_SWITCHES_H_
OLDNEW
« no previous file with comments | « ui/compositor/compositor.cc ('k') | ui/gl/gl_switches.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698