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 92 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
103 service_manager::Connector* connector() { return connector_; } | 103 service_manager::Connector* connector() { return connector_; } |
104 ui::Gpu* gpu() { return gpu_.get(); } | 104 ui::Gpu* gpu() { return gpu_.get(); } |
105 CaptureSynchronizer* capture_synchronizer() { | 105 CaptureSynchronizer* capture_synchronizer() { |
106 return capture_synchronizer_.get(); | 106 return capture_synchronizer_.get(); |
107 } | 107 } |
108 | 108 |
109 bool connected() const { return tree_ != nullptr; } | 109 bool connected() const { return tree_ != nullptr; } |
110 ClientSpecificId client_id() const { return client_id_; } | 110 ClientSpecificId client_id() const { return client_id_; } |
111 | 111 |
112 void SetCanFocus(Window* window, bool can_focus); | 112 void SetCanFocus(Window* window, bool can_focus); |
113 void SetCanAcceptDrops(Id window_id, bool can_accept_drops); | 113 void SetCanAcceptDrops(WindowMus* window, bool can_accept_drops); |
114 void SetEventTargetingPolicy(WindowMus* window, | 114 void SetEventTargetingPolicy(WindowMus* window, |
115 ui::mojom::EventTargetingPolicy policy); | 115 ui::mojom::EventTargetingPolicy policy); |
116 void SetPredefinedCursor(WindowMus* window, | 116 void SetPredefinedCursor(WindowMus* window, |
117 ui::mojom::Cursor old_cursor, | 117 ui::mojom::Cursor old_cursor, |
118 ui::mojom::Cursor new_cursor); | 118 ui::mojom::Cursor new_cursor); |
119 void SetWindowTextInputState(WindowMus* window, | 119 void SetWindowTextInputState(WindowMus* window, |
120 mojo::TextInputStatePtr state); | 120 mojo::TextInputStatePtr state); |
121 void SetImeVisibility(WindowMus* window, | 121 void SetImeVisibility(WindowMus* window, |
122 bool visible, | 122 bool visible, |
123 mojo::TextInputStatePtr state); | 123 mojo::TextInputStatePtr state); |
(...skipping 426 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
550 // ContextFactory that was set on Env originally. | 550 // ContextFactory that was set on Env originally. |
551 ui::ContextFactory* initial_context_factory_ = nullptr; | 551 ui::ContextFactory* initial_context_factory_ = nullptr; |
552 base::WeakPtrFactory<WindowTreeClient> weak_factory_; | 552 base::WeakPtrFactory<WindowTreeClient> weak_factory_; |
553 | 553 |
554 DISALLOW_COPY_AND_ASSIGN(WindowTreeClient); | 554 DISALLOW_COPY_AND_ASSIGN(WindowTreeClient); |
555 }; | 555 }; |
556 | 556 |
557 } // namespace aura | 557 } // namespace aura |
558 | 558 |
559 #endif // UI_AURA_MUS_WINDOW_TREE_CLIENT_H_ | 559 #endif // UI_AURA_MUS_WINDOW_TREE_CLIENT_H_ |
OLD | NEW |