diff options
Diffstat (limited to 'chrome/browser/automation/ui_controls_gtk.cc')
-rw-r--r-- | chrome/browser/automation/ui_controls_gtk.cc | 10 |
1 files changed, 0 insertions, 10 deletions
diff --git a/chrome/browser/automation/ui_controls_gtk.cc b/chrome/browser/automation/ui_controls_gtk.cc index 3c7e601a..d9b02d1 100644 --- a/chrome/browser/automation/ui_controls_gtk.cc +++ b/chrome/browser/automation/ui_controls_gtk.cc @@ -42,16 +42,7 @@ class EventWaiter : public MessageLoopForUI::Observer { virtual ~EventWaiter() { MessageLoopForUI::current()->RemoveObserver(this); } -#if defined(TOUCH_UI) - // MessageLoop::Observer implementation: - virtual base::EventStatus WillProcessEvent(const base::NativeEvent& event) { - NOTIMPLEMENTED(); - return base::EVENT_CONTINUE; - } - virtual void DidProcessEvent(const base::NativeEvent& event) { - } -#else // MessageLoop::Observer implementation: virtual void WillProcessEvent(GdkEvent* event) { if ((event->type == type_) && (--count_ == 0)) { @@ -69,7 +60,6 @@ class EventWaiter : public MessageLoopForUI::Observer { virtual void DidProcessEvent(GdkEvent* event) { // No-op. } -#endif private: base::Closure task_; |