Chromium Code Reviews| OLD | NEW |
|---|---|
| 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/core/events/EventDispatchMediator.h" | 9 #include "sky/engine/core/events/EventDispatchMediator.h" |
| 10 #include "sky/engine/core/frame/LocalDOMWindow.h" | 10 #include "sky/engine/core/frame/LocalDOMWindow.h" |
| (...skipping 59 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... | |
| 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 setPrimary(bool primary) { m_primary = primary; } | |
|
esprehn
2015/01/21 02:47:51
Does this change dynamically? What happens if two
abarth-chromium
2015/01/21 07:03:26
Currently everything is marked as primary. It's s
abarth-chromium
2015/01/23 02:25:09
I removed this for now. When we have more of this
| |
| 81 | |
| 80 private: | 82 private: |
| 81 PointerEvent(); | 83 PointerEvent(); |
| 82 explicit PointerEvent(const WebPointerEvent& event); | 84 explicit PointerEvent(const WebPointerEvent& event); |
| 83 PointerEvent(const AtomicString&, const PointerEventInit&); | 85 PointerEvent(const AtomicString&, const PointerEventInit&); |
| 84 | 86 |
| 85 int m_pointer; | 87 int m_pointer; |
| 86 String m_kind; | 88 String m_kind; |
| 87 double m_x; | 89 double m_x; |
| 88 double m_y; | 90 double m_y; |
| 89 double m_dx; | 91 double m_dx; |
| (...skipping 12 matching lines...) Expand all Loading... | |
| 102 double m_radiusMinor; | 104 double m_radiusMinor; |
| 103 double m_radiusMin; | 105 double m_radiusMin; |
| 104 double m_radiusMax; | 106 double m_radiusMax; |
| 105 double m_orientation; | 107 double m_orientation; |
| 106 double m_tilt; | 108 double m_tilt; |
| 107 }; | 109 }; |
| 108 | 110 |
| 109 } // namespace blink | 111 } // namespace blink |
| 110 | 112 |
| 111 #endif // SKY_ENGINE_CORE_EVENTS_POINTEREVENT_H_ | 113 #endif // SKY_ENGINE_CORE_EVENTS_POINTEREVENT_H_ |
| OLD | NEW |