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

Unified Diff: aura/desktop_host_win.cc

Issue 7717015: Add support for GYP_DEFINES aura_wm=1 which also defines views_compositor=1. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src/
Patch Set: Created 9 years, 4 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 | « aura/demo/demo_main.cc ('k') | build/common.gypi » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: aura/desktop_host_win.cc
===================================================================
--- aura/desktop_host_win.cc (revision 97880)
+++ aura/desktop_host_win.cc (working copy)
@@ -57,7 +57,11 @@
LPARAM l_param) {
MSG msg = { hwnd(), message, w_param, l_param, 0,
{ GET_X_LPARAM(l_param), GET_Y_LPARAM(l_param) } };
- SetMsgHandled(desktop_->OnMouseEvent(MouseEvent(msg)));
+ MouseEvent event(msg);
+ bool handled = false;
+ if (!(event.flags() & ui::EF_IS_NON_CLIENT))
+ handled = desktop_->OnMouseEvent(event);
+ SetMsgHandled(handled);
return 0;
}
« no previous file with comments | « aura/demo/demo_main.cc ('k') | build/common.gypi » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698