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

Unified Diff: ui/events/event.h

Issue 2953643002: Replaced synthetic MouseEvent in CustomButton::AcceleratorPressed() with just an Event. (Closed)
Patch Set: Created 3 years, 6 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 | « no previous file | ui/views/controls/button/custom_button.cc » ('j') | ui/views/controls/button/custom_button.cc » ('J')
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: ui/events/event.h
diff --git a/ui/events/event.h b/ui/events/event.h
index 2a2e0c1c9335f65d701943f7a72a6c3cab1ace8d..f2f898a08d313fc6b517114342f5bb85066148b2 100644
--- a/ui/events/event.h
+++ b/ui/events/event.h
@@ -296,8 +296,9 @@ class EVENTS_EXPORT Event {
void SetHandled();
bool handled() const { return result_ != ER_UNHANDLED; }
- protected:
Event(EventType type, base::TimeTicks time_stamp, int flags);
bruthig 2017/06/21 21:40:52 Move this to line 55.
+
+ protected:
Event(const base::NativeEvent& native_event, EventType type, int flags);
Event(const Event& copy);
void SetType(EventType type);
« no previous file with comments | « no previous file | ui/views/controls/button/custom_button.cc » ('j') | ui/views/controls/button/custom_button.cc » ('J')

Powered by Google App Engine
This is Rietveld 408576698