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
3 // found in the LICENSE file.
5 // Defines all the command-line switches used by ui/base.
7 #ifndef UI_BASE_UI_BASE_SWITCHES_H_
8 #define UI_BASE_UI_BASE_SWITCHES_H_
10 #include "base/compiler_specific.h"
11 #include "ui/base/ui_export.h"
15 UI_EXPORT
extern const char kDisableDwmComposition
[];
16 UI_EXPORT
extern const char kDisableTouchAdjustment
[];
17 UI_EXPORT
extern const char kDisableViewsTextfield
[];
18 UI_EXPORT
extern const char kEnableBezelTouch
[];
19 UI_EXPORT
extern const char kEnableNewDialogStyle
[];
20 UI_EXPORT
extern const char kEnableTouchDragDrop
[];
21 UI_EXPORT
extern const char kEnableTouchEditing
[];
22 UI_EXPORT
extern const char kEnableViewsTextfield
[];
23 UI_EXPORT
extern const char kForceDeviceScaleFactor
[];
24 UI_EXPORT
extern const char kHighlightMissingScaledResources
[];
25 UI_EXPORT
extern const char kLang
[];
26 UI_EXPORT
extern const char kLocalePak
[];
27 UI_EXPORT
extern const char kNoMessageBox
[];
28 UI_EXPORT
extern const char kTouchEvents
[];
29 UI_EXPORT
extern const char kTouchEventsAuto
[];
30 UI_EXPORT
extern const char kTouchEventsDisabled
[];
31 UI_EXPORT
extern const char kTouchEventsEnabled
[];
32 UI_EXPORT
extern const char kTouchOptimizedUI
[];
33 UI_EXPORT
extern const char kTouchOptimizedUIAuto
[];
34 UI_EXPORT
extern const char kTouchOptimizedUIDisabled
[];
35 UI_EXPORT
extern const char kTouchOptimizedUIEnabled
[];
37 #if defined(USE_XI2_MT)
38 UI_EXPORT
extern const char kTouchCalibration
[];
41 #if defined(OS_MACOSX)
42 // This isn't really the right place for this switch, but is the most
43 // convenient place where it can be shared between
44 // src/webkit/plugins/npapi/ and src/content/plugin/ .
45 UI_EXPORT
extern const char kDisableCoreAnimationPlugins
[];
48 #if defined(TOOLKIT_VIEWS) && defined(OS_LINUX)
49 UI_EXPORT
extern const char kTouchDevices
[];
52 } // namespace switches
54 #endif // UI_BASE_UI_BASE_SWITCHES_H_