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

Side by Side Diff: ui/base/ui_base_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 | « remoting/host/config_file_watcher.cc ('k') | ui/base/ui_base_switches_util.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 // Defines all the command-line switches used by ui/base. 5 // Defines all the command-line switches used by ui/base.
6 6
7 #ifndef UI_BASE_UI_BASE_SWITCHES_H_ 7 #ifndef UI_BASE_UI_BASE_SWITCHES_H_
8 #define UI_BASE_UI_BASE_SWITCHES_H_ 8 #define UI_BASE_UI_BASE_SWITCHES_H_
9 9
10 #include "base/compiler_specific.h" 10 #include "base/compiler_specific.h"
11 #include "build/build_config.h"
11 #include "ui/base/ui_export.h" 12 #include "ui/base/ui_export.h"
12 13
14 #ifdef ENABLE_FAST_COMMAND_LINE_SWITCHES
15
16 namespace {
17 #include "ui/base/ui_base_switches.cc"
18 }
19
20 #else
21
13 namespace switches { 22 namespace switches {
14 23
15 UI_EXPORT extern const char kDisableDwmComposition[]; 24 UI_EXPORT extern const char kDisableDwmComposition[];
16 UI_EXPORT extern const char kDisableNewDialogStyle[]; 25 UI_EXPORT extern const char kDisableNewDialogStyle[];
17 UI_EXPORT extern const char kDisableTouchAdjustment[]; 26 UI_EXPORT extern const char kDisableTouchAdjustment[];
18 UI_EXPORT extern const char kDisableTouchDragDrop[]; 27 UI_EXPORT extern const char kDisableTouchDragDrop[];
19 UI_EXPORT extern const char kDisableTouchEditing[]; 28 UI_EXPORT extern const char kDisableTouchEditing[];
20 UI_EXPORT extern const char kDisableViewsTextfield[]; 29 UI_EXPORT extern const char kDisableViewsTextfield[];
21 UI_EXPORT extern const char kEnableNewDialogStyle[]; 30 UI_EXPORT extern const char kEnableNewDialogStyle[];
22 UI_EXPORT extern const char kEnableScrollPrediction[]; 31 UI_EXPORT extern const char kEnableScrollPrediction[];
(...skipping 25 matching lines...) Expand all
48 // src/webkit/plugins/npapi/ and src/content/plugin/ . 57 // src/webkit/plugins/npapi/ and src/content/plugin/ .
49 UI_EXPORT extern const char kDisableCoreAnimationPlugins[]; 58 UI_EXPORT extern const char kDisableCoreAnimationPlugins[];
50 #endif 59 #endif
51 60
52 #if defined(TOOLKIT_VIEWS) && defined(OS_LINUX) 61 #if defined(TOOLKIT_VIEWS) && defined(OS_LINUX)
53 UI_EXPORT extern const char kTouchDevices[]; 62 UI_EXPORT extern const char kTouchDevices[];
54 #endif 63 #endif
55 64
56 } // namespace switches 65 } // namespace switches
57 66
67 #endif // ENABLE_FAST_COMMAND_LINE_SWITCHES
58 #endif // UI_BASE_UI_BASE_SWITCHES_H_ 68 #endif // UI_BASE_UI_BASE_SWITCHES_H_
OLDNEW
« no previous file with comments | « remoting/host/config_file_watcher.cc ('k') | ui/base/ui_base_switches_util.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698