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

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

Issue 2430183002: Move arrow scrolling into KeyboardEventManager. (Closed)
Patch Set: Add keyEvent() null check to fix test Created 4 years, 1 month 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"
(...skipping 37 matching lines...) Expand 10 before | Expand all | Expand 10 after
48 48
49 private: 49 private:
50 friend class Internals; 50 friend class Internals;
51 // Allows overriding the current caps lock state for testing purposes. 51 // Allows overriding the current caps lock state for testing purposes.
52 static void setCurrentCapsLockState(OverrideCapsLockState); 52 static void setCurrentCapsLockState(OverrideCapsLockState);
53 53
54 void defaultSpaceEventHandler(KeyboardEvent*, Node*); 54 void defaultSpaceEventHandler(KeyboardEvent*, Node*);
55 void defaultBackspaceEventHandler(KeyboardEvent*); 55 void defaultBackspaceEventHandler(KeyboardEvent*);
56 void defaultTabEventHandler(KeyboardEvent*); 56 void defaultTabEventHandler(KeyboardEvent*);
57 void defaultEscapeEventHandler(KeyboardEvent*); 57 void defaultEscapeEventHandler(KeyboardEvent*);
58 void defaultArrowEventHandler(WebFocusType, KeyboardEvent*); 58 void defaultArrowEventHandler(KeyboardEvent*, Node*);
59 59
60 const Member<LocalFrame> m_frame; 60 const Member<LocalFrame> m_frame;
61 61
62 Member<ScrollManager> m_scrollManager; 62 Member<ScrollManager> m_scrollManager;
63 }; 63 };
64 64
65 } // namespace blink 65 } // namespace blink
66 66
67 #endif // KeyboardEventManager_h 67 #endif // KeyboardEventManager_h
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698