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

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: 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 | « ui/aura/dispatcher_linux.cc ('k') | ui/aura/monitor_change_observer_x11.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: ui/aura/dispatcher_win.cc
diff --git a/ui/aura/dispatcher_win.cc b/ui/aura/dispatcher_win.cc
index 9f604363bd4eb7fcf7b32d3cfb5c1eeff1ffbe01..c406edee8582346f2bc6e7d28aee8cc59c409f54 100644
--- a/ui/aura/dispatcher_win.cc
+++ b/ui/aura/dispatcher_win.cc
@@ -14,13 +14,13 @@ class DispatcherWin : public MessageLoop::Dispatcher {
virtual ~DispatcherWin() {}
// Overridden from MessageLoop::Dispatcher:
- virtual bool Dispatch(const MSG& msg) OVERRIDE;
+ virtual bool Dispatch(const base::NativeEvent& event) OVERRIDE;
private:
DISALLOW_COPY_AND_ASSIGN(DispatcherWin);
};
-bool DispatcherWin::Dispatch(const MSG& msg) {
+bool DispatcherWin::Dispatch(const base::NativeEvent& msg) {
TranslateMessage(&msg);
DispatchMessage(&msg);
return true;
« no previous file with comments | « ui/aura/dispatcher_linux.cc ('k') | ui/aura/monitor_change_observer_x11.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698