OLD | NEW |
1 // Copyright (c) 2012 The Chromium Authors. All rights reserved. | 1 // Copyright (c) 2012 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/pepper_input_handler.h" | 5 #include "remoting/client/plugin/pepper_input_handler.h" |
6 | 6 |
| 7 #include <stdint.h> |
| 8 |
7 #include "base/logging.h" | 9 #include "base/logging.h" |
8 #include "ppapi/cpp/image_data.h" | 10 #include "ppapi/cpp/image_data.h" |
9 #include "ppapi/cpp/input_event.h" | 11 #include "ppapi/cpp/input_event.h" |
10 #include "ppapi/cpp/module_impl.h" | 12 #include "ppapi/cpp/module_impl.h" |
11 #include "ppapi/cpp/mouse_cursor.h" | 13 #include "ppapi/cpp/mouse_cursor.h" |
12 #include "ppapi/cpp/point.h" | 14 #include "ppapi/cpp/point.h" |
13 #include "ppapi/cpp/touch_point.h" | 15 #include "ppapi/cpp/touch_point.h" |
14 #include "ppapi/cpp/var.h" | 16 #include "ppapi/cpp/var.h" |
15 #include "remoting/proto/event.pb.h" | 17 #include "remoting/proto/event.pb.h" |
16 #include "remoting/protocol/input_event_tracker.h" | 18 #include "remoting/protocol/input_event_tracker.h" |
(...skipping 268 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
285 input_tracker_->ReleaseAllIfModifiersStuck( | 287 input_tracker_->ReleaseAllIfModifiersStuck( |
286 (modifiers & PP_INPUTEVENT_MODIFIER_ALTKEY) != 0, | 288 (modifiers & PP_INPUTEVENT_MODIFIER_ALTKEY) != 0, |
287 (modifiers & PP_INPUTEVENT_MODIFIER_CONTROLKEY) != 0, | 289 (modifiers & PP_INPUTEVENT_MODIFIER_CONTROLKEY) != 0, |
288 (modifiers & PP_INPUTEVENT_MODIFIER_METAKEY) != 0, | 290 (modifiers & PP_INPUTEVENT_MODIFIER_METAKEY) != 0, |
289 (modifiers & PP_INPUTEVENT_MODIFIER_SHIFTKEY) != 0); | 291 (modifiers & PP_INPUTEVENT_MODIFIER_SHIFTKEY) != 0); |
290 } | 292 } |
291 } | 293 } |
292 } | 294 } |
293 | 295 |
294 } // namespace remoting | 296 } // namespace remoting |
OLD | NEW |