| 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/host/remote_input_filter.h" | 5 #include "remoting/host/remote_input_filter.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/input_event_tracker.h" | 10 #include "remoting/protocol/input_event_tracker.h" |
| 9 #include "remoting/protocol/protocol_mock_objects.h" | 11 #include "remoting/protocol/protocol_mock_objects.h" |
| 10 #include "remoting/protocol/test_event_matchers.h" | 12 #include "remoting/protocol/test_event_matchers.h" |
| 11 #include "testing/gmock/include/gmock/gmock.h" | 13 #include "testing/gmock/include/gmock/gmock.h" |
| 12 #include "testing/gtest/include/gtest/gtest.h" | 14 #include "testing/gtest/include/gtest/gtest.h" |
| 13 | 15 |
| 14 using ::testing::_; | 16 using ::testing::_; |
| 15 using ::testing::ExpectationSet; | 17 using ::testing::ExpectationSet; |
| 16 using ::testing::InSequence; | 18 using ::testing::InSequence; |
| (...skipping 119 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 136 | 138 |
| 137 for (int i = 0; i < 10; ++i) { | 139 for (int i = 0; i < 10; ++i) { |
| 138 input_filter.InjectMouseEvent(MouseMoveEvent(0, 0)); | 140 input_filter.InjectMouseEvent(MouseMoveEvent(0, 0)); |
| 139 input_filter.LocalMouseMoved(webrtc::DesktopVector(0, 0)); | 141 input_filter.LocalMouseMoved(webrtc::DesktopVector(0, 0)); |
| 140 if (i == 4) | 142 if (i == 4) |
| 141 input_filter.LocalMouseMoved(webrtc::DesktopVector(1, 1)); | 143 input_filter.LocalMouseMoved(webrtc::DesktopVector(1, 1)); |
| 142 } | 144 } |
| 143 } | 145 } |
| 144 | 146 |
| 145 } // namespace remoting | 147 } // namespace remoting |
| OLD | NEW |