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

Unified Diff: ui/events/event.h

Issue 2720133002: Make pinch zoom work on chromeos by setting touch id correctly (Closed)
Patch Set: pinch zoom Created 3 years, 10 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/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 f93d115afd81438ec39c23f74a482999982ad753..172746df713482408c9134fe3441cc3bd6cc52a7 100644
--- a/ui/events/event.h
+++ b/ui/events/event.h
@@ -578,9 +578,7 @@ class EVENTS_EXPORT MouseEvent : public LocatedEvent {
// Event details common to MouseEvent and TouchEvent.
const PointerDetails& pointer_details() const { return pointer_details_; }
- void set_pointer_details(const PointerDetails& details) {
- pointer_details_ = details;
- }
+ void set_pointer_details(const PointerDetails& details);
private:
FRIEND_TEST_ALL_PREFIXES(EventTest, DoubleClickRequiresRelease);
@@ -710,9 +708,7 @@ class EVENTS_EXPORT TouchEvent : public LocatedEvent {
// Event details common to MouseEvent and TouchEvent.
const PointerDetails& pointer_details() const { return pointer_details_; }
- void set_pointer_details(const PointerDetails& pointer_details) {
- pointer_details_ = pointer_details;
- }
+ void set_pointer_details(const PointerDetails& pointer_details);
private:
// Adjusts rotation_angle_ to within the acceptable range.
« no previous file with comments | « no previous file | ui/events/event.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698