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_CONNECTION_MANAGER_H_ | 5 #ifndef COMPONENTS_MUS_WS_CONNECTION_MANAGER_H_ |
6 #define COMPONENTS_MUS_WS_CONNECTION_MANAGER_H_ | 6 #define COMPONENTS_MUS_WS_CONNECTION_MANAGER_H_ |
7 | 7 |
8 #include <map> | 8 #include <map> |
9 #include <set> | 9 #include <set> |
10 | 10 |
(...skipping 142 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
153 // WindowTreeHost implementation helper; see mojom for details. | 153 // WindowTreeHost implementation helper; see mojom for details. |
154 bool CloneAndAnimate(const WindowId& window_id); | 154 bool CloneAndAnimate(const WindowId& window_id); |
155 | 155 |
156 // These functions trivially delegate to all WindowTreeImpls, which in | 156 // These functions trivially delegate to all WindowTreeImpls, which in |
157 // term notify their clients. | 157 // term notify their clients. |
158 void ProcessWindowDestroyed(ServerWindow* window); | 158 void ProcessWindowDestroyed(ServerWindow* window); |
159 void ProcessWindowBoundsChanged(const ServerWindow* window, | 159 void ProcessWindowBoundsChanged(const ServerWindow* window, |
160 const gfx::Rect& old_bounds, | 160 const gfx::Rect& old_bounds, |
161 const gfx::Rect& new_bounds); | 161 const gfx::Rect& new_bounds); |
162 void ProcessClientAreaChanged(const ServerWindow* window, | 162 void ProcessClientAreaChanged(const ServerWindow* window, |
163 const gfx::Rect& old_client_area, | 163 const gfx::Insets& old_client_area, |
164 const gfx::Rect& new_client_area); | 164 const gfx::Insets& new_client_area); |
165 void ProcessViewportMetricsChanged(const mojom::ViewportMetrics& old_metrics, | 165 void ProcessViewportMetricsChanged(const mojom::ViewportMetrics& old_metrics, |
166 const mojom::ViewportMetrics& new_metrics); | 166 const mojom::ViewportMetrics& new_metrics); |
167 void ProcessWillChangeWindowHierarchy(const ServerWindow* window, | 167 void ProcessWillChangeWindowHierarchy(const ServerWindow* window, |
168 const ServerWindow* new_parent, | 168 const ServerWindow* new_parent, |
169 const ServerWindow* old_parent); | 169 const ServerWindow* old_parent); |
170 void ProcessWindowHierarchyChanged(const ServerWindow* window, | 170 void ProcessWindowHierarchyChanged(const ServerWindow* window, |
171 const ServerWindow* new_parent, | 171 const ServerWindow* new_parent, |
172 const ServerWindow* old_parent); | 172 const ServerWindow* old_parent); |
173 void ProcessWindowReorder(const ServerWindow* window, | 173 void ProcessWindowReorder(const ServerWindow* window, |
174 const ServerWindow* relative_window, | 174 const ServerWindow* relative_window, |
(...skipping 34 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
209 void OnWillChangeWindowHierarchy(ServerWindow* window, | 209 void OnWillChangeWindowHierarchy(ServerWindow* window, |
210 ServerWindow* new_parent, | 210 ServerWindow* new_parent, |
211 ServerWindow* old_parent) override; | 211 ServerWindow* old_parent) override; |
212 void OnWindowHierarchyChanged(ServerWindow* window, | 212 void OnWindowHierarchyChanged(ServerWindow* window, |
213 ServerWindow* new_parent, | 213 ServerWindow* new_parent, |
214 ServerWindow* old_parent) override; | 214 ServerWindow* old_parent) override; |
215 void OnWindowBoundsChanged(ServerWindow* window, | 215 void OnWindowBoundsChanged(ServerWindow* window, |
216 const gfx::Rect& old_bounds, | 216 const gfx::Rect& old_bounds, |
217 const gfx::Rect& new_bounds) override; | 217 const gfx::Rect& new_bounds) override; |
218 void OnWindowClientAreaChanged(ServerWindow* window, | 218 void OnWindowClientAreaChanged(ServerWindow* window, |
219 const gfx::Rect& old_client_area, | 219 const gfx::Insets& old_client_area, |
220 const gfx::Rect& new_client_area) override; | 220 const gfx::Insets& new_client_area) override; |
221 void OnWindowReordered(ServerWindow* window, | 221 void OnWindowReordered(ServerWindow* window, |
222 ServerWindow* relative, | 222 ServerWindow* relative, |
223 mojom::OrderDirection direction) override; | 223 mojom::OrderDirection direction) override; |
224 void OnWillChangeWindowVisibility(ServerWindow* window) override; | 224 void OnWillChangeWindowVisibility(ServerWindow* window) override; |
225 void OnWindowSharedPropertyChanged( | 225 void OnWindowSharedPropertyChanged( |
226 ServerWindow* window, | 226 ServerWindow* window, |
227 const std::string& name, | 227 const std::string& name, |
228 const std::vector<uint8_t>* new_data) override; | 228 const std::vector<uint8_t>* new_data) override; |
229 void OnWindowTextInputStateChanged(ServerWindow* window, | 229 void OnWindowTextInputStateChanged(ServerWindow* window, |
230 const ui::TextInputState& state) override; | 230 const ui::TextInputState& state) override; |
(...skipping 22 matching lines...) Expand all Loading... |
253 bool in_destructor_; | 253 bool in_destructor_; |
254 | 254 |
255 DISALLOW_COPY_AND_ASSIGN(ConnectionManager); | 255 DISALLOW_COPY_AND_ASSIGN(ConnectionManager); |
256 }; | 256 }; |
257 | 257 |
258 } // namespace ws | 258 } // namespace ws |
259 | 259 |
260 } // namespace mus | 260 } // namespace mus |
261 | 261 |
262 #endif // COMPONENTS_MUS_WS_CONNECTION_MANAGER_H_ | 262 #endif // COMPONENTS_MUS_WS_CONNECTION_MANAGER_H_ |
OLD | NEW |