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

Side by Side Diff: ui/base/ui_base_switches.h

Issue 11565019: Consolidate dialog style flags and strings; etc. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Alphabetize IDS strings. Created 8 years 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
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 "ui/base/ui_export.h" 11 #include "ui/base/ui_export.h"
12 12
13 namespace switches { 13 namespace switches {
14 14
15 UI_EXPORT extern const char kDisableTouchAdjustment[];
15 UI_EXPORT extern const char kEnableBezelTouch[]; 16 UI_EXPORT extern const char kEnableBezelTouch[];
16 UI_EXPORT extern const char kDisableTouchAdjustment[]; 17 UI_EXPORT extern const char kEnableNewDialogStyle[];
18 UI_EXPORT extern const char kEnableNewMenuStyle[];
19 UI_EXPORT extern const char kEnableTouchDragDrop[];
17 UI_EXPORT extern const char kEnableViewsTextfield[]; 20 UI_EXPORT extern const char kEnableViewsTextfield[];
18 UI_EXPORT extern const char kForceDeviceScaleFactor[]; 21 UI_EXPORT extern const char kForceDeviceScaleFactor[];
19 UI_EXPORT extern const char kHighlightMissingScaledResources[]; 22 UI_EXPORT extern const char kHighlightMissingScaledResources[];
20 UI_EXPORT extern const char kLang[]; 23 UI_EXPORT extern const char kLang[];
21 UI_EXPORT extern const char kLocalePak[]; 24 UI_EXPORT extern const char kLocalePak[];
22 UI_EXPORT extern const char kOldCheckboxStyle[]; 25 UI_EXPORT extern const char kOldCheckboxStyle[];
23 UI_EXPORT extern const char kNoMessageBox[]; 26 UI_EXPORT extern const char kNoMessageBox[];
24 UI_EXPORT extern const char kTouchEvents[]; 27 UI_EXPORT extern const char kTouchEvents[];
25 UI_EXPORT extern const char kTouchEventsAuto[]; 28 UI_EXPORT extern const char kTouchEventsAuto[];
26 UI_EXPORT extern const char kTouchEventsDisabled[]; 29 UI_EXPORT extern const char kTouchEventsDisabled[];
27 UI_EXPORT extern const char kTouchEventsEnabled[]; 30 UI_EXPORT extern const char kTouchEventsEnabled[];
28 UI_EXPORT extern const char kTouchOptimizedUI[]; 31 UI_EXPORT extern const char kTouchOptimizedUI[];
29 UI_EXPORT extern const char kTouchOptimizedUIAuto[]; 32 UI_EXPORT extern const char kTouchOptimizedUIAuto[];
30 UI_EXPORT extern const char kTouchOptimizedUIDisabled[]; 33 UI_EXPORT extern const char kTouchOptimizedUIDisabled[];
31 UI_EXPORT extern const char kTouchOptimizedUIEnabled[]; 34 UI_EXPORT extern const char kTouchOptimizedUIEnabled[];
32 UI_EXPORT extern const char kEnableNewMenuStyle[];
33 35
34 #if defined(USE_XI2_MT) 36 #if defined(USE_XI2_MT)
35 UI_EXPORT extern const char kTouchCalibration[]; 37 UI_EXPORT extern const char kTouchCalibration[];
36 #endif 38 #endif
37 39
38 #if defined(OS_MACOSX) 40 #if defined(OS_MACOSX)
39 // TODO(kbr): remove this and the associated old code path: 41 // TODO(kbr): remove this and the associated old code path:
40 // http://crbug.com/105344 42 // http://crbug.com/105344
41 // This isn't really the right place for this switch, but is the most 43 // This isn't really the right place for this switch, but is the most
42 // convenient place where it can be shared between 44 // convenient place where it can be shared between
43 // src/webkit/plugins/npapi/ and src/content/plugin/ . 45 // src/webkit/plugins/npapi/ and src/content/plugin/ .
44 UI_EXPORT extern const char kDisableCompositedCoreAnimationPlugins[]; 46 UI_EXPORT extern const char kDisableCompositedCoreAnimationPlugins[];
45 UI_EXPORT extern const char kDisableCoreAnimationPlugins[]; 47 UI_EXPORT extern const char kDisableCoreAnimationPlugins[];
46 #endif 48 #endif
47 49
48 #if defined(TOOLKIT_VIEWS) && defined(OS_LINUX) 50 #if defined(TOOLKIT_VIEWS) && defined(OS_LINUX)
49 UI_EXPORT extern const char kTouchDevices[]; 51 UI_EXPORT extern const char kTouchDevices[];
50 #endif 52 #endif
51 53
52 UI_EXPORT extern const char kEnableTouchDragDrop[];
53 } // namespace switches 54 } // namespace switches
54 55
55 #endif // UI_BASE_UI_BASE_SWITCHES_H_ 56 #endif // UI_BASE_UI_BASE_SWITCHES_H_
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698