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

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

Issue 2639273002: Give WebTouchEvent and WebKeyboardEvent their own headers (Closed)
Patch Set: Rebase Created 3 years, 11 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 KeyboardEventManager_h 5 #ifndef KeyboardEventManager_h
6 #define KeyboardEventManager_h 6 #define KeyboardEventManager_h
7 7
8 #include "core/CoreExport.h" 8 #include "core/CoreExport.h"
9 #include "platform/PlatformEvent.h" 9 #include "platform/PlatformEvent.h"
10 #include "platform/heap/Handle.h" 10 #include "platform/heap/Handle.h"
11 #include "platform/heap/Visitor.h" 11 #include "platform/heap/Visitor.h"
12 #include "public/platform/WebFocusType.h" 12 #include "public/platform/WebFocusType.h"
13 #include "public/platform/WebInputEvent.h" 13 #include "public/platform/WebInputEvent.h"
14 #include "public/platform/WebInputEventResult.h" 14 #include "public/platform/WebInputEventResult.h"
15 #include "wtf/Allocator.h" 15 #include "wtf/Allocator.h"
16 16
17 namespace blink { 17 namespace blink {
18 18
19 class KeyboardEvent; 19 class KeyboardEvent;
20 class LocalFrame; 20 class LocalFrame;
21 class ScrollManager; 21 class ScrollManager;
22 class WebKeyboardEvent;
22 23
23 enum class OverrideCapsLockState { Default, On, Off }; 24 enum class OverrideCapsLockState { Default, On, Off };
24 25
25 class CORE_EXPORT KeyboardEventManager 26 class CORE_EXPORT KeyboardEventManager
26 : public GarbageCollectedFinalized<KeyboardEventManager> { 27 : public GarbageCollectedFinalized<KeyboardEventManager> {
27 WTF_MAKE_NONCOPYABLE(KeyboardEventManager); 28 WTF_MAKE_NONCOPYABLE(KeyboardEventManager);
28 29
29 public: 30 public:
30 static const int kAccessKeyModifiers = 31 static const int kAccessKeyModifiers =
31 // TODO(crbug.com/618397): Add a settings to control this behavior. 32 // TODO(crbug.com/618397): Add a settings to control this behavior.
(...skipping 26 matching lines...) Expand all
58 void defaultArrowEventHandler(KeyboardEvent*, Node*); 59 void defaultArrowEventHandler(KeyboardEvent*, Node*);
59 60
60 const Member<LocalFrame> m_frame; 61 const Member<LocalFrame> m_frame;
61 62
62 Member<ScrollManager> m_scrollManager; 63 Member<ScrollManager> m_scrollManager;
63 }; 64 };
64 65
65 } // namespace blink 66 } // namespace blink
66 67
67 #endif // KeyboardEventManager_h 68 #endif // KeyboardEventManager_h
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698