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 35 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
46 class CaptureSynchronizer; | 46 class CaptureSynchronizer; |
47 class DragDropControllerMus; | 47 class DragDropControllerMus; |
48 class FocusSynchronizer; | 48 class FocusSynchronizer; |
49 class InFlightBoundsChange; | 49 class InFlightBoundsChange; |
50 class InFlightChange; | 50 class InFlightChange; |
51 class InFlightFocusChange; | 51 class InFlightFocusChange; |
52 class InFlightPropertyChange; | 52 class InFlightPropertyChange; |
53 class InFlightVisibleChange; | 53 class InFlightVisibleChange; |
54 class WindowMus; | 54 class WindowMus; |
55 class WindowPortMus; | 55 class WindowPortMus; |
56 struct WindowPortInitData; | |
57 struct WindowPortPropertyData; | 56 struct WindowPortPropertyData; |
58 class WindowTreeClientDelegate; | 57 class WindowTreeClientDelegate; |
59 class WindowTreeClientPrivate; | 58 class WindowTreeClientPrivate; |
60 class WindowTreeClientObserver; | 59 class WindowTreeClientObserver; |
61 class WindowTreeHost; | 60 class WindowTreeHost; |
62 class WindowTreeHostMus; | 61 class WindowTreeHostMus; |
63 | 62 |
64 namespace client { | |
65 class FocusClient; | |
66 } | |
67 | |
68 using EventResultCallback = base::Callback<void(ui::mojom::EventResult)>; | 63 using EventResultCallback = base::Callback<void(ui::mojom::EventResult)>; |
69 | 64 |
70 // Manages the connection with mus. | 65 // Manages the connection with mus. |
71 // | 66 // |
72 // WindowTreeClient is owned by the creator. Generally when the delegate gets | 67 // WindowTreeClient is owned by the creator. Generally when the delegate gets |
73 // one of OnEmbedRootDestroyed() or OnLostConnection() it should delete the | 68 // one of OnEmbedRootDestroyed() or OnLostConnection() it should delete the |
74 // WindowTreeClient. | 69 // WindowTreeClient. |
75 // | 70 // |
76 // When WindowTreeClient is deleted all windows are deleted (and observers | 71 // When WindowTreeClient is deleted all windows are deleted (and observers |
77 // notified). | 72 // notified). |
(...skipping 419 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
497 std::unique_ptr<DragDropControllerMus> drag_drop_controller_; | 492 std::unique_ptr<DragDropControllerMus> drag_drop_controller_; |
498 | 493 |
499 base::WeakPtrFactory<WindowTreeClient> weak_factory_; | 494 base::WeakPtrFactory<WindowTreeClient> weak_factory_; |
500 | 495 |
501 DISALLOW_COPY_AND_ASSIGN(WindowTreeClient); | 496 DISALLOW_COPY_AND_ASSIGN(WindowTreeClient); |
502 }; | 497 }; |
503 | 498 |
504 } // namespace aura | 499 } // namespace aura |
505 | 500 |
506 #endif // UI_AURA_MUS_WINDOW_TREE_CLIENT_H_ | 501 #endif // UI_AURA_MUS_WINDOW_TREE_CLIENT_H_ |
OLD | NEW |