| 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 115 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 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 {} | 134 void DidStartFlinging(int routing_id) override {} |
| 135 void DidStopFlinging(int routing_id) override {} | 135 void DidStopFlinging(int routing_id) override {} |
| 136 void DispatchNonBlockingEventToMainThread( |
| 137 int routing_id, |
| 138 ui::ScopedWebInputEvent event, |
| 139 const ui::LatencyInfo& latency_info) override {} |
| 140 |
| 136 void NotifyInputEventHandled( | 141 void NotifyInputEventHandled( |
| 137 int routing_id, | 142 int routing_id, |
| 138 blink::WebInputEvent::Type type, | 143 blink::WebInputEvent::Type type, |
| 139 content::InputEventAckState ack_result) override {} | 144 content::InputEventAckState ack_result) override {} |
| 140 void ProcessRafAlignedInput(int routing_id) override {} | 145 void ProcessRafAlignedInput(int routing_id) override {} |
| 141 | 146 |
| 142 private: | 147 private: |
| 143 DISALLOW_COPY_AND_ASSIGN(TestInputHandlerManagerClient); | 148 DISALLOW_COPY_AND_ASSIGN(TestInputHandlerManagerClient); |
| 144 }; | 149 }; |
| 145 | 150 |
| (...skipping 344 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 490 EXPECT_FALSE(ack_callback.get()); | 495 EXPECT_FALSE(ack_callback.get()); |
| 491 | 496 |
| 492 VerifyAndRunQueues(true, true); | 497 VerifyAndRunQueues(true, true); |
| 493 | 498 |
| 494 // The ack callback should have been called | 499 // The ack callback should have been called |
| 495 EXPECT_TRUE(test_callback->called()); | 500 EXPECT_TRUE(test_callback->called()); |
| 496 EXPECT_EQ(EventResult::HANDLED, test_callback->result()); | 501 EXPECT_EQ(EventResult::HANDLED, test_callback->result()); |
| 497 } | 502 } |
| 498 | 503 |
| 499 } // namespace content | 504 } // namespace content |
| OLD | NEW |