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

Side by Side Diff: third_party/WebKit/Source/core/events/PointerEventFactory.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
OLDNEW
1 // Copyright 2016 The Chromium Authors. All rights reserved. 1 // Copyright 2016 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 PointerEventFactory_h 5 #ifndef PointerEventFactory_h
6 #define PointerEventFactory_h 6 #define PointerEventFactory_h
7 7
8 #include "core/CoreExport.h" 8 #include "core/CoreExport.h"
9 #include "core/events/PointerEvent.h" 9 #include "core/events/PointerEvent.h"
10 #include "public/platform/WebPointerProperties.h" 10 #include "public/platform/WebPointerProperties.h"
(...skipping 16 matching lines...) Expand all
27 27
28 public: 28 public:
29 PointerEventFactory(); 29 PointerEventFactory();
30 ~PointerEventFactory(); 30 ~PointerEventFactory();
31 31
32 PointerEvent* create(const AtomicString& mouseEventName, 32 PointerEvent* create(const AtomicString& mouseEventName,
33 const PlatformMouseEvent&, 33 const PlatformMouseEvent&,
34 const Vector<PlatformMouseEvent>&, 34 const Vector<PlatformMouseEvent>&,
35 LocalDOMWindow*); 35 LocalDOMWindow*);
36 36
37 PointerEvent* create(const PlatformTouchPoint&, 37 PointerEvent* create(const WebTouchPoint&,
38 const Vector<PlatformTouchPoint>&, 38 const Vector<WebTouchPoint>&,
39 PlatformEvent::Modifiers, 39 WebInputEvent::Modifiers,
40 LocalFrame*, 40 LocalFrame*,
41 DOMWindow*); 41 DOMWindow*);
42 42
43 PointerEvent* createPointerCancelEvent( 43 PointerEvent* createPointerCancelEvent(
44 const int pointerId, 44 const int pointerId,
45 const WebPointerProperties::PointerType); 45 const WebPointerProperties::PointerType);
46 46
47 // For creating capture events (i.e got/lostpointercapture) 47 // For creating capture events (i.e got/lostpointercapture)
48 PointerEvent* createPointerCaptureEvent(PointerEvent*, const AtomicString&); 48 PointerEvent* createPointerCaptureEvent(PointerEvent*, const AtomicString&);
49 49
(...skipping 75 matching lines...) Expand 10 before | Expand all | Expand 10 after
125 int m_primaryId[static_cast<int>( 125 int m_primaryId[static_cast<int>(
126 WebPointerProperties::PointerType::LastEntry) + 126 WebPointerProperties::PointerType::LastEntry) +
127 1]; 127 1];
128 int m_idCount[static_cast<int>(WebPointerProperties::PointerType::LastEntry) + 128 int m_idCount[static_cast<int>(WebPointerProperties::PointerType::LastEntry) +
129 1]; 129 1];
130 }; 130 };
131 131
132 } // namespace blink 132 } // namespace blink
133 133
134 #endif // PointerEventFactory_h 134 #endif // PointerEventFactory_h
OLDNEW
« no previous file with comments | « third_party/WebKit/Source/core/events/PointerEvent.h ('k') | third_party/WebKit/Source/core/events/PointerEventFactory.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698