| OLD | NEW |
| 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 Loading... |
| 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 |
| OLD | NEW |