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

Unified Diff: views/mouse_watcher.cc

Issue 7996008: Get views and views_unittests to build w/ use_aura=1 (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Removed some chrome changes Created 9 years, 3 months 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
Index: views/mouse_watcher.cc
diff --git a/views/mouse_watcher.cc b/views/mouse_watcher.cc
index 83fe75d2f3ab32be141b1ec008b1db5928e50fb9..4ef78509c0a93899058acea7bdf1f5635791f7d1 100644
--- a/views/mouse_watcher.cc
+++ b/views/mouse_watcher.cc
@@ -76,7 +76,7 @@ class MouseWatcher::Observer : public MessageLoopForUI::Observer {
}
return EVENT_CONTINUE;
}
-#else
+#elif defined(TOOLKIT_USES_GTK)
void WillProcessEvent(GdkEvent* event) {
}
@@ -92,6 +92,12 @@ class MouseWatcher::Observer : public MessageLoopForUI::Observer {
break;
}
}
+#else
+ void WillProcessEvent(GdkEvent* event) {
sadrul 2011/09/22 17:44:31 I think this should be MessageLoopForUI::Observe
DaveMoore 2011/09/22 18:03:07 Done.
+ }
+
+ void DidProcessEvent(GdkEvent* event) {
+ }
#endif
private:

Powered by Google App Engine
This is Rietveld 408576698