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

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

Issue 12529012: Context menu on views must show on mouse down for non-WIN. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: patch Created 7 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: ui/views/controls/menu/menu_controller.h
diff --git a/ui/views/controls/menu/menu_controller.h b/ui/views/controls/menu/menu_controller.h
index 6d2e5fb0a13d2f6dd1b326c00099634c492d1b69..f6a6e90d6ab01b1d5102c16a53b8bf0a26f0c576 100644
--- a/ui/views/controls/menu/menu_controller.h
+++ b/ui/views/controls/menu/menu_controller.h
@@ -567,6 +567,9 @@ class VIEWS_EXPORT MenuController : public MessageLoop::Dispatcher,
// The timestamp of the event which closed the menu - or 0 otherwise.
base::TimeDelta closing_event_time_;
+ // Time when the menu is first shown.
+ base::TimeDelta menu_start_time_;
sky 2013/04/04 20:36:04 Why is this a timedeal and not timeticks?
varunjain 2013/04/04 21:02:08 Done.
+
DISALLOW_COPY_AND_ASSIGN(MenuController);
};

Powered by Google App Engine
This is Rietveld 408576698