| 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/key_event_mapper.h" | 5 #include "remoting/client/input/key_event_mapper.h" |
| 6 | 6 |
| 7 #include <stdint.h> | 7 #include <stdint.h> |
| 8 | 8 |
| 9 #include "base/bind.h" | 9 #include "base/bind.h" |
| 10 #include "remoting/proto/event.pb.h" | 10 #include "remoting/proto/event.pb.h" |
| 11 #include "remoting/protocol/protocol_mock_objects.h" | 11 #include "remoting/protocol/protocol_mock_objects.h" |
| 12 #include "remoting/protocol/test_event_matchers.h" | 12 #include "remoting/protocol/test_event_matchers.h" |
| 13 #include "testing/gmock/include/gmock/gmock.h" | 13 #include "testing/gmock/include/gmock/gmock.h" |
| 14 #include "testing/gtest/include/gtest/gtest.h" | 14 #include "testing/gtest/include/gtest/gtest.h" |
| 15 | 15 |
| (...skipping 122 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 138 InjectKeyEvent(EqualsKeyEventWithCapsLock(4, false))); | 138 InjectKeyEvent(EqualsKeyEventWithCapsLock(4, false))); |
| 139 EXPECT_CALL(trap_stub, InjectKeyEvent(EqualsKeyEventWithCapsLock(5, true))); | 139 EXPECT_CALL(trap_stub, InjectKeyEvent(EqualsKeyEventWithCapsLock(5, true))); |
| 140 EXPECT_CALL(trap_stub, | 140 EXPECT_CALL(trap_stub, |
| 141 InjectKeyEvent(EqualsKeyEventWithCapsLock(5, false))); | 141 InjectKeyEvent(EqualsKeyEventWithCapsLock(5, false))); |
| 142 } | 142 } |
| 143 | 143 |
| 144 InjectTestSequence(&event_mapper); | 144 InjectTestSequence(&event_mapper); |
| 145 } | 145 } |
| 146 | 146 |
| 147 } // namespace remoting | 147 } // namespace remoting |
| OLD | NEW |