| OLD | NEW |
| 1 // Copyright 2015 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/normalizing_input_filter_cros.h" | 5 #include "remoting/client/normalizing_input_filter_cros.h" |
| 6 | 6 |
| 7 #include <stdint.h> |
| 8 |
| 7 #include "remoting/proto/event.pb.h" | 9 #include "remoting/proto/event.pb.h" |
| 8 #include "remoting/protocol/protocol_mock_objects.h" | 10 #include "remoting/protocol/protocol_mock_objects.h" |
| 9 #include "remoting/protocol/test_event_matchers.h" | 11 #include "remoting/protocol/test_event_matchers.h" |
| 10 #include "testing/gmock/include/gmock/gmock.h" | 12 #include "testing/gmock/include/gmock/gmock.h" |
| 11 #include "testing/gtest/include/gtest/gtest.h" | 13 #include "testing/gtest/include/gtest/gtest.h" |
| 12 #include "ui/events/keycodes/dom/dom_code.h" | 14 #include "ui/events/keycodes/dom/dom_code.h" |
| 13 | 15 |
| 14 using ::testing::InSequence; | 16 using ::testing::InSequence; |
| 15 using remoting::protocol::InputStub; | 17 using remoting::protocol::InputStub; |
| 16 using remoting::protocol::KeyEvent; | 18 using remoting::protocol::KeyEvent; |
| (...skipping 325 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 342 | 344 |
| 343 // Repeat the test for the right Alt key. | 345 // Repeat the test for the right Alt key. |
| 344 processor->InjectKeyEvent(MakeKeyEvent(ui::DomCode::ALT_RIGHT, true)); | 346 processor->InjectKeyEvent(MakeKeyEvent(ui::DomCode::ALT_RIGHT, true)); |
| 345 PressAndReleaseKey(processor.get(), ui::DomCode::PAGE_UP); | 347 PressAndReleaseKey(processor.get(), ui::DomCode::PAGE_UP); |
| 346 PressAndReleaseKey(processor.get(), ui::DomCode::PAGE_DOWN); | 348 PressAndReleaseKey(processor.get(), ui::DomCode::PAGE_DOWN); |
| 347 PressAndReleaseKey(processor.get(), ui::DomCode::DEL); | 349 PressAndReleaseKey(processor.get(), ui::DomCode::DEL); |
| 348 processor->InjectKeyEvent(MakeKeyEvent(ui::DomCode::ALT_RIGHT, false)); | 350 processor->InjectKeyEvent(MakeKeyEvent(ui::DomCode::ALT_RIGHT, false)); |
| 349 } | 351 } |
| 350 | 352 |
| 351 } // namespace remoting | 353 } // namespace remoting |
| OLD | NEW |