| 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 "components/mus/public/cpp/tests/test_window_tree.h" | 5 #include "components/mus/public/cpp/tests/test_window_tree.h" |
| 6 | 6 |
| 7 #include "testing/gtest/include/gtest/gtest.h" | 7 #include "testing/gtest/include/gtest/gtest.h" |
| 8 | 8 |
| 9 namespace mus { | 9 namespace mus { |
| 10 | 10 |
| (...skipping 137 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 148 | 148 |
| 149 void TestWindowTree::OnWindowInputEventAck(uint32_t event_id, | 149 void TestWindowTree::OnWindowInputEventAck(uint32_t event_id, |
| 150 mus::mojom::EventResult result) { | 150 mus::mojom::EventResult result) { |
| 151 EXPECT_FALSE(acked_events_.count(event_id)); | 151 EXPECT_FALSE(acked_events_.count(event_id)); |
| 152 acked_events_.insert(event_id); | 152 acked_events_.insert(event_id); |
| 153 } | 153 } |
| 154 | 154 |
| 155 void TestWindowTree::GetWindowManagerClient( | 155 void TestWindowTree::GetWindowManagerClient( |
| 156 mojo::AssociatedInterfaceRequest<mojom::WindowManagerClient> internal) {} | 156 mojo::AssociatedInterfaceRequest<mojom::WindowManagerClient> internal) {} |
| 157 | 157 |
| 158 void TestWindowTree::GetCursorLocationMemory( |
| 159 const GetCursorLocationMemoryCallback& callback) { |
| 160 callback.Run(mojo::ScopedSharedBufferHandle()); |
| 161 } |
| 162 |
| 158 } // namespace mus | 163 } // namespace mus |
| OLD | NEW |