| OLD | NEW |
| 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 428 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 439 const gfx::Insets& client_area, | 439 const gfx::Insets& client_area, |
| 440 const std::vector<gfx::Rect>& additional_client_areas) override; | 440 const std::vector<gfx::Rect>& additional_client_areas) override; |
| 441 void OnWindowTreeHostHitTestMaskWillChange( | 441 void OnWindowTreeHostHitTestMaskWillChange( |
| 442 WindowTreeHostMus* window_tree_host, | 442 WindowTreeHostMus* window_tree_host, |
| 443 const base::Optional<gfx::Rect>& mask_rect) override; | 443 const base::Optional<gfx::Rect>& mask_rect) override; |
| 444 void OnWindowTreeHostDeactivateWindow( | 444 void OnWindowTreeHostDeactivateWindow( |
| 445 WindowTreeHostMus* window_tree_host) override; | 445 WindowTreeHostMus* window_tree_host) override; |
| 446 void OnWindowTreeHostStackAbove(WindowTreeHostMus* window_tree_host, | 446 void OnWindowTreeHostStackAbove(WindowTreeHostMus* window_tree_host, |
| 447 Window* window) override; | 447 Window* window) override; |
| 448 void OnWindowTreeHostStackAtTop(WindowTreeHostMus* window_tree_host) override; | 448 void OnWindowTreeHostStackAtTop(WindowTreeHostMus* window_tree_host) override; |
| 449 void OnWindowTreeHostPerformWindowMove( |
| 450 WindowTreeHostMus* window_tree_host, |
| 451 ui::mojom::MoveLoopSource mus_source, |
| 452 const gfx::Point& cursor_location, |
| 453 const base::Callback<void(bool)>& callback) override; |
| 454 void OnWindowTreeHostCancelWindowMove( |
| 455 WindowTreeHostMus* window_tree_host) override; |
| 449 std::unique_ptr<WindowPortMus> CreateWindowPortForTopLevel( | 456 std::unique_ptr<WindowPortMus> CreateWindowPortForTopLevel( |
| 450 const std::map<std::string, std::vector<uint8_t>>* properties) override; | 457 const std::map<std::string, std::vector<uint8_t>>* properties) override; |
| 451 void OnWindowTreeHostCreated(WindowTreeHostMus* window_tree_host) override; | 458 void OnWindowTreeHostCreated(WindowTreeHostMus* window_tree_host) override; |
| 452 | 459 |
| 453 // Override from client::TransientWindowClientObserver: | 460 // Override from client::TransientWindowClientObserver: |
| 454 void OnTransientChildWindowAdded(Window* parent, | 461 void OnTransientChildWindowAdded(Window* parent, |
| 455 Window* transient_child) override; | 462 Window* transient_child) override; |
| 456 void OnTransientChildWindowRemoved(Window* parent, | 463 void OnTransientChildWindowRemoved(Window* parent, |
| 457 Window* transient_child) override; | 464 Window* transient_child) override; |
| 458 void OnWillRestackTransientChildAbove(Window* parent, | 465 void OnWillRestackTransientChildAbove(Window* parent, |
| (...skipping 85 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 544 std::unique_ptr<ui::Gpu> gpu_; | 551 std::unique_ptr<ui::Gpu> gpu_; |
| 545 std::unique_ptr<MusContextFactory> compositor_context_factory_; | 552 std::unique_ptr<MusContextFactory> compositor_context_factory_; |
| 546 base::WeakPtrFactory<WindowTreeClient> weak_factory_; | 553 base::WeakPtrFactory<WindowTreeClient> weak_factory_; |
| 547 | 554 |
| 548 DISALLOW_COPY_AND_ASSIGN(WindowTreeClient); | 555 DISALLOW_COPY_AND_ASSIGN(WindowTreeClient); |
| 549 }; | 556 }; |
| 550 | 557 |
| 551 } // namespace aura | 558 } // namespace aura |
| 552 | 559 |
| 553 #endif // UI_AURA_MUS_WINDOW_TREE_CLIENT_H_ | 560 #endif // UI_AURA_MUS_WINDOW_TREE_CLIENT_H_ |
| OLD | NEW |