| 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 459 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 470 void RemoveActivationParent(Window* window) override; | 470 void RemoveActivationParent(Window* window) override; |
| 471 void ActivateNextWindow() override; | 471 void ActivateNextWindow() override; |
| 472 void SetExtendedHitArea(Window* window, const gfx::Insets& hit_area) override; | 472 void SetExtendedHitArea(Window* window, const gfx::Insets& hit_area) override; |
| 473 void LockCursor() override; | 473 void LockCursor() override; |
| 474 void UnlockCursor() override; | 474 void UnlockCursor() override; |
| 475 void SetCursorVisible(bool visible) override; | 475 void SetCursorVisible(bool visible) override; |
| 476 void SetGlobalOverrideCursor(base::Optional<ui::CursorData> cursor) override; | 476 void SetGlobalOverrideCursor(base::Optional<ui::CursorData> cursor) override; |
| 477 void RequestClose(Window* window) override; | 477 void RequestClose(Window* window) override; |
| 478 bool WaitForInitialDisplays() override; | 478 bool WaitForInitialDisplays() override; |
| 479 WindowTreeHostMusInitParams CreateInitParamsForNewDisplay() override; | 479 WindowTreeHostMusInitParams CreateInitParamsForNewDisplay() override; |
| 480 void SetDisplayConfiguration( |
| 481 const std::vector<display::Display>& displays, |
| 482 std::vector<ui::mojom::WmViewportMetricsPtr> viewport_metrics, |
| 483 int64_t primary_display_id) override; |
| 480 | 484 |
| 481 // Overriden from WindowTreeHostMusDelegate: | 485 // Overriden from WindowTreeHostMusDelegate: |
| 482 void OnWindowTreeHostBoundsWillChange(WindowTreeHostMus* window_tree_host, | 486 void OnWindowTreeHostBoundsWillChange(WindowTreeHostMus* window_tree_host, |
| 483 const gfx::Rect& bounds) override; | 487 const gfx::Rect& bounds) override; |
| 484 void OnWindowTreeHostClientAreaWillChange( | 488 void OnWindowTreeHostClientAreaWillChange( |
| 485 WindowTreeHostMus* window_tree_host, | 489 WindowTreeHostMus* window_tree_host, |
| 486 const gfx::Insets& client_area, | 490 const gfx::Insets& client_area, |
| 487 const std::vector<gfx::Rect>& additional_client_areas) override; | 491 const std::vector<gfx::Rect>& additional_client_areas) override; |
| 488 void OnWindowTreeHostHitTestMaskWillChange( | 492 void OnWindowTreeHostHitTestMaskWillChange( |
| 489 WindowTreeHostMus* window_tree_host, | 493 WindowTreeHostMus* window_tree_host, |
| (...skipping 149 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 639 bool in_shutdown_ = false; | 643 bool in_shutdown_ = false; |
| 640 | 644 |
| 641 base::WeakPtrFactory<WindowTreeClient> weak_factory_; | 645 base::WeakPtrFactory<WindowTreeClient> weak_factory_; |
| 642 | 646 |
| 643 DISALLOW_COPY_AND_ASSIGN(WindowTreeClient); | 647 DISALLOW_COPY_AND_ASSIGN(WindowTreeClient); |
| 644 }; | 648 }; |
| 645 | 649 |
| 646 } // namespace aura | 650 } // namespace aura |
| 647 | 651 |
| 648 #endif // UI_AURA_MUS_WINDOW_TREE_CLIENT_H_ | 652 #endif // UI_AURA_MUS_WINDOW_TREE_CLIENT_H_ |
| OLD | NEW |