Index: chrome/browser/notifications/balloon_collection_impl.h |
diff --git a/chrome/browser/notifications/balloon_collection_impl.h b/chrome/browser/notifications/balloon_collection_impl.h |
index 2b4af231835a11bd97b5bf666fd3bf5dfaad4100..fdd70da5baa48127fc95549e07c5d0ec70046c2d 100644 |
--- a/chrome/browser/notifications/balloon_collection_impl.h |
+++ b/chrome/browser/notifications/balloon_collection_impl.h |
@@ -53,13 +53,13 @@ class BalloonCollectionImpl : public BalloonCollection |
virtual const Balloons& GetActiveBalloons(); |
// MessageLoopForUI::Observer interface. |
-#if defined(OS_WIN) |
- virtual void WillProcessMessage(const MSG& event) {} |
- virtual void DidProcessMessage(const MSG& event); |
-#endif |
-#if defined(TOOLKIT_USES_GTK) |
- virtual void WillProcessEvent(GdkEvent* event) {} |
- virtual void DidProcessEvent(GdkEvent* event); |
+#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; |
#endif |
protected: |