Index: chrome/browser/automation/ui_controls_gtk.cc |
diff --git a/chrome/browser/automation/ui_controls_gtk.cc b/chrome/browser/automation/ui_controls_gtk.cc |
index 3c7e601a47ebcda71e05bb65314da50f833f006d..d9b02d12a4831fcc9e9893139d1653f3a9c4c895 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_; |