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 2680146402cfdfc44bd5ecd615d6a62e856ccbdb..2f8e0f768b984dbc407c00b2137f137cf097077e 100644 |
--- a/chrome/browser/notifications/balloon_collection_impl.h |
+++ b/chrome/browser/notifications/balloon_collection_impl.h |
@@ -54,13 +54,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: |