| 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 COMPONENTS_MUS_PUBLIC_CPP_LIB_WINDOW_TREE_CLIENT_IMPL_H_ | 5 #ifndef COMPONENTS_MUS_PUBLIC_CPP_LIB_WINDOW_TREE_CLIENT_IMPL_H_ |
| 6 #define COMPONENTS_MUS_PUBLIC_CPP_LIB_WINDOW_TREE_CLIENT_IMPL_H_ | 6 #define COMPONENTS_MUS_PUBLIC_CPP_LIB_WINDOW_TREE_CLIENT_IMPL_H_ |
| 7 | 7 |
| 8 #include <stdint.h> | 8 #include <stdint.h> |
| 9 | 9 |
| 10 #include <map> | 10 #include <map> |
| (...skipping 145 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 156 void OnEmbedImpl(mojom::WindowTree* window_tree, | 156 void OnEmbedImpl(mojom::WindowTree* window_tree, |
| 157 ConnectionSpecificId connection_id, | 157 ConnectionSpecificId connection_id, |
| 158 mojom::WindowDataPtr root_data, | 158 mojom::WindowDataPtr root_data, |
| 159 Id focused_window_id); | 159 Id focused_window_id); |
| 160 | 160 |
| 161 // Overridden from WindowTreeConnection: | 161 // Overridden from WindowTreeConnection: |
| 162 void SetDeleteOnNoRoots(bool value) override; | 162 void SetDeleteOnNoRoots(bool value) override; |
| 163 const std::set<Window*>& GetRoots() override; | 163 const std::set<Window*>& GetRoots() override; |
| 164 Window* GetWindowById(Id id) override; | 164 Window* GetWindowById(Id id) override; |
| 165 Window* GetFocusedWindow() override; | 165 Window* GetFocusedWindow() override; |
| 166 void ClearFocus() override; |
| 166 Window* NewWindow(const Window::SharedProperties* properties) override; | 167 Window* NewWindow(const Window::SharedProperties* properties) override; |
| 167 Window* NewTopLevelWindow( | 168 Window* NewTopLevelWindow( |
| 168 const Window::SharedProperties* properties) override; | 169 const Window::SharedProperties* properties) override; |
| 169 ConnectionSpecificId GetConnectionId() override; | 170 ConnectionSpecificId GetConnectionId() override; |
| 170 void AddObserver(WindowTreeConnectionObserver* observer) override; | 171 void AddObserver(WindowTreeConnectionObserver* observer) override; |
| 171 void RemoveObserver(WindowTreeConnectionObserver* observer) override; | 172 void RemoveObserver(WindowTreeConnectionObserver* observer) override; |
| 172 | 173 |
| 173 // Overridden from WindowTreeClient: | 174 // Overridden from WindowTreeClient: |
| 174 void OnEmbed(ConnectionSpecificId connection_id, | 175 void OnEmbed(ConnectionSpecificId connection_id, |
| 175 mojom::WindowDataPtr root, | 176 mojom::WindowDataPtr root, |
| (...skipping 110 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 286 scoped_ptr<mojo::AssociatedBinding<mojom::WindowManager>> | 287 scoped_ptr<mojo::AssociatedBinding<mojom::WindowManager>> |
| 287 window_manager_internal_; | 288 window_manager_internal_; |
| 288 mojom::WindowManagerClientAssociatedPtr window_manager_internal_client_; | 289 mojom::WindowManagerClientAssociatedPtr window_manager_internal_client_; |
| 289 | 290 |
| 290 DISALLOW_COPY_AND_ASSIGN(WindowTreeClientImpl); | 291 DISALLOW_COPY_AND_ASSIGN(WindowTreeClientImpl); |
| 291 }; | 292 }; |
| 292 | 293 |
| 293 } // namespace mus | 294 } // namespace mus |
| 294 | 295 |
| 295 #endif // COMPONENTS_MUS_PUBLIC_CPP_LIB_WINDOW_TREE_CLIENT_IMPL_H_ | 296 #endif // COMPONENTS_MUS_PUBLIC_CPP_LIB_WINDOW_TREE_CLIENT_IMPL_H_ |
| OLD | NEW |