OLD | NEW |
1 // Copyright 2014 The Chromium Authors. All rights reserved. | 1 // Copyright 2015 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_NORMALIZING_INPUT_FILTER_MAC_H_ |
| 6 #define REMOTING_CLIENT_NORMALIZING_INPUT_FILTER_MAC_H_ |
| 7 |
5 #include <map> | 8 #include <map> |
6 | 9 |
7 #include "remoting/protocol/input_filter.h" | 10 #include "remoting/protocol/input_filter.h" |
8 | 11 |
9 namespace remoting { | 12 namespace remoting { |
10 | 13 |
11 // NormalizingInputFilterMac is designed to solve the problem of missing keyup | 14 // NormalizingInputFilterMac is designed to solve the problem of missing keyup |
12 // events on Mac. | 15 // events on Mac. |
13 // | 16 // |
14 // PROBLEM | 17 // PROBLEM |
(...skipping 41 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
56 // Generate keyup events for any keys pressed with CMD. | 59 // Generate keyup events for any keys pressed with CMD. |
57 void GenerateKeyupEvents(); | 60 void GenerateKeyupEvents(); |
58 | 61 |
59 // A map that stores pressed keycodes and the corresponding key event. | 62 // A map that stores pressed keycodes and the corresponding key event. |
60 KeyPressedMap key_pressed_map_; | 63 KeyPressedMap key_pressed_map_; |
61 | 64 |
62 DISALLOW_COPY_AND_ASSIGN(NormalizingInputFilterMac); | 65 DISALLOW_COPY_AND_ASSIGN(NormalizingInputFilterMac); |
63 }; | 66 }; |
64 | 67 |
65 } // namespace remoting | 68 } // namespace remoting |
| 69 |
| 70 #endif // REMOTING_CLIENT_NORMALIZING_INPUT_FILTER_MAC_H_ |
OLD | NEW |