OLD | NEW |
1 // Copyright 2017 The Chromium Authors. All rights reserved. | 1 // Copyright 2017 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 #include "modules/keyboard_lock/NavigatorKeyboardLock.h" | 5 #include "modules/keyboard_lock/NavigatorKeyboardLock.h" |
6 | 6 |
7 #include "bindings/core/v8/ScriptPromise.h" | 7 #include "bindings/core/v8/ScriptPromise.h" |
8 #include "bindings/core/v8/ScriptPromiseResolver.h" | 8 #include "bindings/core/v8/ScriptPromiseResolver.h" |
9 #include "bindings/core/v8/V8Binding.h" | |
10 #include "core/frame/LocalFrame.h" | 9 #include "core/frame/LocalFrame.h" |
| 10 #include "platform/bindings/V8Binding.h" |
11 #include "platform/heap/Persistent.h" | 11 #include "platform/heap/Persistent.h" |
12 #include "platform/wtf/Assertions.h" | 12 #include "platform/wtf/Assertions.h" |
13 #include "platform/wtf/Functional.h" | 13 #include "platform/wtf/Functional.h" |
14 #include "public/platform/InterfaceProvider.h" | 14 #include "public/platform/InterfaceProvider.h" |
15 | 15 |
16 namespace blink { | 16 namespace blink { |
17 | 17 |
18 NavigatorKeyboardLock::NavigatorKeyboardLock(Navigator& navigator) | 18 NavigatorKeyboardLock::NavigatorKeyboardLock(Navigator& navigator) |
19 : Supplement<Navigator>(navigator) {} | 19 : Supplement<Navigator>(navigator) {} |
20 | 20 |
(...skipping 84 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
105 const char* NavigatorKeyboardLock::SupplementName() { | 105 const char* NavigatorKeyboardLock::SupplementName() { |
106 return "NavigatorKeyboardLock"; | 106 return "NavigatorKeyboardLock"; |
107 } | 107 } |
108 | 108 |
109 DEFINE_TRACE(NavigatorKeyboardLock) { | 109 DEFINE_TRACE(NavigatorKeyboardLock) { |
110 visitor->Trace(request_keylock_resolver_); | 110 visitor->Trace(request_keylock_resolver_); |
111 Supplement<Navigator>::Trace(visitor); | 111 Supplement<Navigator>::Trace(visitor); |
112 } | 112 } |
113 | 113 |
114 } // namespace blink | 114 } // namespace blink |
OLD | NEW |