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

Unified 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: make functions under namespace ui 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 side-by-side diff with in-line comments
Download patch
Index: ui/base/ui_base_switches.h
diff --git a/ui/base/ui_base_switches.h b/ui/base/ui_base_switches.h
index bab38eb331972a7d6077e586e3d0f40730144c93..10dd80f33fb71f1a43f790288f5c1199bc55af0f 100644
--- a/ui/base/ui_base_switches.h
+++ b/ui/base/ui_base_switches.h
@@ -30,6 +30,10 @@ UI_EXPORT extern const char kTouchOptimizedUIDisabled[];
UI_EXPORT extern const char kTouchOptimizedUIEnabled[];
UI_EXPORT extern const char kTouchSideBezels[];
+#if defined(OS_ANDROID)
+UI_EXPORT extern const char kTabletUI[];
+#endif
+
#if defined(USE_XI2_MT)
UI_EXPORT extern const char kTouchCalibration[];
#endif

Powered by Google App Engine
This is Rietveld 408576698