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