Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(2239)

Unified Diff: chrome/browser/automation/ui_controls_gtk.cc

Issue 8621006: Remove most obvious TOUCH_UI code (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: revert file that CQ does not like. Created 9 years, 1 month ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « no previous file | chrome/browser/notifications/balloon_collection_gtk.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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_;
« no previous file with comments | « no previous file | chrome/browser/notifications/balloon_collection_gtk.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698