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

Unified Diff: views/controls/menu/menu_controller.h

Issue 6685069: Disambiguate OnMouseCaptureLost from OnMouseReleased, etc. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Refinements, etc. 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_controller.h
diff --git a/views/controls/menu/menu_controller.h b/views/controls/menu/menu_controller.h
index 3838c4547ec0160a8e732cc2bc79dd6f3ae9bb73..6991e900730e0d47ea8e43b472af5f73e7bf74f9 100644
--- a/views/controls/menu/menu_controller.h
+++ b/views/controls/menu/menu_controller.h
@@ -390,11 +390,11 @@ class MenuController : public MessageLoopForUI::Dispatcher {
// Sends a mouse release event to the current |active_mouse_view_| and sets
// it to null.
void SendMouseReleaseToActiveView(SubmenuView* event_source,
- const MouseEvent& event,
- bool cancel);
+ const MouseEvent& event);
- // Variant of above that sends a cancel mouse release.
- void SendMouseReleaseToActiveView();
+ // Sends a mouse capture lost event to the current |active_mouse_view_| and
+ // sets it to null.
+ void SendMouseCaptureLostToActiveView();
// The active instance.
static MenuController* active_instance_;

Powered by Google App Engine
This is Rietveld 408576698