| 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 497 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 508 void OnWindowTreeHostStackAbove(WindowTreeHostMus* window_tree_host, | 508 void OnWindowTreeHostStackAbove(WindowTreeHostMus* window_tree_host, |
| 509 Window* window) override; | 509 Window* window) override; |
| 510 void OnWindowTreeHostStackAtTop(WindowTreeHostMus* window_tree_host) override; | 510 void OnWindowTreeHostStackAtTop(WindowTreeHostMus* window_tree_host) override; |
| 511 void OnWindowTreeHostPerformWindowMove( | 511 void OnWindowTreeHostPerformWindowMove( |
| 512 WindowTreeHostMus* window_tree_host, | 512 WindowTreeHostMus* window_tree_host, |
| 513 ui::mojom::MoveLoopSource mus_source, | 513 ui::mojom::MoveLoopSource mus_source, |
| 514 const gfx::Point& cursor_location, | 514 const gfx::Point& cursor_location, |
| 515 const base::Callback<void(bool)>& callback) override; | 515 const base::Callback<void(bool)>& callback) override; |
| 516 void OnWindowTreeHostCancelWindowMove( | 516 void OnWindowTreeHostCancelWindowMove( |
| 517 WindowTreeHostMus* window_tree_host) override; | 517 WindowTreeHostMus* window_tree_host) override; |
| 518 void OnWindowTreeHostMoveCursorToDisplayLocation( |
| 519 const gfx::Point& location_in_dips, |
| 520 int64_t display_id) override; |
| 518 std::unique_ptr<WindowPortMus> CreateWindowPortForTopLevel( | 521 std::unique_ptr<WindowPortMus> CreateWindowPortForTopLevel( |
| 519 const std::map<std::string, std::vector<uint8_t>>* properties) override; | 522 const std::map<std::string, std::vector<uint8_t>>* properties) override; |
| 520 void OnWindowTreeHostCreated(WindowTreeHostMus* window_tree_host) override; | 523 void OnWindowTreeHostCreated(WindowTreeHostMus* window_tree_host) override; |
| 521 | 524 |
| 522 // Override from client::TransientWindowClientObserver: | 525 // Override from client::TransientWindowClientObserver: |
| 523 void OnTransientChildWindowAdded(Window* parent, | 526 void OnTransientChildWindowAdded(Window* parent, |
| 524 Window* transient_child) override; | 527 Window* transient_child) override; |
| 525 void OnTransientChildWindowRemoved(Window* parent, | 528 void OnTransientChildWindowRemoved(Window* parent, |
| 526 Window* transient_child) override; | 529 Window* transient_child) override; |
| 527 void OnWillRestackTransientChildAbove(Window* parent, | 530 void OnWillRestackTransientChildAbove(Window* parent, |
| (...skipping 122 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 650 bool in_shutdown_ = false; | 653 bool in_shutdown_ = false; |
| 651 | 654 |
| 652 base::WeakPtrFactory<WindowTreeClient> weak_factory_; | 655 base::WeakPtrFactory<WindowTreeClient> weak_factory_; |
| 653 | 656 |
| 654 DISALLOW_COPY_AND_ASSIGN(WindowTreeClient); | 657 DISALLOW_COPY_AND_ASSIGN(WindowTreeClient); |
| 655 }; | 658 }; |
| 656 | 659 |
| 657 } // namespace aura | 660 } // namespace aura |
| 658 | 661 |
| 659 #endif // UI_AURA_MUS_WINDOW_TREE_CLIENT_H_ | 662 #endif // UI_AURA_MUS_WINDOW_TREE_CLIENT_H_ |
| OLD | NEW |