| OLD | NEW |
| 1 // Copyright 2016 The Chromium Authors. All rights reserved. | 1 // Copyright 2016 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_TEST_MUS_WINDOW_TREE_CLIENT_PRIVATE_H_ | 5 #ifndef UI_AURA_TEST_MUS_WINDOW_TREE_CLIENT_PRIVATE_H_ |
| 6 #define UI_AURA_TEST_MUS_WINDOW_TREE_CLIENT_PRIVATE_H_ | 6 #define UI_AURA_TEST_MUS_WINDOW_TREE_CLIENT_PRIVATE_H_ |
| 7 | 7 |
| 8 #include <stdint.h> | 8 #include <stdint.h> |
| 9 | 9 |
| 10 #include <memory> | 10 #include <memory> |
| 11 | 11 |
| 12 #include "base/macros.h" | 12 #include "base/macros.h" |
| 13 #include "services/ui/public/interfaces/window_tree_constants.mojom.h" | 13 #include "services/ui/public/interfaces/window_tree_constants.mojom.h" |
| 14 #include "ui/aura/mus/mus_types.h" | 14 #include "ui/aura/mus/mus_types.h" |
| 15 | 15 |
| 16 namespace display { | 16 namespace display { |
| 17 class Display; | 17 class Display; |
| 18 } | 18 } |
| 19 | 19 |
| 20 namespace ui { | 20 namespace ui { |
| 21 class Event; | 21 class Event; |
| 22 | 22 |
| 23 namespace mojom { | 23 namespace mojom { |
| 24 class WindowManagerClient; |
| 24 class WindowTree; | 25 class WindowTree; |
| 25 } | 26 } |
| 26 } | 27 } |
| 27 | 28 |
| 28 namespace aura { | 29 namespace aura { |
| 29 | 30 |
| 30 class Window; | 31 class Window; |
| 31 class WindowTreeClient; | 32 class WindowTreeClient; |
| 32 class WindowTreeHostMus; | 33 class WindowTreeHostMus; |
| 33 | 34 |
| (...skipping 24 matching lines...) Expand all Loading... |
| 58 void CallOnCaptureChanged(Window* new_capture, Window* old_capture); | 59 void CallOnCaptureChanged(Window* new_capture, Window* old_capture); |
| 59 | 60 |
| 60 void CallOnConnect(); | 61 void CallOnConnect(); |
| 61 | 62 |
| 62 WindowTreeHostMusInitParams CallCreateInitParamsForNewDisplay(); | 63 WindowTreeHostMusInitParams CallCreateInitParamsForNewDisplay(); |
| 63 | 64 |
| 64 // Sets the WindowTree and client id. | 65 // Sets the WindowTree and client id. |
| 65 void SetTreeAndClientId(ui::mojom::WindowTree* window_tree, | 66 void SetTreeAndClientId(ui::mojom::WindowTree* window_tree, |
| 66 ClientSpecificId client_id); | 67 ClientSpecificId client_id); |
| 67 | 68 |
| 69 void SetWindowManagerClient(ui::mojom::WindowManagerClient* client); |
| 70 |
| 68 bool HasPointerWatcher(); | 71 bool HasPointerWatcher(); |
| 69 | 72 |
| 70 Window* GetWindowByServerId(Id id); | 73 Window* GetWindowByServerId(Id id); |
| 71 | 74 |
| 72 private: | 75 private: |
| 73 WindowTreeClient* tree_client_impl_; | 76 WindowTreeClient* tree_client_impl_; |
| 74 uint16_t next_window_id_ = 1u; | 77 uint16_t next_window_id_ = 1u; |
| 75 | 78 |
| 76 DISALLOW_COPY_AND_ASSIGN(WindowTreeClientPrivate); | 79 DISALLOW_COPY_AND_ASSIGN(WindowTreeClientPrivate); |
| 77 }; | 80 }; |
| 78 | 81 |
| 79 } // namespace ui | 82 } // namespace ui |
| 80 | 83 |
| 81 #endif // UI_AURA_TEST_MUS_WINDOW_TREE_CLIENT_PRIVATE_H_ | 84 #endif // UI_AURA_TEST_MUS_WINDOW_TREE_CLIENT_PRIVATE_H_ |
| OLD | NEW |