| 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 164 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 175 OnChangeReceived(change_id); | 175 OnChangeReceived(change_id); |
| 176 } | 176 } |
| 177 | 177 |
| 178 void TestWindowTree::RemoveTransientWindowFromParent( | 178 void TestWindowTree::RemoveTransientWindowFromParent( |
| 179 uint32_t change_id, | 179 uint32_t change_id, |
| 180 uint32_t transient_window_id) { | 180 uint32_t transient_window_id) { |
| 181 OnChangeReceived(change_id); | 181 OnChangeReceived(change_id); |
| 182 } | 182 } |
| 183 | 183 |
| 184 void TestWindowTree::SetModal(uint32_t change_id, uint32_t window_id) { | 184 void TestWindowTree::SetModal(uint32_t change_id, uint32_t window_id) { |
| 185 OnChangeReceived(change_id); | 185 OnChangeReceived(change_id, WindowTreeChangeType::MODAL); |
| 186 } | 186 } |
| 187 | 187 |
| 188 void TestWindowTree::ReorderWindow(uint32_t change_id, | 188 void TestWindowTree::ReorderWindow(uint32_t change_id, |
| 189 uint32_t window_id, | 189 uint32_t window_id, |
| 190 uint32_t relative_window_id, | 190 uint32_t relative_window_id, |
| 191 ui::mojom::OrderDirection direction) { | 191 ui::mojom::OrderDirection direction) { |
| 192 OnChangeReceived(change_id); | 192 OnChangeReceived(change_id); |
| 193 } | 193 } |
| 194 | 194 |
| 195 void TestWindowTree::GetWindowTree(uint32_t window_id, | 195 void TestWindowTree::GetWindowTree(uint32_t window_id, |
| (...skipping 66 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 262 void TestWindowTree::PerformWindowMove(uint32_t change_id, | 262 void TestWindowTree::PerformWindowMove(uint32_t change_id, |
| 263 uint32_t window_id, | 263 uint32_t window_id, |
| 264 ui::mojom::MoveLoopSource source, | 264 ui::mojom::MoveLoopSource source, |
| 265 const gfx::Point& cursor_location) { | 265 const gfx::Point& cursor_location) { |
| 266 OnChangeReceived(change_id); | 266 OnChangeReceived(change_id); |
| 267 } | 267 } |
| 268 | 268 |
| 269 void TestWindowTree::CancelWindowMove(uint32_t window_id) {} | 269 void TestWindowTree::CancelWindowMove(uint32_t window_id) {} |
| 270 | 270 |
| 271 } // namespace aura | 271 } // namespace aura |
| OLD | NEW |