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

Unified Diff: ui/aura/dispatcher_win.cc

Issue 9958152: Consolidate win/x dispatchers (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: cleanup 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: ui/aura/dispatcher_win.cc
diff --git a/ui/aura/dispatcher_win.cc b/ui/aura/dispatcher_win.cc
index 9f604363bd4eb7fcf7b32d3cfb5c1eeff1ffbe01..6563afe2dfc765615e4ce61cfdddf431cb404598 100644
--- a/ui/aura/dispatcher_win.cc
+++ b/ui/aura/dispatcher_win.cc
@@ -14,16 +14,17 @@ class DispatcherWin : public MessageLoop::Dispatcher {
virtual ~DispatcherWin() {}
// Overridden from MessageLoop::Dispatcher:
- virtual bool Dispatch(const MSG& msg) OVERRIDE;
+ virtual base::DispatchStatus Dispatch(
+ const base::NativeEvent& event) OVERRIDE;
private:
DISALLOW_COPY_AND_ASSIGN(DispatcherWin);
};
-bool DispatcherWin::Dispatch(const MSG& msg) {
+base::DispatchStatus DispatcherWin::Dispatch(const base::NativeEvent& msg) {
TranslateMessage(&msg);
DispatchMessage(&msg);
- return true;
+ return base::EVENT_PROCESSED;
}
MessageLoop::Dispatcher* CreateDispatcher() {

Powered by Google App Engine
This is Rietveld 408576698