Chromium Code Reviews| Index: ui/base/ui_base_switches.cc |
| diff --git a/ui/base/ui_base_switches.cc b/ui/base/ui_base_switches.cc |
| index a955933e9045aa3afe78d08f0534b375c81d4187..6e3049209be222dae99e9b0dffa238e13e31334c 100644 |
| --- a/ui/base/ui_base_switches.cc |
| +++ b/ui/base/ui_base_switches.cc |
| @@ -50,6 +50,7 @@ const char kLocalePak[] = "locale_pak"; |
| // do not have a user interface. |
| const char kNoMessageBox[] = "no-message-box"; |
| + |
|
Alexei Svitkine (slow)
2013/11/04 16:08:51
Nit: Remove extra line you added here.
yao
2013/11/04 19:38:29
Done.
|
| // Enables UI changes that make it easier to use with a touchscreen. |
| // WARNING: Do not check this flag directly when deciding what UI to draw, |
| // instead you must call ui::GetDisplayLayout |
| @@ -67,6 +68,11 @@ const char kTouchOptimizedUIDisabled[] = "disabled"; |
| // Enables touch events on the side bezels. |
| const char kTouchSideBezels[] = "touch-side-bezels"; |
| +#if defined(OS_ANDROID) |
| +// Uses the tablet specific UI components when available |
| +const char kTabletUI[] = "tablet-ui"; |
| +#endif |
| + |
| #if defined(USE_XI2_MT) |
| // The calibration factors given as "<left>,<right>,<top>,<bottom>". |
| const char kTouchCalibration[] = "touch-calibration"; |