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_PLATFORM_KEY_EVENT_FILTER_H_ |
| 6 #define COMPONENTS_KEYBOARD_LOCK_PLATFORM_KEY_EVENT_FILTER_H_ |
| 7 |
| 8 #include "ui/events/platform/platform_event_types.h" |
| 9 |
| 10 namespace keyboard_lock { |
| 11 |
| 12 class KeyEventFilter; |
| 13 |
| 14 class PlatformKeyEventFilter final { |
| 15 public: |
| 16 PlatformKeyEventFilter(KeyEventFilter* filter); |
| 17 ~PlatformKeyEventFilter(); |
| 18 |
| 19 bool OnPlatformEvent(const ui::PlatformEvent& event); |
| 20 |
| 21 private: |
| 22 KeyEventFilter* const filter_; |
| 23 }; |
| 24 |
| 25 } // namespace keyboard_lock |
| 26 |
| 27 #endif // COMPONENTS_KEYBOARD_LOCK_PLATFORM_KEY_EVENT_FILTER_H_ |
OLD | NEW |