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

Unified Diff: views/widget/native_widget_win.cc

Issue 8021009: Consolidate message observer API for win and aura (and touch). (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: sync Created 9 years, 3 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: views/widget/native_widget_win.cc
diff --git a/views/widget/native_widget_win.cc b/views/widget/native_widget_win.cc
index a8b61b7a8f02b7f5cba0390e1a803997a7e9b3cc..34103c1c9be12ea4da09685e9a18613f84076351 100644
--- a/views/widget/native_widget_win.cc
+++ b/views/widget/native_widget_win.cc
@@ -1121,10 +1121,11 @@ gfx::Rect NativeWidgetWin::GetWorkAreaBoundsInScreen() const {
////////////////////////////////////////////////////////////////////////////////
// NativeWidgetWin, MessageLoop::Observer implementation:
-void NativeWidgetWin::WillProcessMessage(const MSG& msg) {
+base::EventStatus NativeWidgetWin::WillProcessEvent(const MSG& msg) {
msw 2011/09/27 01:16:46 name/type
oshima 2011/09/27 02:12:12 Done.
+ return base::EVENT_CONTINUE;
}
-void NativeWidgetWin::DidProcessMessage(const MSG& msg) {
+void NativeWidgetWin::DidProcessEvent(const MSG& msg) {
RedrawInvalidRect();
}

Powered by Google App Engine
This is Rietveld 408576698