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

Unified Diff: ui/events/event.h

Issue 1294523004: ozone: Handle pressure and tilt for stylus devices (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@new-pe-details
Patch Set: Use PointerDetails directly Created 5 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 | « no previous file | ui/events/ozone/evdev/device_event_dispatcher_evdev.h » ('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 317ee92b133f62ff46afb6498f04d2fed46bb3b8..ea6ec5cba42ba08d38ecfd0010688e6f4fe89c7f 100644
--- a/ui/events/event.h
+++ b/ui/events/event.h
@@ -478,6 +478,9 @@ class EVENTS_EXPORT MouseEvent : public LocatedEvent {
// Event details common to MouseEvent and TouchEvent.
const PointerDetails& pointer_details() { return pointer_details_; }
+ void set_pointer_details(const PointerDetails& details) {
+ pointer_details_ = details;
+ }
private:
FRIEND_TEST_ALL_PREFIXES(EventTest, DoubleClickRequiresRelease);
« no previous file with comments | « no previous file | ui/events/ozone/evdev/device_event_dispatcher_evdev.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698