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

Unified Diff: views/controls/menu/menu_host_win.cc

Issue 6756043: Consolidate Widget Event code, other cleanup. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Sync and merge. Created 9 years, 9 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 | « views/controls/menu/menu_host_win.h ('k') | views/events/event.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: views/controls/menu/menu_host_win.cc
diff --git a/views/controls/menu/menu_host_win.cc b/views/controls/menu/menu_host_win.cc
index 906dda5c8d9d91787b3b6d4eb53190e23d8e6a46..0392a3400de4239692d7d1b4bcd204bf91004ae5 100644
--- a/views/controls/menu/menu_host_win.cc
+++ b/views/controls/menu/menu_host_win.cc
@@ -107,7 +107,7 @@ RootView* MenuHostWin::CreateRootView() {
return new MenuHostRootView(this, submenu_);
}
-bool MenuHostWin::ReleaseCaptureOnMouseReleased() {
+bool MenuHostWin::ShouldReleaseCaptureOnMouseReleased() const {
return false;
}
@@ -116,7 +116,7 @@ bool MenuHostWin::ReleaseCaptureOnMouseReleased() {
void MenuHostWin::DoCapture() {
owns_capture_ = true;
- SetNativeCapture();
+ SetMouseCapture();
}
////////////////////////////////////////////////////////////////////////////////
« no previous file with comments | « views/controls/menu/menu_host_win.h ('k') | views/events/event.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698