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

Side by Side Diff: ui/aura/mus/window_tree_client.h

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/window_tree_client_unittest.cc ('k') | ui/aura/mus/window_tree_client.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 2014 The Chromium Authors. All rights reserved. 1 // Copyright 2014 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 UI_AURA_MUS_WINDOW_TREE_CLIENT_H_ 5 #ifndef UI_AURA_MUS_WINDOW_TREE_CLIENT_H_
6 #define UI_AURA_MUS_WINDOW_TREE_CLIENT_H_ 6 #define UI_AURA_MUS_WINDOW_TREE_CLIENT_H_
7 7
8 #include <stdint.h> 8 #include <stdint.h>
9 9
10 #include <map> 10 #include <map>
(...skipping 391 matching lines...) Expand 10 before | Expand all | Expand 10 after
402 const std::unordered_map<std::string, std::vector<uint8_t>>& 402 const std::unordered_map<std::string, std::vector<uint8_t>>&
403 transport_properties) override; 403 transport_properties) override;
404 void WmClientJankinessChanged(ClientSpecificId client_id, 404 void WmClientJankinessChanged(ClientSpecificId client_id,
405 bool janky) override; 405 bool janky) override;
406 void WmPerformMoveLoop(uint32_t change_id, 406 void WmPerformMoveLoop(uint32_t change_id,
407 Id window_id, 407 Id window_id,
408 ui::mojom::MoveLoopSource source, 408 ui::mojom::MoveLoopSource source,
409 const gfx::Point& cursor_location) override; 409 const gfx::Point& cursor_location) override;
410 void WmCancelMoveLoop(uint32_t window_id) override; 410 void WmCancelMoveLoop(uint32_t window_id) override;
411 void WmDeactivateWindow(Id window_id) override; 411 void WmDeactivateWindow(Id window_id) override;
412 void WmStackAbove(uint32_t change_id, Id above_id, Id below_id) override;
412 void WmStackAtTop(uint32_t change_id, uint32_t window_id) override; 413 void WmStackAtTop(uint32_t change_id, uint32_t window_id) override;
413 void OnAccelerator(uint32_t ack_id, 414 void OnAccelerator(uint32_t ack_id,
414 uint32_t accelerator_id, 415 uint32_t accelerator_id,
415 std::unique_ptr<ui::Event> event) override; 416 std::unique_ptr<ui::Event> event) override;
416 417
417 // Overridden from WindowManagerClient: 418 // Overridden from WindowManagerClient:
418 void SetFrameDecorationValues( 419 void SetFrameDecorationValues(
419 ui::mojom::FrameDecorationValuesPtr values) override; 420 ui::mojom::FrameDecorationValuesPtr values) override;
420 void SetNonClientCursor(Window* window, ui::mojom::Cursor cursor_id) override; 421 void SetNonClientCursor(Window* window, ui::mojom::Cursor cursor_id) override;
421 void AddAccelerators(std::vector<ui::mojom::AcceleratorPtr> accelerators, 422 void AddAccelerators(std::vector<ui::mojom::AcceleratorPtr> accelerators,
(...skipping 13 matching lines...) Expand all
435 const gfx::Rect& bounds) override; 436 const gfx::Rect& bounds) override;
436 void OnWindowTreeHostClientAreaWillChange( 437 void OnWindowTreeHostClientAreaWillChange(
437 WindowTreeHostMus* window_tree_host, 438 WindowTreeHostMus* window_tree_host,
438 const gfx::Insets& client_area, 439 const gfx::Insets& client_area,
439 const std::vector<gfx::Rect>& additional_client_areas) override; 440 const std::vector<gfx::Rect>& additional_client_areas) override;
440 void OnWindowTreeHostHitTestMaskWillChange( 441 void OnWindowTreeHostHitTestMaskWillChange(
441 WindowTreeHostMus* window_tree_host, 442 WindowTreeHostMus* window_tree_host,
442 const base::Optional<gfx::Rect>& mask_rect) override; 443 const base::Optional<gfx::Rect>& mask_rect) override;
443 void OnWindowTreeHostDeactivateWindow( 444 void OnWindowTreeHostDeactivateWindow(
444 WindowTreeHostMus* window_tree_host) override; 445 WindowTreeHostMus* window_tree_host) override;
446 void OnWindowTreeHostStackAbove(WindowTreeHostMus* window_tree_host,
447 Window* window) override;
445 void OnWindowTreeHostStackAtTop(WindowTreeHostMus* window_tree_host) override; 448 void OnWindowTreeHostStackAtTop(WindowTreeHostMus* window_tree_host) override;
446 std::unique_ptr<WindowPortMus> CreateWindowPortForTopLevel( 449 std::unique_ptr<WindowPortMus> CreateWindowPortForTopLevel(
447 const std::map<std::string, std::vector<uint8_t>>* properties) override; 450 const std::map<std::string, std::vector<uint8_t>>* properties) override;
448 void OnWindowTreeHostCreated(WindowTreeHostMus* window_tree_host) override; 451 void OnWindowTreeHostCreated(WindowTreeHostMus* window_tree_host) override;
449 452
450 // Override from client::TransientWindowClientObserver: 453 // Override from client::TransientWindowClientObserver:
451 void OnTransientChildWindowAdded(Window* parent, 454 void OnTransientChildWindowAdded(Window* parent,
452 Window* transient_child) override; 455 Window* transient_child) override;
453 void OnTransientChildWindowRemoved(Window* parent, 456 void OnTransientChildWindowRemoved(Window* parent,
454 Window* transient_child) override; 457 Window* transient_child) override;
(...skipping 86 matching lines...) Expand 10 before | Expand all | Expand 10 after
541 std::unique_ptr<ui::Gpu> gpu_; 544 std::unique_ptr<ui::Gpu> gpu_;
542 std::unique_ptr<MusContextFactory> compositor_context_factory_; 545 std::unique_ptr<MusContextFactory> compositor_context_factory_;
543 base::WeakPtrFactory<WindowTreeClient> weak_factory_; 546 base::WeakPtrFactory<WindowTreeClient> weak_factory_;
544 547
545 DISALLOW_COPY_AND_ASSIGN(WindowTreeClient); 548 DISALLOW_COPY_AND_ASSIGN(WindowTreeClient);
546 }; 549 };
547 550
548 } // namespace aura 551 } // namespace aura
549 552
550 #endif // UI_AURA_MUS_WINDOW_TREE_CLIENT_H_ 553 #endif // UI_AURA_MUS_WINDOW_TREE_CLIENT_H_
OLDNEW
« no previous file with comments | « services/ui/ws/window_tree_client_unittest.cc ('k') | ui/aura/mus/window_tree_client.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698