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/protocol/mouse_input_filter.h" | 5 #include "remoting/protocol/mouse_input_filter.h" |
6 | 6 |
| 7 #include "base/macros.h" |
7 #include "remoting/proto/event.pb.h" | 8 #include "remoting/proto/event.pb.h" |
8 #include "remoting/protocol/protocol_mock_objects.h" | 9 #include "remoting/protocol/protocol_mock_objects.h" |
9 #include "remoting/protocol/test_event_matchers.h" | 10 #include "remoting/protocol/test_event_matchers.h" |
10 #include "testing/gmock/include/gmock/gmock.h" | 11 #include "testing/gmock/include/gmock/gmock.h" |
11 #include "testing/gtest/include/gtest/gtest.h" | 12 #include "testing/gtest/include/gtest/gtest.h" |
12 #include "third_party/webrtc/modules/desktop_capture/desktop_geometry.h" | 13 #include "third_party/webrtc/modules/desktop_capture/desktop_geometry.h" |
13 | 14 |
14 using ::testing::_; | 15 using ::testing::_; |
15 using ::testing::InSequence; | 16 using ::testing::InSequence; |
16 | 17 |
(...skipping 142 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
159 EXPECT_CALL(mock_stub, InjectMouseEvent(EqualsMouseMoveEvent(19, 11))). | 160 EXPECT_CALL(mock_stub, InjectMouseEvent(EqualsMouseMoveEvent(19, 11))). |
160 Times(1); | 161 Times(1); |
161 | 162 |
162 } | 163 } |
163 | 164 |
164 InjectTestSequence(&mouse_filter); | 165 InjectTestSequence(&mouse_filter); |
165 } | 166 } |
166 | 167 |
167 } // namespace protocol | 168 } // namespace protocol |
168 } // namespace remoting | 169 } // namespace remoting |
OLD | NEW |