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

Side by Side Diff: third_party/WebKit/Source/core/input/PointerEventManager.h

Issue 1998963002: Input: TouchEventManager and PointerEventManager are non-copyable (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 4 years, 7 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/input/TouchEventManager.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 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 PointerEventManager_h 5 #ifndef PointerEventManager_h
6 #define PointerEventManager_h 6 #define PointerEventManager_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 "core/events/PointerEventFactory.h" 10 #include "core/events/PointerEventFactory.h"
11 #include "core/input/TouchEventManager.h" 11 #include "core/input/TouchEventManager.h"
12 #include "public/platform/WebInputEventResult.h" 12 #include "public/platform/WebInputEventResult.h"
13 #include "public/platform/WebPointerProperties.h" 13 #include "public/platform/WebPointerProperties.h"
14 #include "wtf/Allocator.h" 14 #include "wtf/Allocator.h"
15 #include "wtf/HashMap.h" 15 #include "wtf/HashMap.h"
16 16
17 namespace blink { 17 namespace blink {
18 18
19 class LocalFrame; 19 class LocalFrame;
20 20
21 // This class takes care of dispatching all pointer events and keeps track of 21 // This class takes care of dispatching all pointer events and keeps track of
22 // properties of active pointer events. 22 // properties of active pointer events.
23 class CORE_EXPORT PointerEventManager { 23 class CORE_EXPORT PointerEventManager {
24 WTF_MAKE_NONCOPYABLE(PointerEventManager);
24 DISALLOW_NEW(); 25 DISALLOW_NEW();
25 public: 26 public:
26 explicit PointerEventManager(LocalFrame*); 27 explicit PointerEventManager(LocalFrame*);
27 ~PointerEventManager(); 28 ~PointerEventManager();
28 DECLARE_TRACE(); 29 DECLARE_TRACE();
29 30
30 WebInputEventResult sendMousePointerEvent( 31 WebInputEventResult sendMousePointerEvent(
31 Node*, const AtomicString& type, 32 Node*, const AtomicString& type,
32 int clickCount, const PlatformMouseEvent&, 33 int clickCount, const PlatformMouseEvent&,
33 Node* relatedTarget, 34 Node* relatedTarget,
(...skipping 138 matching lines...) Expand 10 before | Expand all | Expand 10 after
172 PointerCapturingMap m_pointerCaptureTarget; 173 PointerCapturingMap m_pointerCaptureTarget;
173 PointerCapturingMap m_pendingPointerCaptureTarget; 174 PointerCapturingMap m_pendingPointerCaptureTarget;
174 PointerEventFactory m_pointerEventFactory; 175 PointerEventFactory m_pointerEventFactory;
175 TouchEventManager m_touchEventManager; 176 TouchEventManager m_touchEventManager;
176 177
177 }; 178 };
178 179
179 } // namespace blink 180 } // namespace blink
180 181
181 #endif // PointerEventManager_h 182 #endif // PointerEventManager_h
OLDNEW
« no previous file with comments | « no previous file | third_party/WebKit/Source/core/input/TouchEventManager.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698