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

Unified Diff: chrome/browser/ui/views/simple_message_box_views.h

Issue 9958152: Consolidate win/x dispatchers (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: sync, addressed comments Created 8 years, 8 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
« no previous file with comments | « base/message_pump_x.cc ('k') | chrome/browser/ui/views/simple_message_box_views.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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_;
« no previous file with comments | « base/message_pump_x.cc ('k') | chrome/browser/ui/views/simple_message_box_views.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698