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

Side by Side Diff: components/mus/public/cpp/tests/test_window_tree.cc

Issue 1759523002: mus: Server-side implementation of modal windows (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: SetAsModal -> SetModal + Other review comments addressed Created 4 years, 9 months 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
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 "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 73 matching lines...) Expand 10 before | Expand all | Expand 10 after
84 uint32_t window_id) {} 84 uint32_t window_id) {}
85 85
86 void TestWindowTree::AddTransientWindow(uint32_t change_id, 86 void TestWindowTree::AddTransientWindow(uint32_t change_id,
87 uint32_t window_id, 87 uint32_t window_id,
88 uint32_t transient_window_id) {} 88 uint32_t transient_window_id) {}
89 89
90 void TestWindowTree::RemoveTransientWindowFromParent( 90 void TestWindowTree::RemoveTransientWindowFromParent(
91 uint32_t change_id, 91 uint32_t change_id,
92 uint32_t transient_window_id) {} 92 uint32_t transient_window_id) {}
93 93
94 void TestWindowTree::SetModal(uint32_t change_id, uint32_t window_id) {}
95
94 void TestWindowTree::ReorderWindow(uint32_t change_id, 96 void TestWindowTree::ReorderWindow(uint32_t change_id,
95 uint32_t window_id, 97 uint32_t window_id,
96 uint32_t relative_window_id, 98 uint32_t relative_window_id,
97 mojom::OrderDirection direction) {} 99 mojom::OrderDirection direction) {}
98 100
99 void TestWindowTree::GetWindowTree(uint32_t window_id, 101 void TestWindowTree::GetWindowTree(uint32_t window_id,
100 const GetWindowTreeCallback& callback) {} 102 const GetWindowTreeCallback& callback) {}
101 103
102 void TestWindowTree::SetCapture(uint32_t change_id, uint32_t window_id) { 104 void TestWindowTree::SetCapture(uint32_t change_id, uint32_t window_id) {
103 got_change_ = true; 105 got_change_ = true;
(...skipping 30 matching lines...) Expand all
134 136
135 void TestWindowTree::OnWindowInputEventAck(uint32_t event_id) { 137 void TestWindowTree::OnWindowInputEventAck(uint32_t event_id) {
136 EXPECT_FALSE(acked_events_.count(event_id)); 138 EXPECT_FALSE(acked_events_.count(event_id));
137 acked_events_.insert(event_id); 139 acked_events_.insert(event_id);
138 } 140 }
139 141
140 void TestWindowTree::GetWindowManagerClient( 142 void TestWindowTree::GetWindowManagerClient(
141 mojo::AssociatedInterfaceRequest<mojom::WindowManagerClient> internal) {} 143 mojo::AssociatedInterfaceRequest<mojom::WindowManagerClient> internal) {}
142 144
143 } // namespace mus 145 } // namespace mus
OLDNEW
« no previous file with comments | « components/mus/public/cpp/tests/test_window_tree.h ('k') | components/mus/public/interfaces/window_tree.mojom » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698