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

Side by Side Diff: services/ui/public/cpp/tests/test_window_tree.cc

Issue 2633233003: aura-mus: Implement stacking in DesktopWindowTreeHostMus. (Closed)
Patch Set: Reword comment. Created 3 years, 11 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 "services/ui/public/cpp/tests/test_window_tree.h" 5 #include "services/ui/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 ui { 9 namespace ui {
10 10
(...skipping 148 matching lines...) Expand 10 before | Expand all | Expand 10 after
159 mojo::TextInputStatePtr state) {} 159 mojo::TextInputStatePtr state) {}
160 160
161 void TestWindowTree::OnWindowInputEventAck(uint32_t event_id, 161 void TestWindowTree::OnWindowInputEventAck(uint32_t event_id,
162 ui::mojom::EventResult result) { 162 ui::mojom::EventResult result) {
163 EXPECT_FALSE(acked_events_.count(event_id)); 163 EXPECT_FALSE(acked_events_.count(event_id));
164 acked_events_.insert(event_id); 164 acked_events_.insert(event_id);
165 } 165 }
166 166
167 void TestWindowTree::DeactivateWindow(uint32_t window_id) {} 167 void TestWindowTree::DeactivateWindow(uint32_t window_id) {}
168 168
169 void TestWindowTree::StackAtTop(uint32_t change_id, uint32_t window_id) {}
170
169 void TestWindowTree::GetWindowManagerClient( 171 void TestWindowTree::GetWindowManagerClient(
170 mojo::AssociatedInterfaceRequest<mojom::WindowManagerClient> internal) {} 172 mojo::AssociatedInterfaceRequest<mojom::WindowManagerClient> internal) {}
171 173
172 void TestWindowTree::GetCursorLocationMemory( 174 void TestWindowTree::GetCursorLocationMemory(
173 const GetCursorLocationMemoryCallback& callback) { 175 const GetCursorLocationMemoryCallback& callback) {
174 callback.Run(mojo::ScopedSharedBufferHandle()); 176 callback.Run(mojo::ScopedSharedBufferHandle());
175 } 177 }
176 178
177 void TestWindowTree::PerformDragDrop( 179 void TestWindowTree::PerformDragDrop(
178 uint32_t change_id, 180 uint32_t change_id,
179 uint32_t source_window_id, 181 uint32_t source_window_id,
180 const std::unordered_map<std::string, std::vector<uint8_t>>& drag_data, 182 const std::unordered_map<std::string, std::vector<uint8_t>>& drag_data,
181 uint32_t drag_operation) {} 183 uint32_t drag_operation) {}
182 184
183 void TestWindowTree::CancelDragDrop(uint32_t window_id) {} 185 void TestWindowTree::CancelDragDrop(uint32_t window_id) {}
184 186
185 void TestWindowTree::PerformWindowMove(uint32_t change_id, 187 void TestWindowTree::PerformWindowMove(uint32_t change_id,
186 uint32_t window_id, 188 uint32_t window_id,
187 mojom::MoveLoopSource source, 189 mojom::MoveLoopSource source,
188 const gfx::Point& cursor_location) {} 190 const gfx::Point& cursor_location) {}
189 191
190 void TestWindowTree::CancelWindowMove(uint32_t window_id) {} 192 void TestWindowTree::CancelWindowMove(uint32_t window_id) {}
191 193
192 } // namespace ui 194 } // namespace ui
OLDNEW
« no previous file with comments | « services/ui/public/cpp/tests/test_window_tree.h ('k') | services/ui/public/interfaces/window_tree.mojom » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698