| 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 <stdint.h> | 8 #include <stdint.h> |
| 9 | 9 |
| 10 #include <map> | 10 #include <map> |
| (...skipping 151 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 162 // These functions trivially delegate to all WindowTreeImpls, which in | 162 // These functions trivially delegate to all WindowTreeImpls, which in |
| 163 // term notify their clients. | 163 // term notify their clients. |
| 164 void ProcessWindowDestroyed(ServerWindow* window); | 164 void ProcessWindowDestroyed(ServerWindow* window); |
| 165 void ProcessWindowBoundsChanged(const ServerWindow* window, | 165 void ProcessWindowBoundsChanged(const ServerWindow* window, |
| 166 const gfx::Rect& old_bounds, | 166 const gfx::Rect& old_bounds, |
| 167 const gfx::Rect& new_bounds); | 167 const gfx::Rect& new_bounds); |
| 168 void ProcessClientAreaChanged( | 168 void ProcessClientAreaChanged( |
| 169 const ServerWindow* window, | 169 const ServerWindow* window, |
| 170 const gfx::Insets& new_client_area, | 170 const gfx::Insets& new_client_area, |
| 171 const std::vector<gfx::Rect>& new_additional_client_areas); | 171 const std::vector<gfx::Rect>& new_additional_client_areas); |
| 172 void ProcessLostCapture(const ServerWindow* window); |
| 172 void ProcessViewportMetricsChanged(WindowTreeHostImpl* host, | 173 void ProcessViewportMetricsChanged(WindowTreeHostImpl* host, |
| 173 const mojom::ViewportMetrics& old_metrics, | 174 const mojom::ViewportMetrics& old_metrics, |
| 174 const mojom::ViewportMetrics& new_metrics); | 175 const mojom::ViewportMetrics& new_metrics); |
| 175 void ProcessWillChangeWindowHierarchy(const ServerWindow* window, | 176 void ProcessWillChangeWindowHierarchy(const ServerWindow* window, |
| 176 const ServerWindow* new_parent, | 177 const ServerWindow* new_parent, |
| 177 const ServerWindow* old_parent); | 178 const ServerWindow* old_parent); |
| 178 void ProcessWindowHierarchyChanged(const ServerWindow* window, | 179 void ProcessWindowHierarchyChanged(const ServerWindow* window, |
| 179 const ServerWindow* new_parent, | 180 const ServerWindow* new_parent, |
| 180 const ServerWindow* old_parent); | 181 const ServerWindow* old_parent); |
| 181 void ProcessWindowReorder(const ServerWindow* window, | 182 void ProcessWindowReorder(const ServerWindow* window, |
| (...skipping 139 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 321 | 322 |
| 322 bool got_valid_frame_decorations_; | 323 bool got_valid_frame_decorations_; |
| 323 | 324 |
| 324 DISALLOW_COPY_AND_ASSIGN(ConnectionManager); | 325 DISALLOW_COPY_AND_ASSIGN(ConnectionManager); |
| 325 }; | 326 }; |
| 326 | 327 |
| 327 } // namespace ws | 328 } // namespace ws |
| 328 } // namespace mus | 329 } // namespace mus |
| 329 | 330 |
| 330 #endif // COMPONENTS_MUS_WS_CONNECTION_MANAGER_H_ | 331 #endif // COMPONENTS_MUS_WS_CONNECTION_MANAGER_H_ |
| OLD | NEW |