diff options
author | saintlou@chromium.org <saintlou@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2011-11-23 01:13:32 +0000 |
---|---|---|
committer | saintlou@chromium.org <saintlou@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2011-11-23 01:13:32 +0000 |
commit | a8b55d32d8397157fce2d30a0b9cafbd1b482063 (patch) | |
tree | b16999746e1aa06267a9bd33af5cae5b685edb79 /views/controls/menu/menu_controller.cc | |
parent | fba365824b43bdff5ff731f58c3e9d9dab0436d6 (diff) | |
download | chromium_src-a8b55d32d8397157fce2d30a0b9cafbd1b482063.zip chromium_src-a8b55d32d8397157fce2d30a0b9cafbd1b482063.tar.gz chromium_src-a8b55d32d8397157fce2d30a0b9cafbd1b482063.tar.bz2 |
Remove remaining defined(TOUCH_UI) under views/controls
BUG=105046
TEST=none
Review URL: http://codereview.chromium.org/8651006
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@111272 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'views/controls/menu/menu_controller.cc')
-rw-r--r-- | views/controls/menu/menu_controller.cc | 18 |
1 files changed, 1 insertions, 17 deletions
diff --git a/views/controls/menu/menu_controller.cc b/views/controls/menu/menu_controller.cc index 90dd6b2..71960a85 100644 --- a/views/controls/menu/menu_controller.cc +++ b/views/controls/menu/menu_controller.cc @@ -26,16 +26,10 @@ #if defined(USE_AURA) #include "ui/aura/desktop.h" -#endif - -#if defined(TOOLKIT_USES_GTK) +#elif defined(TOOLKIT_USES_GTK) #include "ui/base/keycodes/keyboard_code_conversion_gtk.h" #endif -#if defined(TOUCH_UI) -#include "ui/views/focus/accelerator_handler.h" -#endif - using base::Time; using base::TimeDelta; using ui::OSExchangeData; @@ -917,16 +911,6 @@ base::MessagePumpDispatcher::DispatchStatus base::MessagePumpDispatcher::EVENT_QUIT : base::MessagePumpDispatcher::EVENT_PROCESSED; } -#elif defined(TOUCH_UI) -base::MessagePumpDispatcher::DispatchStatus - MenuController::Dispatch(XEvent* xev) { - if (!DispatchXEvent(xev)) - return EVENT_IGNORED; - - return exit_type_ != EXIT_NONE ? - base::MessagePumpDispatcher::EVENT_QUIT : - base::MessagePumpDispatcher::EVENT_PROCESSED; -} #else bool MenuController::Dispatch(GdkEvent* event) { if (exit_type_ == EXIT_ALL || exit_type_ == EXIT_DESTROYED) { |