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

Side by Side Diff: remoting/client/normalizing_input_filter_cros.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 #include "remoting/protocol/input_filter.h" 5 #ifndef REMOTING_CLIENT_NORMALIZING_INPUT_FILTER_CROS_H_
6 #define REMOTING_CLIENT_NORMALIZING_INPUT_FILTER_CROS_H_
6 7
7 #include "remoting/proto/event.pb.h" 8 #include "remoting/proto/event.pb.h"
9 #include "remoting/protocol/input_filter.h"
8 10
9 namespace remoting { 11 namespace remoting {
10 12
11 // NormalizingInputFilterCros addresses the problems generated by key rewritings 13 // NormalizingInputFilterCros addresses the problems generated by key rewritings
12 // such as Down->PageDown, 1->F1, etc, when keys are pressed in combination with 14 // such as Down->PageDown, 1->F1, etc, when keys are pressed in combination with
13 // the OSKey (aka Search). Rewriting OSKey+Down, for example, causes us to 15 // the OSKey (aka Search). Rewriting OSKey+Down, for example, causes us to
14 // receive the following: 16 // receive the following:
15 // 17 //
16 // keydown OSKey 18 // keydown OSKey
17 // keydown PageDown 19 // keydown PageDown
(...skipping 34 matching lines...) Expand 10 before | Expand all | Expand 10 after
52 bool left_alt_is_pressed_; 54 bool left_alt_is_pressed_;
53 55
54 // Previous mouse coordinates. 56 // Previous mouse coordinates.
55 int previous_mouse_x_; 57 int previous_mouse_x_;
56 int previous_mouse_y_; 58 int previous_mouse_y_;
57 59
58 DISALLOW_COPY_AND_ASSIGN(NormalizingInputFilterCros); 60 DISALLOW_COPY_AND_ASSIGN(NormalizingInputFilterCros);
59 }; 61 };
60 62
61 } // namespace remoting 63 } // namespace remoting
64
65 #endif // REMOTING_CLIENT_NORMALIZING_INPUT_FILTER_CROS_H_
OLDNEW
« no previous file with comments | « remoting/client/empty_cursor_filter_unittest.cc ('k') | remoting/client/normalizing_input_filter_cros.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698