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

Side by Side Diff: services/ui/ws/test_utils.cc

Issue 2655463009: aura-mus: Implement DesktopWindowTreeHostMus::StackAbove(). (Closed)
Patch Set: Add comment. Created 3 years, 10 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 | « services/ui/ws/test_utils.h ('k') | services/ui/ws/window_manager_access_policy.h » ('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 2016 The Chromium Authors. All rights reserved. 1 // Copyright 2016 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/ws/test_utils.h" 5 #include "services/ui/ws/test_utils.h"
6 6
7 #include <utility> 7 #include <utility>
8 8
9 #include "base/memory/ptr_util.h" 9 #include "base/memory/ptr_util.h"
10 #include "cc/output/copy_output_request.h" 10 #include "cc/output/copy_output_request.h"
(...skipping 223 matching lines...) Expand 10 before | Expand all | Expand 10 after
234 uint32_t window_id, 234 uint32_t window_id,
235 mojom::MoveLoopSource source, 235 mojom::MoveLoopSource source,
236 const gfx::Point& cursor_location) { 236 const gfx::Point& cursor_location) {
237 on_perform_move_loop_called_ = true; 237 on_perform_move_loop_called_ = true;
238 } 238 }
239 239
240 void TestWindowManager::WmCancelMoveLoop(uint32_t window_id) {} 240 void TestWindowManager::WmCancelMoveLoop(uint32_t window_id) {}
241 241
242 void TestWindowManager::WmDeactivateWindow(uint32_t window_id) {} 242 void TestWindowManager::WmDeactivateWindow(uint32_t window_id) {}
243 243
244 void TestWindowManager::WmStackAbove(uint32_t change_id,
245 uint32_t above_id,
246 uint32_t below_id) {}
247
244 void TestWindowManager::WmStackAtTop(uint32_t change_id, uint32_t window_id) {} 248 void TestWindowManager::WmStackAtTop(uint32_t change_id, uint32_t window_id) {}
245 249
246 void TestWindowManager::OnAccelerator(uint32_t ack_id, 250 void TestWindowManager::OnAccelerator(uint32_t ack_id,
247 uint32_t accelerator_id, 251 uint32_t accelerator_id,
248 std::unique_ptr<ui::Event> event) { 252 std::unique_ptr<ui::Event> event) {
249 on_accelerator_called_ = true; 253 on_accelerator_called_ = true;
250 on_accelerator_id_ = accelerator_id; 254 on_accelerator_id_ = accelerator_id;
251 } 255 }
252 256
253 // TestWindowTreeClient ------------------------------------------------------- 257 // TestWindowTreeClient -------------------------------------------------------
(...skipping 375 matching lines...) Expand 10 before | Expand all | Expand 10 after
629 return nullptr; 633 return nullptr;
630 if (!tree->AddWindow(parent_client_id, client_window_id)) 634 if (!tree->AddWindow(parent_client_id, client_window_id))
631 return nullptr; 635 return nullptr;
632 *client_id = client_window_id; 636 *client_id = client_window_id;
633 return tree->GetWindowByClientId(client_window_id); 637 return tree->GetWindowByClientId(client_window_id);
634 } 638 }
635 639
636 } // namespace test 640 } // namespace test
637 } // namespace ws 641 } // namespace ws
638 } // namespace ui 642 } // namespace ui
OLDNEW
« no previous file with comments | « services/ui/ws/test_utils.h ('k') | services/ui/ws/window_manager_access_policy.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698