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 #include "sky/engine/config.h" | |
6 #include "sky/engine/core/events/PointerEvent.h" | 5 #include "sky/engine/core/events/PointerEvent.h" |
7 | 6 |
8 namespace blink { | 7 namespace blink { |
9 | 8 |
10 static AtomicString stringForType(WebInputEvent::Type type) | 9 static AtomicString stringForType(WebInputEvent::Type type) |
11 { | 10 { |
12 if (type == WebInputEvent::PointerDown) | 11 if (type == WebInputEvent::PointerDown) |
13 return EventTypeNames::pointerdown; | 12 return EventTypeNames::pointerdown; |
14 if (type == WebInputEvent::PointerUp) | 13 if (type == WebInputEvent::PointerUp) |
15 return EventTypeNames::pointerup; | 14 return EventTypeNames::pointerup; |
(...skipping 82 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
98 , m_radiusMajor(initializer.radiusMajor) | 97 , m_radiusMajor(initializer.radiusMajor) |
99 , m_radiusMinor(initializer.radiusMinor) | 98 , m_radiusMinor(initializer.radiusMinor) |
100 , m_radiusMin(initializer.radiusMin) | 99 , m_radiusMin(initializer.radiusMin) |
101 , m_radiusMax(initializer.radiusMax) | 100 , m_radiusMax(initializer.radiusMax) |
102 , m_orientation(initializer.orientation) | 101 , m_orientation(initializer.orientation) |
103 , m_tilt(initializer.tilt) | 102 , m_tilt(initializer.tilt) |
104 { | 103 { |
105 } | 104 } |
106 | 105 |
107 } // namespace blink | 106 } // namespace blink |
OLD | NEW |