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

Unified Diff: chrome/browser/ui/views/tabs/dragged_tab_controller.h

Issue 8021009: Consolidate message observer API for win and aura (and touch). (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: sync 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: chrome/browser/ui/views/tabs/dragged_tab_controller.h
diff --git a/chrome/browser/ui/views/tabs/dragged_tab_controller.h b/chrome/browser/ui/views/tabs/dragged_tab_controller.h
index 10ed0d0821070fc315205065c9ce0b9aa56c920f..0826c5f9bd86ea9062225b0c7ebffbc11827688f 100644
--- a/chrome/browser/ui/views/tabs/dragged_tab_controller.h
+++ b/chrome/browser/ui/views/tabs/dragged_tab_controller.h
@@ -153,11 +153,10 @@ class DraggedTabController : public TabContentsDelegate,
const NotificationDetails& details) OVERRIDE;
// Overridden from MessageLoop::Observer:
-#if defined(OS_WIN)
- virtual void WillProcessMessage(const MSG& msg) OVERRIDE;
- virtual void DidProcessMessage(const MSG& msg) OVERRIDE;
-#elif defined(TOUCH_UI)
- virtual EventStatus WillProcessXEvent(XEvent* xevent) OVERRIDE;
+#if defined(OS_WIN) || defined(TOUCH_UI) || defined(USE_AURA)
+ virtual base::EventStatus WillProcessEvent(
+ const base::NativeEvent& event) OVERRIDE;
+ virtual void DidProcessEvent(const base::NativeEvent& event) OVERRIDE;
#elif defined(TOOLKIT_USES_GTK)
virtual void WillProcessEvent(GdkEvent* event) OVERRIDE;
virtual void DidProcessEvent(GdkEvent* event) OVERRIDE;

Powered by Google App Engine
This is Rietveld 408576698