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

Unified Diff: ui/views/controls/button/button_dropdown.cc

Issue 10827271: Replace views::Event with ui::Event. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src/
Patch Set: Created 8 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 | « ui/views/controls/button/button_dropdown.h ('k') | ui/views/controls/button/checkbox.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: ui/views/controls/button/button_dropdown.cc
===================================================================
--- ui/views/controls/button/button_dropdown.cc (revision 151055)
+++ ui/views/controls/button/button_dropdown.cc (working copy)
@@ -133,7 +133,7 @@
state->state = ui::AccessibilityTypes::STATE_HASPOPUP;
}
-bool ButtonDropDown::ShouldEnterPushedState(const Event& event) {
+bool ButtonDropDown::ShouldEnterPushedState(const ui::Event& event) {
// Enter PUSHED state on press with Left or Right mouse button or on taps.
// Remain in this state while the context menu is open.
return event.type() == ui::ET_GESTURE_TAP ||
« no previous file with comments | « ui/views/controls/button/button_dropdown.h ('k') | ui/views/controls/button/checkbox.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698