| 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 409 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 420 // Overriden from WindowTreeHostMusDelegate: | 420 // Overriden from WindowTreeHostMusDelegate: |
| 421 void OnWindowTreeHostBoundsWillChange(WindowTreeHostMus* window_tree_host, | 421 void OnWindowTreeHostBoundsWillChange(WindowTreeHostMus* window_tree_host, |
| 422 const gfx::Rect& bounds) override; | 422 const gfx::Rect& bounds) override; |
| 423 void OnWindowTreeHostClientAreaWillChange( | 423 void OnWindowTreeHostClientAreaWillChange( |
| 424 WindowTreeHostMus* window_tree_host, | 424 WindowTreeHostMus* window_tree_host, |
| 425 const gfx::Insets& client_area, | 425 const gfx::Insets& client_area, |
| 426 const std::vector<gfx::Rect>& additional_client_areas) override; | 426 const std::vector<gfx::Rect>& additional_client_areas) override; |
| 427 void OnWindowTreeHostHitTestMaskWillChange( | 427 void OnWindowTreeHostHitTestMaskWillChange( |
| 428 WindowTreeHostMus* window_tree_host, | 428 WindowTreeHostMus* window_tree_host, |
| 429 const base::Optional<gfx::Rect>& mask_rect) override; | 429 const base::Optional<gfx::Rect>& mask_rect) override; |
| 430 void OnWindowTreeHostClearFocus() override; |
| 430 std::unique_ptr<WindowPortMus> CreateWindowPortForTopLevel( | 431 std::unique_ptr<WindowPortMus> CreateWindowPortForTopLevel( |
| 431 const std::map<std::string, std::vector<uint8_t>>* properties) override; | 432 const std::map<std::string, std::vector<uint8_t>>* properties) override; |
| 432 void OnWindowTreeHostCreated(WindowTreeHostMus* window_tree_host) override; | 433 void OnWindowTreeHostCreated(WindowTreeHostMus* window_tree_host) override; |
| 433 | 434 |
| 434 // Override from client::TransientWindowClientObserver: | 435 // Override from client::TransientWindowClientObserver: |
| 435 void OnTransientChildWindowAdded(Window* parent, | 436 void OnTransientChildWindowAdded(Window* parent, |
| 436 Window* transient_child) override; | 437 Window* transient_child) override; |
| 437 void OnTransientChildWindowRemoved(Window* parent, | 438 void OnTransientChildWindowRemoved(Window* parent, |
| 438 Window* transient_child) override; | 439 Window* transient_child) override; |
| 439 void OnWillRestackTransientChildAbove(Window* parent, | 440 void OnWillRestackTransientChildAbove(Window* parent, |
| (...skipping 81 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 521 std::unique_ptr<DragDropControllerMus> drag_drop_controller_; | 522 std::unique_ptr<DragDropControllerMus> drag_drop_controller_; |
| 522 | 523 |
| 523 base::WeakPtrFactory<WindowTreeClient> weak_factory_; | 524 base::WeakPtrFactory<WindowTreeClient> weak_factory_; |
| 524 | 525 |
| 525 DISALLOW_COPY_AND_ASSIGN(WindowTreeClient); | 526 DISALLOW_COPY_AND_ASSIGN(WindowTreeClient); |
| 526 }; | 527 }; |
| 527 | 528 |
| 528 } // namespace aura | 529 } // namespace aura |
| 529 | 530 |
| 530 #endif // UI_AURA_MUS_WINDOW_TREE_CLIENT_H_ | 531 #endif // UI_AURA_MUS_WINDOW_TREE_CLIENT_H_ |
| OLD | NEW |