Index: chrome/browser/ui/views/simple_message_box_views.h |
diff --git a/chrome/browser/ui/views/simple_message_box_views.h b/chrome/browser/ui/views/simple_message_box_views.h |
index c913eb1b33f7a388e2ddf505fc7f35819c05f741..cb51c85bf19b5a97c5530dd47a5df07ade1a9bc8 100644 |
--- a/chrome/browser/ui/views/simple_message_box_views.h |
+++ b/chrome/browser/ui/views/simple_message_box_views.h |
@@ -74,14 +74,9 @@ class SimpleMessageBoxViews : public views::DialogDelegate, |
virtual ~SimpleMessageBoxViews(); |
// MessageLoop::Dispatcher implementation. |
-#if defined(OS_WIN) |
// Dispatcher method. This returns true if the menu was canceled, or |
// if the message is such that the menu should be closed. |
- virtual bool Dispatch(const MSG& msg) OVERRIDE; |
-#elif defined(USE_AURA) |
- virtual base::MessagePumpDispatcher::DispatchStatus Dispatch( |
- XEvent* xevent) OVERRIDE; |
-#endif |
+ virtual bool Dispatch(const base::NativeEvent& event) OVERRIDE; |
const DialogType type_; |
string16 message_box_title_; |