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/plugin/touch_input_scaler.h" | 5 #include "remoting/client/touch_input_scaler.h" |
6 | 6 |
7 #include <cmath> | 7 #include <cmath> |
8 | 8 |
9 #include "remoting/protocol/protocol_mock_objects.h" | 9 #include "remoting/protocol/protocol_mock_objects.h" |
10 #include "remoting/protocol/test_event_matchers.h" | 10 #include "remoting/protocol/test_event_matchers.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::_; | 14 using ::testing::_; |
15 using ::testing::AllOf; | 15 using ::testing::AllOf; |
(...skipping 349 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
365 point->set_radius_x(2.666f); | 365 point->set_radius_x(2.666f); |
366 point->set_radius_y(1.0f); | 366 point->set_radius_y(1.0f); |
367 | 367 |
368 EXPECT_CALL(mock_stub_, | 368 EXPECT_CALL(mock_stub_, |
369 InjectTouchEvent(AllOf(EqualsTouchPointCoordinates(expected_out), | 369 InjectTouchEvent(AllOf(EqualsTouchPointCoordinates(expected_out), |
370 EqualsTouchPointRadii(expected_out)))); | 370 EqualsTouchPointRadii(expected_out)))); |
371 InjectTestTouchEvent(); | 371 InjectTestTouchEvent(); |
372 } | 372 } |
373 | 373 |
374 } // namespace remoting | 374 } // namespace remoting |
OLD | NEW |