| 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 488 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 499 void OnWindowTreeHostStackAbove(WindowTreeHostMus* window_tree_host, | 499 void OnWindowTreeHostStackAbove(WindowTreeHostMus* window_tree_host, |
| 500 Window* window) override; | 500 Window* window) override; |
| 501 void OnWindowTreeHostStackAtTop(WindowTreeHostMus* window_tree_host) override; | 501 void OnWindowTreeHostStackAtTop(WindowTreeHostMus* window_tree_host) override; |
| 502 void OnWindowTreeHostPerformWindowMove( | 502 void OnWindowTreeHostPerformWindowMove( |
| 503 WindowTreeHostMus* window_tree_host, | 503 WindowTreeHostMus* window_tree_host, |
| 504 ui::mojom::MoveLoopSource mus_source, | 504 ui::mojom::MoveLoopSource mus_source, |
| 505 const gfx::Point& cursor_location, | 505 const gfx::Point& cursor_location, |
| 506 const base::Callback<void(bool)>& callback) override; | 506 const base::Callback<void(bool)>& callback) override; |
| 507 void OnWindowTreeHostCancelWindowMove( | 507 void OnWindowTreeHostCancelWindowMove( |
| 508 WindowTreeHostMus* window_tree_host) override; | 508 WindowTreeHostMus* window_tree_host) override; |
| 509 void OnWindowTreeHostMoveCursorToScreenLocationInPixels( |
| 510 const gfx::Point& location_in_pixels) override; |
| 509 std::unique_ptr<WindowPortMus> CreateWindowPortForTopLevel( | 511 std::unique_ptr<WindowPortMus> CreateWindowPortForTopLevel( |
| 510 const std::map<std::string, std::vector<uint8_t>>* properties) override; | 512 const std::map<std::string, std::vector<uint8_t>>* properties) override; |
| 511 void OnWindowTreeHostCreated(WindowTreeHostMus* window_tree_host) override; | 513 void OnWindowTreeHostCreated(WindowTreeHostMus* window_tree_host) override; |
| 512 | 514 |
| 513 // Override from client::TransientWindowClientObserver: | 515 // Override from client::TransientWindowClientObserver: |
| 514 void OnTransientChildWindowAdded(Window* parent, | 516 void OnTransientChildWindowAdded(Window* parent, |
| 515 Window* transient_child) override; | 517 Window* transient_child) override; |
| 516 void OnTransientChildWindowRemoved(Window* parent, | 518 void OnTransientChildWindowRemoved(Window* parent, |
| 517 Window* transient_child) override; | 519 Window* transient_child) override; |
| 518 void OnWillRestackTransientChildAbove(Window* parent, | 520 void OnWillRestackTransientChildAbove(Window* parent, |
| (...skipping 122 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 641 bool in_shutdown_ = false; | 643 bool in_shutdown_ = false; |
| 642 | 644 |
| 643 base::WeakPtrFactory<WindowTreeClient> weak_factory_; | 645 base::WeakPtrFactory<WindowTreeClient> weak_factory_; |
| 644 | 646 |
| 645 DISALLOW_COPY_AND_ASSIGN(WindowTreeClient); | 647 DISALLOW_COPY_AND_ASSIGN(WindowTreeClient); |
| 646 }; | 648 }; |
| 647 | 649 |
| 648 } // namespace aura | 650 } // namespace aura |
| 649 | 651 |
| 650 #endif // UI_AURA_MUS_WINDOW_TREE_CLIENT_H_ | 652 #endif // UI_AURA_MUS_WINDOW_TREE_CLIENT_H_ |
| OLD | NEW |