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

Side by Side Diff: third_party/WebKit/Source/core/events/PointerEvent.h

Issue 2646163002: Remove PlatformTouchEvent/Point and use WebTouchEvent/Point instead (Closed)
Patch Set: Fix nit 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 unified diff | Download patch
« no previous file with comments | « no previous file | third_party/WebKit/Source/core/events/PointerEventFactory.h » ('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 PointerEvent_h 5 #ifndef PointerEvent_h
6 #define PointerEvent_h 6 #define PointerEvent_h
7 7
8 #include "core/events/MouseEvent.h" 8 #include "core/events/MouseEvent.h"
9 #include "core/events/PointerEventInit.h" 9 #include "core/events/PointerEventInit.h"
10 #include "platform/PlatformTouchPoint.h"
11 10
12 namespace blink { 11 namespace blink {
13 12
14 class CORE_EXPORT PointerEvent final : public MouseEvent { 13 class CORE_EXPORT PointerEvent final : public MouseEvent {
15 DEFINE_WRAPPERTYPEINFO(); 14 DEFINE_WRAPPERTYPEINFO();
16 15
17 public: 16 public:
18 static PointerEvent* create(const AtomicString& type, 17 static PointerEvent* create(const AtomicString& type,
19 const PointerEventInit& initializer) { 18 const PointerEventInit& initializer) {
20 return new PointerEvent(type, initializer); 19 return new PointerEvent(type, initializer);
(...skipping 45 matching lines...) Expand 10 before | Expand all | Expand 10 after
66 explicit PointerEventDispatchMediator(PointerEvent*); 65 explicit PointerEventDispatchMediator(PointerEvent*);
67 PointerEvent& event() const; 66 PointerEvent& event() const;
68 DispatchEventResult dispatchEvent(EventDispatcher&) const override; 67 DispatchEventResult dispatchEvent(EventDispatcher&) const override;
69 }; 68 };
70 69
71 DEFINE_EVENT_TYPE_CASTS(PointerEvent); 70 DEFINE_EVENT_TYPE_CASTS(PointerEvent);
72 71
73 } // namespace blink 72 } // namespace blink
74 73
75 #endif // PointerEvent_h 74 #endif // PointerEvent_h
OLDNEW
« no previous file with comments | « no previous file | third_party/WebKit/Source/core/events/PointerEventFactory.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698