OLD | NEW |
1 // Copyright 2013 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 #include "remoting/client/plugin/normalizing_input_filter_mac.h" | 5 #include "remoting/client/normalizing_input_filter_mac.h" |
6 | 6 |
7 #include <map> | 7 #include <map> |
8 #include <vector> | 8 #include <vector> |
9 | 9 |
10 #include "base/logging.h" | 10 #include "base/logging.h" |
11 #include "remoting/proto/event.pb.h" | 11 #include "remoting/proto/event.pb.h" |
12 #include "remoting/protocol/usb_key_codes.h" | 12 #include "remoting/protocol/usb_key_codes.h" |
13 | 13 |
14 namespace remoting { | 14 namespace remoting { |
15 | 15 |
(...skipping 57 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
73 protocol::KeyEvent event = i->second; | 73 protocol::KeyEvent event = i->second; |
74 event.set_pressed(false); | 74 event.set_pressed(false); |
75 InputFilter::InjectKeyEvent(event); | 75 InputFilter::InjectKeyEvent(event); |
76 } | 76 } |
77 | 77 |
78 // Clearing the map now that we have released all the pressed keys. | 78 // Clearing the map now that we have released all the pressed keys. |
79 key_pressed_map_.clear(); | 79 key_pressed_map_.clear(); |
80 } | 80 } |
81 | 81 |
82 } // namespace remoting | 82 } // namespace remoting |
OLD | NEW |