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 466 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
477 void AddAccelerators(std::vector<ui::mojom::WmAcceleratorPtr> accelerators, | 477 void AddAccelerators(std::vector<ui::mojom::WmAcceleratorPtr> accelerators, |
478 const base::Callback<void(bool)>& callback) override; | 478 const base::Callback<void(bool)>& callback) override; |
479 void RemoveAccelerator(uint32_t id) override; | 479 void RemoveAccelerator(uint32_t id) override; |
480 void AddActivationParent(Window* window) override; | 480 void AddActivationParent(Window* window) override; |
481 void RemoveActivationParent(Window* window) override; | 481 void RemoveActivationParent(Window* window) override; |
482 void ActivateNextWindow() override; | 482 void ActivateNextWindow() override; |
483 void SetExtendedHitArea(Window* window, const gfx::Insets& hit_area) override; | 483 void SetExtendedHitArea(Window* window, const gfx::Insets& hit_area) override; |
484 void LockCursor() override; | 484 void LockCursor() override; |
485 void UnlockCursor() override; | 485 void UnlockCursor() override; |
486 void SetCursorVisible(bool visible) override; | 486 void SetCursorVisible(bool visible) override; |
| 487 void SetCursorSize(ui::CursorSize cursor_size) override; |
487 void SetGlobalOverrideCursor(base::Optional<ui::CursorData> cursor) override; | 488 void SetGlobalOverrideCursor(base::Optional<ui::CursorData> cursor) override; |
488 void RequestClose(Window* window) override; | 489 void RequestClose(Window* window) override; |
489 bool WaitForInitialDisplays() override; | 490 bool WaitForInitialDisplays() override; |
490 WindowTreeHostMusInitParams CreateInitParamsForNewDisplay() override; | 491 WindowTreeHostMusInitParams CreateInitParamsForNewDisplay() override; |
491 void SetDisplayConfiguration( | 492 void SetDisplayConfiguration( |
492 const std::vector<display::Display>& displays, | 493 const std::vector<display::Display>& displays, |
493 std::vector<ui::mojom::WmViewportMetricsPtr> viewport_metrics, | 494 std::vector<ui::mojom::WmViewportMetricsPtr> viewport_metrics, |
494 int64_t primary_display_id) override; | 495 int64_t primary_display_id) override; |
495 | 496 |
496 // Overriden from WindowTreeHostMusDelegate: | 497 // Overriden from WindowTreeHostMusDelegate: |
(...skipping 162 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
659 bool install_drag_drop_client_ = true; | 660 bool install_drag_drop_client_ = true; |
660 | 661 |
661 base::WeakPtrFactory<WindowTreeClient> weak_factory_; | 662 base::WeakPtrFactory<WindowTreeClient> weak_factory_; |
662 | 663 |
663 DISALLOW_COPY_AND_ASSIGN(WindowTreeClient); | 664 DISALLOW_COPY_AND_ASSIGN(WindowTreeClient); |
664 }; | 665 }; |
665 | 666 |
666 } // namespace aura | 667 } // namespace aura |
667 | 668 |
668 #endif // UI_AURA_MUS_WINDOW_TREE_CLIENT_H_ | 669 #endif // UI_AURA_MUS_WINDOW_TREE_CLIENT_H_ |
OLD | NEW |