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

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: Consolidate Widget Event code, other cleanup. 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
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 3e77287219b246071b0d97220261dd7710162c6a..ac789636f5244ba3fd96f492cc13896325c61b72 100644
--- a/views/controls/menu/menu_host_win.cc
+++ b/views/controls/menu/menu_host_win.cc
@@ -1,4 +1,4 @@
-// Copyright (c) 2010 The Chromium Authors. All rights reserved.
+// Copyright (c) 2011 The Chromium Authors. All rights reserved.
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.
@@ -103,13 +103,13 @@ RootView* MenuHostWin::CreateRootView() {
return new MenuHostRootView(this, submenu_);
}
-bool MenuHostWin::ReleaseCaptureOnMouseReleased() {
+bool MenuHostWin::ShouldReleaseCaptureOnMouseReleased() const {
return false;
}
void MenuHostWin::DoCapture() {
owns_capture_ = true;
- SetNativeCapture();
+ SetMouseCapture();
}
} // namespace views
« no previous file with comments | « views/controls/menu/menu_host_win.h ('k') | views/events/event.h » ('j') | views/widget/widget.h » ('J')

Powered by Google App Engine
This is Rietveld 408576698