OLD | NEW |
---|---|
(Empty) | |
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 | |
3 // found in the LICENSE file. | |
4 | |
5 #ifndef COMPONENTS_KEYBOARD_LOCK_KEY_EVENT_INTERCEPTOR_INSTALLER_H_ | |
6 #define COMPONENTS_KEYBOARD_LOCK_KEY_EVENT_INTERCEPTOR_INSTALLER_H_ | |
7 | |
8 #include "components/keyboard_lock/key_event_interceptor.h" | |
9 | |
10 namespace keyboard_lock { | |
11 | |
12 class KeyboardLockHost; | |
13 | |
14 // Installs itself as the default implementation of KeyEventInterceptor in | |
15 // KeyboardLockHost. | |
16 class KeyEventInterceptorInstaller : public KeyEventInterceptor { | |
17 public: | |
18 ~KeyEventInterceptorInstaller() override; | |
19 | |
20 protected: | |
21 KeyEventInterceptorInstaller(KeyboardLockHost* host); | |
dtapuska
2017/04/18 13:43:17
Do you need a DISALLOW_COPY ?
Hzj_jie
2017/04/19 00:46:26
Done.
| |
22 }; | |
23 | |
24 } // namespace keyboard_lock | |
25 | |
26 #endif // COMPONENTS_KEYBOARD_LOCK_KEY_EVENT_INTERCEPTOR_INSTALLER_H_ | |
OLD | NEW |