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

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

Issue 50603005: Add cross-platform API to get the form factor of the device (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: remove kTabletUI from chrome/common Created 7 years, 1 month 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
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 kDisableDwmComposition[]; 15 UI_EXPORT extern const char kDisableDwmComposition[];
16 UI_EXPORT extern const char kDisableTouchAdjustment[]; 16 UI_EXPORT extern const char kDisableTouchAdjustment[];
17 UI_EXPORT extern const char kDisableTouchDragDrop[]; 17 UI_EXPORT extern const char kDisableTouchDragDrop[];
18 UI_EXPORT extern const char kDisableTouchEditing[]; 18 UI_EXPORT extern const char kDisableTouchEditing[];
19 UI_EXPORT extern const char kDisableViewsTextfield[]; 19 UI_EXPORT extern const char kDisableViewsTextfield[];
20 UI_EXPORT extern const char kEnableTouchDragDrop[]; 20 UI_EXPORT extern const char kEnableTouchDragDrop[];
21 UI_EXPORT extern const char kEnableTouchEditing[]; 21 UI_EXPORT extern const char kEnableTouchEditing[];
22 UI_EXPORT extern const char kEnableViewsTextfield[]; 22 UI_EXPORT extern const char kEnableViewsTextfield[];
23 UI_EXPORT extern const char kHighlightMissingScaledResources[]; 23 UI_EXPORT extern const char kHighlightMissingScaledResources[];
24 UI_EXPORT extern const char kLang[]; 24 UI_EXPORT extern const char kLang[];
25 UI_EXPORT extern const char kLocalePak[]; 25 UI_EXPORT extern const char kLocalePak[];
26 UI_EXPORT extern const char kNoMessageBox[]; 26 UI_EXPORT extern const char kNoMessageBox[];
27 UI_EXPORT extern const char kTabletUI[];
Alexei Svitkine (slow) 2013/11/01 18:48:27 ifdef android, maybe move below all the others.
yao 2013/11/04 15:56:19 Done.
27 UI_EXPORT extern const char kTouchOptimizedUI[]; 28 UI_EXPORT extern const char kTouchOptimizedUI[];
28 UI_EXPORT extern const char kTouchOptimizedUIAuto[]; 29 UI_EXPORT extern const char kTouchOptimizedUIAuto[];
29 UI_EXPORT extern const char kTouchOptimizedUIDisabled[]; 30 UI_EXPORT extern const char kTouchOptimizedUIDisabled[];
30 UI_EXPORT extern const char kTouchOptimizedUIEnabled[]; 31 UI_EXPORT extern const char kTouchOptimizedUIEnabled[];
31 UI_EXPORT extern const char kTouchSideBezels[]; 32 UI_EXPORT extern const char kTouchSideBezels[];
32 33
33 #if defined(USE_XI2_MT) 34 #if defined(USE_XI2_MT)
34 UI_EXPORT extern const char kTouchCalibration[]; 35 UI_EXPORT extern const char kTouchCalibration[];
35 #endif 36 #endif
36 37
37 } // namespace switches 38 } // namespace switches
38 39
39 #endif // UI_BASE_UI_BASE_SWITCHES_H_ 40 #endif // UI_BASE_UI_BASE_SWITCHES_H_
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698