| 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 "ui/aura/test/mus/test_window_tree.h" | 5 #include "ui/aura/test/mus/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 aura { | 9 namespace aura { |
| 10 | 10 |
| (...skipping 145 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 156 float opacity) { | 156 float opacity) { |
| 157 OnChangeReceived(change_id); | 157 OnChangeReceived(change_id); |
| 158 } | 158 } |
| 159 | 159 |
| 160 void TestWindowTree::AttachCompositorFrameSink( | 160 void TestWindowTree::AttachCompositorFrameSink( |
| 161 uint32_t window_id, | 161 uint32_t window_id, |
| 162 ui::mojom::CompositorFrameSinkType type, | 162 ui::mojom::CompositorFrameSinkType type, |
| 163 mojo::InterfaceRequest<cc::mojom::MojoCompositorFrameSink> surface, | 163 mojo::InterfaceRequest<cc::mojom::MojoCompositorFrameSink> surface, |
| 164 cc::mojom::MojoCompositorFrameSinkClientPtr client) {} | 164 cc::mojom::MojoCompositorFrameSinkClientPtr client) {} |
| 165 | 165 |
| 166 void TestWindowTree::OnWindowSurfaceDetached( | |
| 167 uint32_t window_id, | |
| 168 const cc::SurfaceSequence& sequence) {} | |
| 169 | |
| 170 void TestWindowTree::AddWindow(uint32_t change_id, | 166 void TestWindowTree::AddWindow(uint32_t change_id, |
| 171 uint32_t parent, | 167 uint32_t parent, |
| 172 uint32_t child) { | 168 uint32_t child) { |
| 173 OnChangeReceived(change_id); | 169 OnChangeReceived(change_id); |
| 174 } | 170 } |
| 175 | 171 |
| 176 void TestWindowTree::RemoveWindowFromParent(uint32_t change_id, | 172 void TestWindowTree::RemoveWindowFromParent(uint32_t change_id, |
| 177 uint32_t window_id) { | 173 uint32_t window_id) { |
| 178 OnChangeReceived(change_id); | 174 OnChangeReceived(change_id); |
| 179 } | 175 } |
| (...skipping 95 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 275 void TestWindowTree::PerformWindowMove(uint32_t change_id, | 271 void TestWindowTree::PerformWindowMove(uint32_t change_id, |
| 276 uint32_t window_id, | 272 uint32_t window_id, |
| 277 ui::mojom::MoveLoopSource source, | 273 ui::mojom::MoveLoopSource source, |
| 278 const gfx::Point& cursor_location) { | 274 const gfx::Point& cursor_location) { |
| 279 OnChangeReceived(change_id); | 275 OnChangeReceived(change_id); |
| 280 } | 276 } |
| 281 | 277 |
| 282 void TestWindowTree::CancelWindowMove(uint32_t window_id) {} | 278 void TestWindowTree::CancelWindowMove(uint32_t window_id) {} |
| 283 | 279 |
| 284 } // namespace aura | 280 } // namespace aura |
| OLD | NEW |