| 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 109 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 120 | 120 |
| 121 // Called after the window's observers have been notified of destruction (as | 121 // Called after the window's observers have been notified of destruction (as |
| 122 // the last step of ~Window). | 122 // the last step of ~Window). |
| 123 void OnWindowDestroyed(Window* window); | 123 void OnWindowDestroyed(Window* window); |
| 124 | 124 |
| 125 Window* GetWindowByServerId(Id id); | 125 Window* GetWindowByServerId(Id id); |
| 126 | 126 |
| 127 // WindowTreeConnection: | 127 // WindowTreeConnection: |
| 128 Window* GetCaptureWindow() override; | 128 Window* GetCaptureWindow() override; |
| 129 | 129 |
| 130 gfx::Point GetCursorScreenPoint() override; |
| 131 |
| 130 private: | 132 private: |
| 131 friend class WindowTreeClientImplPrivate; | 133 friend class WindowTreeClientImplPrivate; |
| 132 | 134 |
| 133 enum class NewWindowType { | 135 enum class NewWindowType { |
| 134 CHILD, | 136 CHILD, |
| 135 TOP_LEVEL, | 137 TOP_LEVEL, |
| 136 }; | 138 }; |
| 137 | 139 |
| 138 using IdToWindowMap = std::map<Id, Window*>; | 140 using IdToWindowMap = std::map<Id, Window*>; |
| 139 | 141 |
| (...skipping 155 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 295 scoped_ptr<mojo::AssociatedBinding<mojom::WindowManager>> | 297 scoped_ptr<mojo::AssociatedBinding<mojom::WindowManager>> |
| 296 window_manager_internal_; | 298 window_manager_internal_; |
| 297 mojom::WindowManagerClientAssociatedPtr window_manager_internal_client_; | 299 mojom::WindowManagerClientAssociatedPtr window_manager_internal_client_; |
| 298 | 300 |
| 299 DISALLOW_COPY_AND_ASSIGN(WindowTreeClientImpl); | 301 DISALLOW_COPY_AND_ASSIGN(WindowTreeClientImpl); |
| 300 }; | 302 }; |
| 301 | 303 |
| 302 } // namespace mus | 304 } // namespace mus |
| 303 | 305 |
| 304 #endif // COMPONENTS_MUS_PUBLIC_CPP_LIB_WINDOW_TREE_CLIENT_IMPL_H_ | 306 #endif // COMPONENTS_MUS_PUBLIC_CPP_LIB_WINDOW_TREE_CLIENT_IMPL_H_ |
| OLD | NEW |