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_WS_WINDOW_SERVER_H_ | 5 #ifndef COMPONENTS_MUS_WS_WINDOW_SERVER_H_ |
6 #define COMPONENTS_MUS_WS_WINDOW_SERVER_H_ | 6 #define COMPONENTS_MUS_WS_WINDOW_SERVER_H_ |
7 | 7 |
8 #include <stdint.h> | 8 #include <stdint.h> |
9 | 9 |
10 #include <map> | 10 #include <map> |
(...skipping 134 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
145 uint32_t client_change_id); | 145 uint32_t client_change_id); |
146 | 146 |
147 // Called when a response from the window manager is obtained. Calls to | 147 // Called when a response from the window manager is obtained. Calls to |
148 // the client that initiated the change with the change id originally | 148 // the client that initiated the change with the change id originally |
149 // supplied by the client. | 149 // supplied by the client. |
150 void WindowManagerChangeCompleted(uint32_t window_manager_change_id, | 150 void WindowManagerChangeCompleted(uint32_t window_manager_change_id, |
151 bool success); | 151 bool success); |
152 void WindowManagerCreatedTopLevelWindow(WindowTree* wm_tree, | 152 void WindowManagerCreatedTopLevelWindow(WindowTree* wm_tree, |
153 uint32_t window_manager_change_id, | 153 uint32_t window_manager_change_id, |
154 const ServerWindow* window); | 154 const ServerWindow* window); |
| 155 void WindowManagerCompletedMoveLoop(uint32_t window_manager_change_id, |
| 156 const ServerWindow* window, |
| 157 bool completed); |
155 | 158 |
156 // Called when we get an unexpected message from the WindowManager. | 159 // Called when we get an unexpected message from the WindowManager. |
157 // TODO(sky): decide what we want to do here. | 160 // TODO(sky): decide what we want to do here. |
158 void WindowManagerSentBogusMessage() {} | 161 void WindowManagerSentBogusMessage() {} |
159 | 162 |
160 // These functions trivially delegate to all WindowTrees, which in | 163 // These functions trivially delegate to all WindowTrees, which in |
161 // term notify their clients. | 164 // term notify their clients. |
162 void ProcessWindowBoundsChanged(const ServerWindow* window, | 165 void ProcessWindowBoundsChanged(const ServerWindow* window, |
163 const gfx::Rect& old_bounds, | 166 const gfx::Rect& old_bounds, |
164 const gfx::Rect& new_bounds); | 167 const gfx::Rect& new_bounds); |
(...skipping 152 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
317 | 320 |
318 WindowManagerWindowTreeFactorySet window_manager_window_tree_factory_set_; | 321 WindowManagerWindowTreeFactorySet window_manager_window_tree_factory_set_; |
319 | 322 |
320 DISALLOW_COPY_AND_ASSIGN(WindowServer); | 323 DISALLOW_COPY_AND_ASSIGN(WindowServer); |
321 }; | 324 }; |
322 | 325 |
323 } // namespace ws | 326 } // namespace ws |
324 } // namespace mus | 327 } // namespace mus |
325 | 328 |
326 #endif // COMPONENTS_MUS_WS_WINDOW_SERVER_H_ | 329 #endif // COMPONENTS_MUS_WS_WINDOW_SERVER_H_ |
OLD | NEW |