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

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

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 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
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
OLDNEW
« no previous file with comments | « remoting/client/normalizing_input_filter_mac.h ('k') | remoting/client/normalizing_input_filter_mac_unittest.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698