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/dom/Element.h" | 5 #include "sky/engine/core/dom/Element.h" |
7 #include "sky/engine/core/events/GestureEvent.h" | 6 #include "sky/engine/core/events/GestureEvent.h" |
8 #include "sky/engine/wtf/text/AtomicString.h" | 7 #include "sky/engine/wtf/text/AtomicString.h" |
9 | 8 |
10 namespace blink { | 9 namespace blink { |
11 | 10 |
12 static AtomicString stringForType(WebInputEvent::Type type) | 11 static AtomicString stringForType(WebInputEvent::Type type) |
13 { | 12 { |
14 if (type == WebInputEvent::GestureScrollBegin) | 13 if (type == WebInputEvent::GestureScrollBegin) |
15 return EventTypeNames::gesturescrollstart; | 14 return EventTypeNames::gesturescrollstart; |
(...skipping 79 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
95 , m_x(initializer.x) | 94 , m_x(initializer.x) |
96 , m_y(initializer.y) | 95 , m_y(initializer.y) |
97 , m_dx(initializer.dx) | 96 , m_dx(initializer.dx) |
98 , m_dy(initializer.dy) | 97 , m_dy(initializer.dy) |
99 , m_velocityX(initializer.velocityX) | 98 , m_velocityX(initializer.velocityX) |
100 , m_velocityY(initializer.velocityY) | 99 , m_velocityY(initializer.velocityY) |
101 { | 100 { |
102 } | 101 } |
103 | 102 |
104 } // namespace blink | 103 } // namespace blink |
OLD | NEW |