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

Side by Side Diff: sky/engine/core/events/PointerEvent.h

Issue 1147143005: Make Drawer in components2 work (Closed) Base URL: git@github.com:domokit/mojo.git@master
Patch Set: Rebase Created 5 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 unified diff | Download patch
« no previous file with comments | « no previous file | sky/engine/core/events/PointerEvent.idl » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
1 // Copyright 2015 The Chromium Authors. All rights reserved. 1 // Copyright 2015 The Chromium Authors. All rights reserved.
2 // Use of this source code is governed by a BSD-style license that can be 2 // Use of this source code is governed by a BSD-style license that can be
3 // found in the LICENSE file. 3 // found in the LICENSE file.
4 4
5 #ifndef SKY_ENGINE_CORE_EVENTS_POINTEREVENT_H_ 5 #ifndef SKY_ENGINE_CORE_EVENTS_POINTEREVENT_H_
6 #define SKY_ENGINE_CORE_EVENTS_POINTEREVENT_H_ 6 #define SKY_ENGINE_CORE_EVENTS_POINTEREVENT_H_
7 7
8 #include "sky/engine/core/events/Event.h" 8 #include "sky/engine/core/events/Event.h"
9 #include "sky/engine/public/platform/WebInputEvent.h" 9 #include "sky/engine/public/platform/WebInputEvent.h"
10 10
(...skipping 59 matching lines...) Expand 10 before | Expand all | Expand 10 after
70 double distance() const { return m_distance; } 70 double distance() const { return m_distance; }
71 double distanceMin() const { return m_distanceMin; } 71 double distanceMin() const { return m_distanceMin; }
72 double distanceMax() const { return m_distanceMax; } 72 double distanceMax() const { return m_distanceMax; }
73 double radiusMajor() const { return m_radiusMajor; } 73 double radiusMajor() const { return m_radiusMajor; }
74 double radiusMinor() const { return m_radiusMinor; } 74 double radiusMinor() const { return m_radiusMinor; }
75 double radiusMin() const { return m_radiusMin; } 75 double radiusMin() const { return m_radiusMin; }
76 double radiusMax() const { return m_radiusMax; } 76 double radiusMax() const { return m_radiusMax; }
77 double orientation() const { return m_orientation; } 77 double orientation() const { return m_orientation; }
78 double tilt() const { return m_tilt; } 78 double tilt() const { return m_tilt; }
79 79
80 void setDX(double dx) { m_dx = dx; } 80 void setDx(double dx) { m_dx = dx; }
81 void setDY(double dy) { m_dy = dy; } 81 void setDy(double dy) { m_dy = dy; }
82 82
83 private: 83 private:
84 PointerEvent(); 84 PointerEvent();
85 explicit PointerEvent(const WebPointerEvent& event); 85 explicit PointerEvent(const WebPointerEvent& event);
86 PointerEvent(const AtomicString&, const PointerEventInit&); 86 PointerEvent(const AtomicString&, const PointerEventInit&);
87 87
88 int m_pointer; 88 int m_pointer;
89 String m_kind; 89 String m_kind;
90 double m_x; 90 double m_x;
91 double m_y; 91 double m_y;
(...skipping 13 matching lines...) Expand all
105 double m_radiusMinor; 105 double m_radiusMinor;
106 double m_radiusMin; 106 double m_radiusMin;
107 double m_radiusMax; 107 double m_radiusMax;
108 double m_orientation; 108 double m_orientation;
109 double m_tilt; 109 double m_tilt;
110 }; 110 };
111 111
112 } // namespace blink 112 } // namespace blink
113 113
114 #endif // SKY_ENGINE_CORE_EVENTS_POINTEREVENT_H_ 114 #endif // SKY_ENGINE_CORE_EVENTS_POINTEREVENT_H_
OLDNEW
« no previous file with comments | « no previous file | sky/engine/core/events/PointerEvent.idl » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698