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

Unified Diff: ui/views/controls/button/button.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.h ('k') | ui/views/controls/button/button_dropdown.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: ui/views/controls/button/button.cc
===================================================================
--- ui/views/controls/button/button.cc (revision 151055)
+++ ui/views/controls/button/button.cc (working copy)
@@ -55,7 +55,7 @@
set_accessibility_focusable(true);
}
-void Button::NotifyClick(const views::Event& event) {
+void Button::NotifyClick(const ui::Event& event) {
mouse_event_flags_ = event.IsMouseEvent() ? event.flags() : 0;
// We can be called when there is no listener, in cases like double clicks on
// menu buttons etc.
« no previous file with comments | « ui/views/controls/button/button.h ('k') | ui/views/controls/button/button_dropdown.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698