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

Side by Side Diff: ui/aura/test/mus/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
« no previous file with comments | « ui/aura/test/mus/test_window_tree.h ('k') | ui/views/mus/desktop_window_tree_host_mus.cc » ('j') | 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 250 matching lines...) Expand 10 before | Expand all | Expand 10 after
261 mojo::TextInputStatePtr state) {} 261 mojo::TextInputStatePtr state) {}
262 262
263 void TestWindowTree::OnWindowInputEventAck(uint32_t event_id, 263 void TestWindowTree::OnWindowInputEventAck(uint32_t event_id,
264 ui::mojom::EventResult result) { 264 ui::mojom::EventResult result) {
265 EXPECT_FALSE(WasEventAcked(event_id)); 265 EXPECT_FALSE(WasEventAcked(event_id));
266 acked_events_.push_back({event_id, result}); 266 acked_events_.push_back({event_id, result});
267 } 267 }
268 268
269 void TestWindowTree::DeactivateWindow(uint32_t window_id) {} 269 void TestWindowTree::DeactivateWindow(uint32_t window_id) {}
270 270
271 void TestWindowTree::StackAtTop(uint32_t change_id, uint32_t window_id) {}
272
271 void TestWindowTree::GetWindowManagerClient( 273 void TestWindowTree::GetWindowManagerClient(
272 mojo::AssociatedInterfaceRequest<ui::mojom::WindowManagerClient> internal) { 274 mojo::AssociatedInterfaceRequest<ui::mojom::WindowManagerClient> internal) {
273 } 275 }
274 276
275 void TestWindowTree::GetCursorLocationMemory( 277 void TestWindowTree::GetCursorLocationMemory(
276 const GetCursorLocationMemoryCallback& callback) { 278 const GetCursorLocationMemoryCallback& callback) {
277 callback.Run(mojo::ScopedSharedBufferHandle()); 279 callback.Run(mojo::ScopedSharedBufferHandle());
278 } 280 }
279 281
280 void TestWindowTree::PerformDragDrop( 282 void TestWindowTree::PerformDragDrop(
281 uint32_t change_id, 283 uint32_t change_id,
282 uint32_t source_window_id, 284 uint32_t source_window_id,
283 const std::unordered_map<std::string, std::vector<uint8_t>>& drag_data, 285 const std::unordered_map<std::string, std::vector<uint8_t>>& drag_data,
284 uint32_t drag_operation) { 286 uint32_t drag_operation) {
285 OnChangeReceived(change_id); 287 OnChangeReceived(change_id);
286 } 288 }
287 289
288 void TestWindowTree::CancelDragDrop(uint32_t window_id) {} 290 void TestWindowTree::CancelDragDrop(uint32_t window_id) {}
289 291
290 void TestWindowTree::PerformWindowMove(uint32_t change_id, 292 void TestWindowTree::PerformWindowMove(uint32_t change_id,
291 uint32_t window_id, 293 uint32_t window_id,
292 ui::mojom::MoveLoopSource source, 294 ui::mojom::MoveLoopSource source,
293 const gfx::Point& cursor_location) { 295 const gfx::Point& cursor_location) {
294 OnChangeReceived(change_id); 296 OnChangeReceived(change_id);
295 } 297 }
296 298
297 void TestWindowTree::CancelWindowMove(uint32_t window_id) {} 299 void TestWindowTree::CancelWindowMove(uint32_t window_id) {}
298 300
299 } // namespace aura 301 } // namespace aura
OLDNEW
« no previous file with comments | « ui/aura/test/mus/test_window_tree.h ('k') | ui/views/mus/desktop_window_tree_host_mus.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698