| 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 416 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 427 // Overriden from WindowTreeHostMusDelegate: | 427 // Overriden from WindowTreeHostMusDelegate: |
| 428 void OnWindowTreeHostBoundsWillChange(WindowTreeHostMus* window_tree_host, | 428 void OnWindowTreeHostBoundsWillChange(WindowTreeHostMus* window_tree_host, |
| 429 const gfx::Rect& bounds) override; | 429 const gfx::Rect& bounds) override; |
| 430 void OnWindowTreeHostClientAreaWillChange( | 430 void OnWindowTreeHostClientAreaWillChange( |
| 431 WindowTreeHostMus* window_tree_host, | 431 WindowTreeHostMus* window_tree_host, |
| 432 const gfx::Insets& client_area, | 432 const gfx::Insets& client_area, |
| 433 const std::vector<gfx::Rect>& additional_client_areas) override; | 433 const std::vector<gfx::Rect>& additional_client_areas) override; |
| 434 void OnWindowTreeHostHitTestMaskWillChange( | 434 void OnWindowTreeHostHitTestMaskWillChange( |
| 435 WindowTreeHostMus* window_tree_host, | 435 WindowTreeHostMus* window_tree_host, |
| 436 const base::Optional<gfx::Rect>& mask_rect) override; | 436 const base::Optional<gfx::Rect>& mask_rect) override; |
| 437 void OnWindowTreeHostSetOpacity(WindowTreeHostMus* window_tree_host, |
| 438 float opacity) override; |
| 437 void OnWindowTreeHostDeactivateWindow( | 439 void OnWindowTreeHostDeactivateWindow( |
| 438 WindowTreeHostMus* window_tree_host) override; | 440 WindowTreeHostMus* window_tree_host) override; |
| 439 void OnWindowTreeHostStackAbove(WindowTreeHostMus* window_tree_host, | 441 void OnWindowTreeHostStackAbove(WindowTreeHostMus* window_tree_host, |
| 440 Window* window) override; | 442 Window* window) override; |
| 441 void OnWindowTreeHostStackAtTop(WindowTreeHostMus* window_tree_host) override; | 443 void OnWindowTreeHostStackAtTop(WindowTreeHostMus* window_tree_host) override; |
| 442 void OnWindowTreeHostPerformWindowMove( | 444 void OnWindowTreeHostPerformWindowMove( |
| 443 WindowTreeHostMus* window_tree_host, | 445 WindowTreeHostMus* window_tree_host, |
| 444 ui::mojom::MoveLoopSource mus_source, | 446 ui::mojom::MoveLoopSource mus_source, |
| 445 const gfx::Point& cursor_location, | 447 const gfx::Point& cursor_location, |
| 446 const base::Callback<void(bool)>& callback) override; | 448 const base::Callback<void(bool)>& callback) override; |
| (...skipping 97 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 544 std::unique_ptr<ui::Gpu> gpu_; | 546 std::unique_ptr<ui::Gpu> gpu_; |
| 545 std::unique_ptr<MusContextFactory> compositor_context_factory_; | 547 std::unique_ptr<MusContextFactory> compositor_context_factory_; |
| 546 base::WeakPtrFactory<WindowTreeClient> weak_factory_; | 548 base::WeakPtrFactory<WindowTreeClient> weak_factory_; |
| 547 | 549 |
| 548 DISALLOW_COPY_AND_ASSIGN(WindowTreeClient); | 550 DISALLOW_COPY_AND_ASSIGN(WindowTreeClient); |
| 549 }; | 551 }; |
| 550 | 552 |
| 551 } // namespace aura | 553 } // namespace aura |
| 552 | 554 |
| 553 #endif // UI_AURA_MUS_WINDOW_TREE_CLIENT_H_ | 555 #endif // UI_AURA_MUS_WINDOW_TREE_CLIENT_H_ |
| OLD | NEW |