Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(54)

Side by Side Diff: remoting/client/normalizing_input_filter_mac.h

Issue 1542203002: Switch to standard integer types in remoting/. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@int-remoting-host
Patch Set: Created 4 years, 12 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch
OLDNEW
1 // Copyright 2015 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_ 5 #ifndef REMOTING_CLIENT_NORMALIZING_INPUT_FILTER_MAC_H_
6 #define REMOTING_CLIENT_NORMALIZING_INPUT_FILTER_MAC_H_ 6 #define REMOTING_CLIENT_NORMALIZING_INPUT_FILTER_MAC_H_
7 7
8 #include <map> 8 #include <map>
9 9
10 #include "base/macros.h"
10 #include "remoting/protocol/input_filter.h" 11 #include "remoting/protocol/input_filter.h"
11 12
12 namespace remoting { 13 namespace remoting {
13 14
14 // NormalizingInputFilterMac is designed to solve the problem of missing keyup 15 // NormalizingInputFilterMac is designed to solve the problem of missing keyup
15 // events on Mac. 16 // events on Mac.
16 // 17 //
17 // PROBLEM 18 // PROBLEM
18 // 19 //
19 // On Mac if user presses CMD and then C key there is no keyup event generated 20 // On Mac if user presses CMD and then C key there is no keyup event generated
(...skipping 41 matching lines...) Expand 10 before | Expand all | Expand 10 after
61 62
62 // A map that stores pressed keycodes and the corresponding key event. 63 // A map that stores pressed keycodes and the corresponding key event.
63 KeyPressedMap key_pressed_map_; 64 KeyPressedMap key_pressed_map_;
64 65
65 DISALLOW_COPY_AND_ASSIGN(NormalizingInputFilterMac); 66 DISALLOW_COPY_AND_ASSIGN(NormalizingInputFilterMac);
66 }; 67 };
67 68
68 } // namespace remoting 69 } // namespace remoting
69 70
70 #endif // REMOTING_CLIENT_NORMALIZING_INPUT_FILTER_MAC_H_ 71 #endif // REMOTING_CLIENT_NORMALIZING_INPUT_FILTER_MAC_H_
OLDNEW
« no previous file with comments | « remoting/client/normalizing_input_filter_cros_unittest.cc ('k') | remoting/client/normalizing_input_filter_mac_unittest.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698