Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(14)

Side by Side Diff: ui/aura/test/mus/test_window_tree.cc

Issue 2454973003: Wires up modality for aura-mus (Closed)
Patch Set: more tests Created 4 years, 1 month ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch
« no previous file with comments | « ui/aura/test/mus/test_window_tree.h ('k') | no next file » | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
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
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
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
OLDNEW
« no previous file with comments | « ui/aura/test/mus/test_window_tree.h ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698