| 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 20 matching lines...) Expand all Loading... |
| 31 #include "ui/aura/mus/window_tree_host_mus_delegate.h" | 31 #include "ui/aura/mus/window_tree_host_mus_delegate.h" |
| 32 | 32 |
| 33 namespace display { | 33 namespace display { |
| 34 class Display; | 34 class Display; |
| 35 } | 35 } |
| 36 | 36 |
| 37 namespace gfx { | 37 namespace gfx { |
| 38 class Insets; | 38 class Insets; |
| 39 } | 39 } |
| 40 | 40 |
| 41 namespace ui { |
| 42 struct PropertyData; |
| 43 } |
| 44 |
| 41 namespace service_manager { | 45 namespace service_manager { |
| 42 class Connector; | 46 class Connector; |
| 43 } | 47 } |
| 44 | 48 |
| 45 namespace ui { | 49 namespace ui { |
| 46 class Gpu; | 50 class Gpu; |
| 47 } | 51 } |
| 48 | 52 |
| 49 namespace aura { | 53 namespace aura { |
| 50 class CaptureSynchronizer; | 54 class CaptureSynchronizer; |
| 51 class DragDropControllerMus; | 55 class DragDropControllerMus; |
| 52 class FocusSynchronizer; | 56 class FocusSynchronizer; |
| 53 class InFlightBoundsChange; | 57 class InFlightBoundsChange; |
| 54 class InFlightChange; | 58 class InFlightChange; |
| 55 class InFlightFocusChange; | 59 class InFlightFocusChange; |
| 56 class InFlightPropertyChange; | 60 class InFlightPropertyChange; |
| 57 class InFlightVisibleChange; | 61 class InFlightVisibleChange; |
| 58 class MusContextFactory; | 62 class MusContextFactory; |
| 59 class WindowMus; | 63 class WindowMus; |
| 60 class WindowPortMus; | 64 class WindowPortMus; |
| 61 struct WindowPortPropertyData; | |
| 62 class WindowTreeClientDelegate; | 65 class WindowTreeClientDelegate; |
| 63 class WindowTreeClientPrivate; | 66 class WindowTreeClientPrivate; |
| 64 class WindowTreeClientObserver; | 67 class WindowTreeClientObserver; |
| 65 class WindowTreeClientTestObserver; | 68 class WindowTreeClientTestObserver; |
| 66 class WindowTreeHostMus; | 69 class WindowTreeHostMus; |
| 67 | 70 |
| 68 namespace client { | 71 namespace client { |
| 69 class CaptureClient; | 72 class CaptureClient; |
| 70 } | 73 } |
| 71 | 74 |
| (...skipping 209 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 281 void OnWindowMusDestroyed(WindowMus* window, Origin origin); | 284 void OnWindowMusDestroyed(WindowMus* window, Origin origin); |
| 282 void OnWindowMusBoundsChanged(WindowMus* window, | 285 void OnWindowMusBoundsChanged(WindowMus* window, |
| 283 const gfx::Rect& old_bounds, | 286 const gfx::Rect& old_bounds, |
| 284 const gfx::Rect& new_bounds); | 287 const gfx::Rect& new_bounds); |
| 285 void OnWindowMusAddChild(WindowMus* parent, WindowMus* child); | 288 void OnWindowMusAddChild(WindowMus* parent, WindowMus* child); |
| 286 void OnWindowMusRemoveChild(WindowMus* parent, WindowMus* child); | 289 void OnWindowMusRemoveChild(WindowMus* parent, WindowMus* child); |
| 287 void OnWindowMusMoveChild(WindowMus* parent, | 290 void OnWindowMusMoveChild(WindowMus* parent, |
| 288 size_t current_index, | 291 size_t current_index, |
| 289 size_t dest_index); | 292 size_t dest_index); |
| 290 void OnWindowMusSetVisible(WindowMus* window, bool visible); | 293 void OnWindowMusSetVisible(WindowMus* window, bool visible); |
| 291 std::unique_ptr<WindowPortPropertyData> OnWindowMusWillChangeProperty( | 294 std::unique_ptr<ui::PropertyData> OnWindowMusWillChangeProperty( |
| 292 WindowMus* window, | 295 WindowMus* window, |
| 293 const void* key); | 296 const void* key); |
| 294 void OnWindowMusPropertyChanged(WindowMus* window, | 297 void OnWindowMusPropertyChanged(WindowMus* window, |
| 295 const void* key, | 298 const void* key, |
| 296 std::unique_ptr<WindowPortPropertyData> data); | 299 std::unique_ptr<ui::PropertyData> data); |
| 297 | 300 |
| 298 // Callback passed from WmPerformMoveLoop(). | 301 // Callback passed from WmPerformMoveLoop(). |
| 299 void OnWmMoveLoopCompleted(uint32_t change_id, bool completed); | 302 void OnWmMoveLoopCompleted(uint32_t change_id, bool completed); |
| 300 | 303 |
| 301 // Overridden from WindowTreeClient: | 304 // Overridden from WindowTreeClient: |
| 302 void OnEmbed(ClientSpecificId client_id, | 305 void OnEmbed(ClientSpecificId client_id, |
| 303 ui::mojom::WindowDataPtr root, | 306 ui::mojom::WindowDataPtr root, |
| 304 ui::mojom::WindowTreePtr tree, | 307 ui::mojom::WindowTreePtr tree, |
| 305 int64_t display_id, | 308 int64_t display_id, |
| 306 Id focused_window_id, | 309 Id focused_window_id, |
| (...skipping 233 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 540 std::unique_ptr<ui::Gpu> gpu_; | 543 std::unique_ptr<ui::Gpu> gpu_; |
| 541 std::unique_ptr<MusContextFactory> compositor_context_factory_; | 544 std::unique_ptr<MusContextFactory> compositor_context_factory_; |
| 542 base::WeakPtrFactory<WindowTreeClient> weak_factory_; | 545 base::WeakPtrFactory<WindowTreeClient> weak_factory_; |
| 543 | 546 |
| 544 DISALLOW_COPY_AND_ASSIGN(WindowTreeClient); | 547 DISALLOW_COPY_AND_ASSIGN(WindowTreeClient); |
| 545 }; | 548 }; |
| 546 | 549 |
| 547 } // namespace aura | 550 } // namespace aura |
| 548 | 551 |
| 549 #endif // UI_AURA_MUS_WINDOW_TREE_CLIENT_H_ | 552 #endif // UI_AURA_MUS_WINDOW_TREE_CLIENT_H_ |
| OLD | NEW |