From 347a0c74816b8cea5e595e39dca62dd037b2d686 Mon Sep 17 00:00:00 2001 From: "rbyers@chromium.org" Date: Mon, 14 May 2012 20:28:06 +0000 Subject: Make touch-optimized-ui a tri-state flag By default ('auto') touch-optimized-UI will be enabled if any touch screen is present. The user can also manually disable or enable it ('disabled', 'enabled') for testing purposes. Note that for now --enable-touch-events is still required to enable the use of touch screens (and hence impact 'auto' here) since it's still experimental. Also cleans up all the different ways we were trying to read this mode, unifying on ui::GetDisplayLayout(). BUG=124199 TBR=estade@chromium.org (only change in resources is trivial comment change) TEST= Review URL: https://chromiumcodereview.appspot.com/10391035 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@136968 0039d316-1c4b-4281-b951-d872f2087c98 --- ui/ui.gyp | 2 -- 1 file changed, 2 deletions(-) (limited to 'ui/ui.gyp') diff --git a/ui/ui.gyp b/ui/ui.gyp index 5eca3fa..ed5b79a 100644 --- a/ui/ui.gyp +++ b/ui/ui.gyp @@ -240,8 +240,6 @@ 'base/theme_provider.h', 'base/touch/touch_factory.cc', 'base/touch/touch_factory.h', - 'base/touch/touch_mode_support.cc', - 'base/touch/touch_mode_support.h', 'base/ui_base_exports.cc', 'base/ui_base_paths.cc', 'base/ui_base_paths.h', -- cgit v1.1