| 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 400 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 411 // Overridden from WindowManagerClient: | 411 // Overridden from WindowManagerClient: |
| 412 void SetFrameDecorationValues( | 412 void SetFrameDecorationValues( |
| 413 ui::mojom::FrameDecorationValuesPtr values) override; | 413 ui::mojom::FrameDecorationValuesPtr values) override; |
| 414 void SetNonClientCursor(Window* window, ui::mojom::Cursor cursor_id) override; | 414 void SetNonClientCursor(Window* window, ui::mojom::Cursor cursor_id) override; |
| 415 void AddAccelerators(std::vector<ui::mojom::AcceleratorPtr> accelerators, | 415 void AddAccelerators(std::vector<ui::mojom::AcceleratorPtr> accelerators, |
| 416 const base::Callback<void(bool)>& callback) override; | 416 const base::Callback<void(bool)>& callback) override; |
| 417 void RemoveAccelerator(uint32_t id) override; | 417 void RemoveAccelerator(uint32_t id) override; |
| 418 void AddActivationParent(Window* window) override; | 418 void AddActivationParent(Window* window) override; |
| 419 void RemoveActivationParent(Window* window) override; | 419 void RemoveActivationParent(Window* window) override; |
| 420 void ActivateNextWindow() override; | 420 void ActivateNextWindow() override; |
| 421 void SetUnderlaySurfaceOffsetAndExtendedHitArea( | 421 void SetExtendedHitArea(Window* window, const gfx::Insets& hit_area) override; |
| 422 Window* window, | |
| 423 const gfx::Vector2d& offset, | |
| 424 const gfx::Insets& hit_area) override; | |
| 425 void RequestClose(Window* window) override; | 422 void RequestClose(Window* window) override; |
| 426 | 423 |
| 427 // Overriden from WindowTreeHostMusDelegate: | 424 // Overriden from WindowTreeHostMusDelegate: |
| 428 void OnWindowTreeHostBoundsWillChange(WindowTreeHostMus* window_tree_host, | 425 void OnWindowTreeHostBoundsWillChange(WindowTreeHostMus* window_tree_host, |
| 429 const gfx::Rect& bounds) override; | 426 const gfx::Rect& bounds) override; |
| 430 void OnWindowTreeHostClientAreaWillChange( | 427 void OnWindowTreeHostClientAreaWillChange( |
| 431 WindowTreeHostMus* window_tree_host, | 428 WindowTreeHostMus* window_tree_host, |
| 432 const gfx::Insets& client_area, | 429 const gfx::Insets& client_area, |
| 433 const std::vector<gfx::Rect>& additional_client_areas) override; | 430 const std::vector<gfx::Rect>& additional_client_areas) override; |
| 434 void OnWindowTreeHostHitTestMaskWillChange( | 431 void OnWindowTreeHostHitTestMaskWillChange( |
| (...skipping 109 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 544 std::unique_ptr<ui::Gpu> gpu_; | 541 std::unique_ptr<ui::Gpu> gpu_; |
| 545 std::unique_ptr<MusContextFactory> compositor_context_factory_; | 542 std::unique_ptr<MusContextFactory> compositor_context_factory_; |
| 546 base::WeakPtrFactory<WindowTreeClient> weak_factory_; | 543 base::WeakPtrFactory<WindowTreeClient> weak_factory_; |
| 547 | 544 |
| 548 DISALLOW_COPY_AND_ASSIGN(WindowTreeClient); | 545 DISALLOW_COPY_AND_ASSIGN(WindowTreeClient); |
| 549 }; | 546 }; |
| 550 | 547 |
| 551 } // namespace aura | 548 } // namespace aura |
| 552 | 549 |
| 553 #endif // UI_AURA_MUS_WINDOW_TREE_CLIENT_H_ | 550 #endif // UI_AURA_MUS_WINDOW_TREE_CLIENT_H_ |
| OLD | NEW |