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 457 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
468 ui::mojom::FrameDecorationValuesPtr values) override; | 468 ui::mojom::FrameDecorationValuesPtr values) override; |
469 void SetNonClientCursor(Window* window, | 469 void SetNonClientCursor(Window* window, |
470 const ui::CursorData& cursor) override; | 470 const ui::CursorData& cursor) override; |
471 void AddAccelerators(std::vector<ui::mojom::WmAcceleratorPtr> accelerators, | 471 void AddAccelerators(std::vector<ui::mojom::WmAcceleratorPtr> accelerators, |
472 const base::Callback<void(bool)>& callback) override; | 472 const base::Callback<void(bool)>& callback) override; |
473 void RemoveAccelerator(uint32_t id) override; | 473 void RemoveAccelerator(uint32_t id) override; |
474 void AddActivationParent(Window* window) override; | 474 void AddActivationParent(Window* window) override; |
475 void RemoveActivationParent(Window* window) override; | 475 void RemoveActivationParent(Window* window) override; |
476 void ActivateNextWindow() override; | 476 void ActivateNextWindow() override; |
477 void SetExtendedHitArea(Window* window, const gfx::Insets& hit_area) override; | 477 void SetExtendedHitArea(Window* window, const gfx::Insets& hit_area) override; |
| 478 void LockCursor() override; |
| 479 void UnlockCursor() override; |
| 480 void ShowCursor() override; |
| 481 void HideCursor() override; |
| 482 void SetGlobalOverrideCursor(base::Optional<ui::CursorData> cursor) override; |
478 void RequestClose(Window* window) override; | 483 void RequestClose(Window* window) override; |
479 bool WaitForInitialDisplays() override; | 484 bool WaitForInitialDisplays() override; |
480 WindowTreeHostMusInitParams CreateInitParamsForNewDisplay() override; | 485 WindowTreeHostMusInitParams CreateInitParamsForNewDisplay() override; |
481 | 486 |
482 // Overriden from WindowTreeHostMusDelegate: | 487 // Overriden from WindowTreeHostMusDelegate: |
483 void OnWindowTreeHostBoundsWillChange(WindowTreeHostMus* window_tree_host, | 488 void OnWindowTreeHostBoundsWillChange(WindowTreeHostMus* window_tree_host, |
484 const gfx::Rect& bounds) override; | 489 const gfx::Rect& bounds) override; |
485 void OnWindowTreeHostClientAreaWillChange( | 490 void OnWindowTreeHostClientAreaWillChange( |
486 WindowTreeHostMus* window_tree_host, | 491 WindowTreeHostMus* window_tree_host, |
487 const gfx::Insets& client_area, | 492 const gfx::Insets& client_area, |
(...skipping 150 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
638 gfx::Insets normal_client_area_insets_; | 643 gfx::Insets normal_client_area_insets_; |
639 | 644 |
640 base::WeakPtrFactory<WindowTreeClient> weak_factory_; | 645 base::WeakPtrFactory<WindowTreeClient> weak_factory_; |
641 | 646 |
642 DISALLOW_COPY_AND_ASSIGN(WindowTreeClient); | 647 DISALLOW_COPY_AND_ASSIGN(WindowTreeClient); |
643 }; | 648 }; |
644 | 649 |
645 } // namespace aura | 650 } // namespace aura |
646 | 651 |
647 #endif // UI_AURA_MUS_WINDOW_TREE_CLIENT_H_ | 652 #endif // UI_AURA_MUS_WINDOW_TREE_CLIENT_H_ |
OLD | NEW |