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

Unified Diff: ui/events/event.h

Issue 2270143002: ui/events: Add changed_button_flags_ in ui::PointerEvent. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Rebase Created 4 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 | « services/ui/ws/event_dispatcher.cc ('k') | ui/events/event.cc » ('j') | no next file with comments »
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 850c290489025ee615ad13b23e086d402fcd0cea..b742269fbd14ce7c385f13500360b3692b21c8ad 100644
--- a/ui/events/event.h
+++ b/ui/events/event.h
@@ -727,14 +727,18 @@ class EVENTS_EXPORT PointerEvent : public LocatedEvent {
const gfx::Point& root_location,
int flags,
int pointer_id,
+ int changed_button_flags,
const PointerDetails& pointer_details,
base::TimeTicks time_stamp);
int32_t pointer_id() const { return pointer_id_; }
+ int changed_button_flags() const { return changed_button_flags_; }
+ void set_changed_button_flags(int flags) { changed_button_flags_ = flags; }
const PointerDetails& pointer_details() const { return details_; }
private:
int32_t pointer_id_;
+ int changed_button_flags_;
PointerDetails details_;
};
« no previous file with comments | « services/ui/ws/event_dispatcher.cc ('k') | ui/events/event.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698