Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(135)

Side by Side Diff: components/mus/ws/connection_manager.h

Issue 1605773004: mus: Implement Window Server Capture (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Create InFlightCaptureChange add tests Created 4 years, 10 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch
OLDNEW
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
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
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_
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698