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

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

Issue 2633233003: aura-mus: Implement stacking in DesktopWindowTreeHostMus. (Closed)
Patch Set: Patch cleanup. 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 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 412 matching lines...) Expand 10 before | Expand all | Expand 10 after
423 const gfx::Rect& bounds) override; 423 const gfx::Rect& bounds) override;
424 void OnWindowTreeHostClientAreaWillChange( 424 void OnWindowTreeHostClientAreaWillChange(
425 WindowTreeHostMus* window_tree_host, 425 WindowTreeHostMus* window_tree_host,
426 const gfx::Insets& client_area, 426 const gfx::Insets& client_area,
427 const std::vector<gfx::Rect>& additional_client_areas) override; 427 const std::vector<gfx::Rect>& additional_client_areas) override;
428 void OnWindowTreeHostHitTestMaskWillChange( 428 void OnWindowTreeHostHitTestMaskWillChange(
429 WindowTreeHostMus* window_tree_host, 429 WindowTreeHostMus* window_tree_host,
430 const base::Optional<gfx::Rect>& mask_rect) override; 430 const base::Optional<gfx::Rect>& mask_rect) override;
431 void OnWindowTreeHostDeactivateWindow( 431 void OnWindowTreeHostDeactivateWindow(
432 WindowTreeHostMus* window_tree_host) override; 432 WindowTreeHostMus* window_tree_host) override;
433 void OnWindowTreeHostStackAtTop(WindowTreeHostMus* window_tree_host) override;
433 std::unique_ptr<WindowPortMus> CreateWindowPortForTopLevel( 434 std::unique_ptr<WindowPortMus> CreateWindowPortForTopLevel(
434 const std::map<std::string, std::vector<uint8_t>>* properties) override; 435 const std::map<std::string, std::vector<uint8_t>>* properties) override;
435 void OnWindowTreeHostCreated(WindowTreeHostMus* window_tree_host) override; 436 void OnWindowTreeHostCreated(WindowTreeHostMus* window_tree_host) override;
436 437
437 // Override from client::TransientWindowClientObserver: 438 // Override from client::TransientWindowClientObserver:
438 void OnTransientChildWindowAdded(Window* parent, 439 void OnTransientChildWindowAdded(Window* parent,
439 Window* transient_child) override; 440 Window* transient_child) override;
440 void OnTransientChildWindowRemoved(Window* parent, 441 void OnTransientChildWindowRemoved(Window* parent,
441 Window* transient_child) override; 442 Window* transient_child) override;
442 void OnWillRestackTransientChildAbove(Window* parent, 443 void OnWillRestackTransientChildAbove(Window* parent,
(...skipping 81 matching lines...) Expand 10 before | Expand all | Expand 10 after
524 std::unique_ptr<DragDropControllerMus> drag_drop_controller_; 525 std::unique_ptr<DragDropControllerMus> drag_drop_controller_;
525 526
526 base::WeakPtrFactory<WindowTreeClient> weak_factory_; 527 base::WeakPtrFactory<WindowTreeClient> weak_factory_;
527 528
528 DISALLOW_COPY_AND_ASSIGN(WindowTreeClient); 529 DISALLOW_COPY_AND_ASSIGN(WindowTreeClient);
529 }; 530 };
530 531
531 } // namespace aura 532 } // namespace aura
532 533
533 #endif // UI_AURA_MUS_WINDOW_TREE_CLIENT_H_ 534 #endif // UI_AURA_MUS_WINDOW_TREE_CLIENT_H_
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698