| 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/touch_input_scaler.h" | 5 #include "remoting/client/touch_input_scaler.h" |
| 6 | 6 |
| 7 #include <stdint.h> |
| 8 |
| 7 #include <cmath> | 9 #include <cmath> |
| 8 | 10 |
| 11 #include "base/macros.h" |
| 9 #include "remoting/protocol/protocol_mock_objects.h" | 12 #include "remoting/protocol/protocol_mock_objects.h" |
| 10 #include "remoting/protocol/test_event_matchers.h" | 13 #include "remoting/protocol/test_event_matchers.h" |
| 11 #include "testing/gmock/include/gmock/gmock.h" | 14 #include "testing/gmock/include/gmock/gmock.h" |
| 12 #include "testing/gtest/include/gtest/gtest.h" | 15 #include "testing/gtest/include/gtest/gtest.h" |
| 13 | 16 |
| 14 using ::testing::_; | 17 using ::testing::_; |
| 15 using ::testing::AllOf; | 18 using ::testing::AllOf; |
| 16 using ::testing::PrintToString; | 19 using ::testing::PrintToString; |
| 17 | 20 |
| 18 namespace remoting { | 21 namespace remoting { |
| (...skipping 346 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 365 point->set_radius_x(2.666f); | 368 point->set_radius_x(2.666f); |
| 366 point->set_radius_y(1.0f); | 369 point->set_radius_y(1.0f); |
| 367 | 370 |
| 368 EXPECT_CALL(mock_stub_, | 371 EXPECT_CALL(mock_stub_, |
| 369 InjectTouchEvent(AllOf(EqualsTouchPointCoordinates(expected_out), | 372 InjectTouchEvent(AllOf(EqualsTouchPointCoordinates(expected_out), |
| 370 EqualsTouchPointRadii(expected_out)))); | 373 EqualsTouchPointRadii(expected_out)))); |
| 371 InjectTestTouchEvent(); | 374 InjectTestTouchEvent(); |
| 372 } | 375 } |
| 373 | 376 |
| 374 } // namespace remoting | 377 } // namespace remoting |
| OLD | NEW |