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

Unified Diff: ui/views/controls/button/custom_button.h

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/checkbox.cc ('k') | ui/views/controls/button/custom_button.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: ui/views/controls/button/custom_button.h
===================================================================
--- ui/views/controls/button/custom_button.h (revision 151055)
+++ ui/views/controls/button/custom_button.h (working copy)
@@ -109,12 +109,12 @@
// Returns true if the event is one that can trigger notifying the listener.
// This implementation returns true if the left mouse button is down.
- virtual bool IsTriggerableEvent(const Event& event);
+ virtual bool IsTriggerableEvent(const ui::Event& event);
// Returns true if the button should become pressed when the user
// holds the mouse down over the button. For this implementation,
// we simply return IsTriggerableEvent(event).
- virtual bool ShouldEnterPushedState(const Event& event);
+ virtual bool ShouldEnterPushedState(const ui::Event& event);
// Overridden from View:
virtual void ViewHierarchyChanged(bool is_add,
« no previous file with comments | « ui/views/controls/button/checkbox.cc ('k') | ui/views/controls/button/custom_button.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698