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

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

Issue 1228333004: Move code that doesn't depend on PPAPI out of remoting/client/plugin (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 5 years, 5 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 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
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_
OLDNEW
« no previous file with comments | « remoting/client/normalizing_input_filter_cros_unittest.cc ('k') | remoting/client/normalizing_input_filter_mac.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698