OLD | NEW |
1 // Copyright (c) 2012 The Chromium Authors. All rights reserved. | 1 // Copyright (c) 2012 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 REMOTING_CLIENT_PLUGIN_PEPPER_INPUT_HANDLER_H_ | 5 #ifndef REMOTING_CLIENT_PLUGIN_PEPPER_INPUT_HANDLER_H_ |
6 #define REMOTING_CLIENT_PLUGIN_PEPPER_INPUT_HANDLER_H_ | 6 #define REMOTING_CLIENT_PLUGIN_PEPPER_INPUT_HANDLER_H_ |
7 | 7 |
8 #include <memory> | 8 #include <memory> |
9 | 9 |
10 #include "base/macros.h" | 10 #include "base/macros.h" |
11 | 11 |
12 namespace pp { | 12 namespace pp { |
13 class InputEvent; | 13 class InputEvent; |
14 } // namespace pp | 14 } // namespace pp |
15 | 15 |
16 namespace remoting { | 16 namespace remoting { |
17 | 17 |
18 namespace protocol { | 18 namespace protocol { |
19 class InputStub; | |
20 class InputEventTracker; | 19 class InputEventTracker; |
21 } // namespace protocol | 20 } // namespace protocol |
22 | 21 |
23 class PepperInputHandler { | 22 class PepperInputHandler { |
24 public: | 23 public: |
25 // Create a PepperInputHandler using the specified InputEventTracker to | 24 // Create a PepperInputHandler using the specified InputEventTracker to |
26 // handle auto-release. The InputEventTracker instance must remain valid | 25 // handle auto-release. The InputEventTracker instance must remain valid |
27 // for the lifetime of the PepperInputHandler. | 26 // for the lifetime of the PepperInputHandler. |
28 explicit PepperInputHandler(protocol::InputEventTracker* input_tracker); | 27 explicit PepperInputHandler(protocol::InputEventTracker* input_tracker); |
29 | 28 |
(...skipping 48 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
78 | 77 |
79 // Whether or not to check for stuck modifier keys on keyboard input events. | 78 // Whether or not to check for stuck modifier keys on keyboard input events. |
80 bool detect_stuck_modifiers_; | 79 bool detect_stuck_modifiers_; |
81 | 80 |
82 DISALLOW_COPY_AND_ASSIGN(PepperInputHandler); | 81 DISALLOW_COPY_AND_ASSIGN(PepperInputHandler); |
83 }; | 82 }; |
84 | 83 |
85 } // namespace remoting | 84 } // namespace remoting |
86 | 85 |
87 #endif // REMOTING_CLIENT_PLUGIN_PEPPER_INPUT_HANDLER_H_ | 86 #endif // REMOTING_CLIENT_PLUGIN_PEPPER_INPUT_HANDLER_H_ |
OLD | NEW |