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_cros.h" | 5 #include "remoting/client/normalizing_input_filter_cros.h" |
6 | 6 |
7 #include "remoting/proto/event.pb.h" | 7 #include "remoting/proto/event.pb.h" |
8 #include "remoting/protocol/protocol_mock_objects.h" | 8 #include "remoting/protocol/protocol_mock_objects.h" |
9 #include "remoting/protocol/test_event_matchers.h" | 9 #include "remoting/protocol/test_event_matchers.h" |
10 #include "remoting/protocol/usb_key_codes.h" | 10 #include "remoting/protocol/usb_key_codes.h" |
11 #include "testing/gmock/include/gmock/gmock.h" | 11 #include "testing/gmock/include/gmock/gmock.h" |
12 #include "testing/gtest/include/gtest/gtest.h" | 12 #include "testing/gtest/include/gtest/gtest.h" |
13 | 13 |
14 using ::testing::InSequence; | 14 using ::testing::InSequence; |
15 using remoting::protocol::InputStub; | 15 using remoting::protocol::InputStub; |
(...skipping 266 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
282 // Alt+RightClick | 282 // Alt+RightClick |
283 processor->InjectKeyEvent(MakeKeyEvent(kUsbRightAlt, true)); | 283 processor->InjectKeyEvent(MakeKeyEvent(kUsbRightAlt, true)); |
284 processor->InjectMouseEvent( | 284 processor->InjectMouseEvent( |
285 MakeMouseButtonEvent(MouseEvent::BUTTON_RIGHT, true)); | 285 MakeMouseButtonEvent(MouseEvent::BUTTON_RIGHT, true)); |
286 processor->InjectMouseEvent( | 286 processor->InjectMouseEvent( |
287 MakeMouseButtonEvent(MouseEvent::BUTTON_RIGHT, false)); | 287 MakeMouseButtonEvent(MouseEvent::BUTTON_RIGHT, false)); |
288 processor->InjectKeyEvent(MakeKeyEvent(kUsbRightAlt, false)); | 288 processor->InjectKeyEvent(MakeKeyEvent(kUsbRightAlt, false)); |
289 } | 289 } |
290 | 290 |
291 } // namespace remoting | 291 } // namespace remoting |
OLD | NEW |