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

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 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
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..55ef8d6194f2586bb906bcac243327a1fefa0343 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& xevent) OVERRIDE;
sky 2012/04/09 14:38:59 xevent -> event
oshima 2012/04/09 17:56:09 Done.
const DialogType type_;
string16 message_box_title_;

Powered by Google App Engine
This is Rietveld 408576698