| OLD | NEW |
| 1 // Copyright 2016 The Chromium Authors. All rights reserved. | 1 // Copyright 2016 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 "content/renderer/mus/compositor_mus_connection.h" | 5 #include "content/renderer/mus/compositor_mus_connection.h" |
| 6 | 6 |
| 7 #include <memory> | 7 #include <memory> |
| 8 | 8 |
| 9 #include "base/macros.h" | 9 #include "base/macros.h" |
| 10 #include "base/memory/ref_counted.h" | 10 #include "base/memory/ref_counted.h" |
| (...skipping 113 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 124 TestInputHandlerManagerClient() {} | 124 TestInputHandlerManagerClient() {} |
| 125 ~TestInputHandlerManagerClient() override{}; | 125 ~TestInputHandlerManagerClient() override{}; |
| 126 | 126 |
| 127 // content::InputHandlerManagerClient: | 127 // content::InputHandlerManagerClient: |
| 128 void SetInputHandlerManager( | 128 void SetInputHandlerManager( |
| 129 content::InputHandlerManager* input_handler_manager) override {} | 129 content::InputHandlerManager* input_handler_manager) override {} |
| 130 void RegisterRoutingID(int routing_id) override {} | 130 void RegisterRoutingID(int routing_id) override {} |
| 131 void UnregisterRoutingID(int routing_id) override {} | 131 void UnregisterRoutingID(int routing_id) override {} |
| 132 void DidOverscroll(int routing_id, | 132 void DidOverscroll(int routing_id, |
| 133 const ui::DidOverscrollParams& params) override {} | 133 const ui::DidOverscrollParams& params) override {} |
| 134 void DidStartFlinging(int routing_id) override {} | |
| 135 void DidStopFlinging(int routing_id) override {} | 134 void DidStopFlinging(int routing_id) override {} |
| 136 void DispatchNonBlockingEventToMainThread( | 135 void DispatchNonBlockingEventToMainThread( |
| 137 int routing_id, | 136 int routing_id, |
| 138 ui::ScopedWebInputEvent event, | 137 ui::ScopedWebInputEvent event, |
| 139 const ui::LatencyInfo& latency_info) override {} | 138 const ui::LatencyInfo& latency_info) override {} |
| 140 | 139 |
| 141 void NotifyInputEventHandled( | 140 void NotifyInputEventHandled( |
| 142 int routing_id, | 141 int routing_id, |
| 143 blink::WebInputEvent::Type type, | 142 blink::WebInputEvent::Type type, |
| 144 content::InputEventAckState ack_result) override {} | 143 content::InputEventAckState ack_result) override {} |
| (...skipping 350 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 495 EXPECT_FALSE(ack_callback.get()); | 494 EXPECT_FALSE(ack_callback.get()); |
| 496 | 495 |
| 497 VerifyAndRunQueues(true, true); | 496 VerifyAndRunQueues(true, true); |
| 498 | 497 |
| 499 // The ack callback should have been called | 498 // The ack callback should have been called |
| 500 EXPECT_TRUE(test_callback->called()); | 499 EXPECT_TRUE(test_callback->called()); |
| 501 EXPECT_EQ(EventResult::HANDLED, test_callback->result()); | 500 EXPECT_EQ(EventResult::HANDLED, test_callback->result()); |
| 502 } | 501 } |
| 503 | 502 |
| 504 } // namespace content | 503 } // namespace content |
| OLD | NEW |