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

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

Issue 2652713003: aura-mus: Make StackAtTop() proxy to the window manager. (Closed)
Patch Set: Add check to window_manager_delegate_ in WmStackAtTop. 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/public/interfaces/window_manager.mojom ('k') | services/ui/ws/test_utils.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 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 #ifndef SERVICES_UI_WS_TEST_UTILS_H_ 5 #ifndef SERVICES_UI_WS_TEST_UTILS_H_
6 #define SERVICES_UI_WS_TEST_UTILS_H_ 6 #define SERVICES_UI_WS_TEST_UTILS_H_
7 7
8 #include <stdint.h> 8 #include <stdint.h>
9 9
10 #include <memory> 10 #include <memory>
(...skipping 340 matching lines...) Expand 10 before | Expand all | Expand 10 after
351 const std::unordered_map<std::string, std::vector<uint8_t>>& properties) 351 const std::unordered_map<std::string, std::vector<uint8_t>>& properties)
352 override; 352 override;
353 void WmClientJankinessChanged(ClientSpecificId client_id, 353 void WmClientJankinessChanged(ClientSpecificId client_id,
354 bool janky) override; 354 bool janky) override;
355 void WmPerformMoveLoop(uint32_t change_id, 355 void WmPerformMoveLoop(uint32_t change_id,
356 uint32_t window_id, 356 uint32_t window_id,
357 mojom::MoveLoopSource source, 357 mojom::MoveLoopSource source,
358 const gfx::Point& cursor_location) override; 358 const gfx::Point& cursor_location) override;
359 void WmCancelMoveLoop(uint32_t window_id) override; 359 void WmCancelMoveLoop(uint32_t window_id) override;
360 void WmDeactivateWindow(uint32_t window_id) override; 360 void WmDeactivateWindow(uint32_t window_id) override;
361 void WmStackAtTop(uint32_t change_id, uint32_t window_id) override;
361 void OnAccelerator(uint32_t ack_id, 362 void OnAccelerator(uint32_t ack_id,
362 uint32_t accelerator_id, 363 uint32_t accelerator_id,
363 std::unique_ptr<ui::Event> event) override; 364 std::unique_ptr<ui::Event> event) override;
364 365
365 bool on_perform_move_loop_called_ = false; 366 bool on_perform_move_loop_called_ = false;
366 367
367 bool got_create_top_level_window_; 368 bool got_create_top_level_window_;
368 uint32_t change_id_; 369 uint32_t change_id_;
369 370
370 bool on_accelerator_called_; 371 bool on_accelerator_called_;
(...skipping 302 matching lines...) Expand 10 before | Expand all | Expand 10 after
673 ServerWindow* NewWindowInTree(WindowTree* tree, ClientWindowId* client_id); 674 ServerWindow* NewWindowInTree(WindowTree* tree, ClientWindowId* client_id);
674 ServerWindow* NewWindowInTreeWithParent(WindowTree* tree, 675 ServerWindow* NewWindowInTreeWithParent(WindowTree* tree,
675 ServerWindow* parent, 676 ServerWindow* parent,
676 ClientWindowId* client_id); 677 ClientWindowId* client_id);
677 678
678 } // namespace test 679 } // namespace test
679 } // namespace ws 680 } // namespace ws
680 } // namespace ui 681 } // namespace ui
681 682
682 #endif // SERVICES_UI_WS_TEST_UTILS_H_ 683 #endif // SERVICES_UI_WS_TEST_UTILS_H_
OLDNEW
« no previous file with comments | « services/ui/public/interfaces/window_manager.mojom ('k') | services/ui/ws/test_utils.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698