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

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

Issue 1640253003: Makes resolving ids work correctly in new world (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: merge to trunk 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
« no previous file with comments | « no previous file | components/mus/ws/connection_manager.cc » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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 224 matching lines...) Expand 10 before | Expand all | Expand 10 after
235 WindowTreeHostImpl* host); 235 WindowTreeHostImpl* host);
236 236
237 // Returns the Display for |host|. 237 // Returns the Display for |host|.
238 mojom::DisplayPtr DisplayForHost(WindowTreeHostImpl* host); 238 mojom::DisplayPtr DisplayForHost(WindowTreeHostImpl* host);
239 239
240 // Overridden from ServerWindowDelegate: 240 // Overridden from ServerWindowDelegate:
241 mus::SurfacesState* GetSurfacesState() override; 241 mus::SurfacesState* GetSurfacesState() override;
242 void OnScheduleWindowPaint(const ServerWindow* window) override; 242 void OnScheduleWindowPaint(const ServerWindow* window) override;
243 const ServerWindow* GetRootWindow(const ServerWindow* window) const override; 243 const ServerWindow* GetRootWindow(const ServerWindow* window) const override;
244 void ScheduleSurfaceDestruction(ServerWindow* window) override; 244 void ScheduleSurfaceDestruction(ServerWindow* window) override;
245 ServerWindow* FindWindowForSurface(
246 const ServerWindow* ancestor,
247 mojom::SurfaceType surface_type,
248 const ClientWindowId& client_window_id) override;
245 249
246 // Overridden from ServerWindowObserver: 250 // Overridden from ServerWindowObserver:
247 void OnWindowDestroyed(ServerWindow* window) override; 251 void OnWindowDestroyed(ServerWindow* window) override;
248 void OnWillChangeWindowHierarchy(ServerWindow* window, 252 void OnWillChangeWindowHierarchy(ServerWindow* window,
249 ServerWindow* new_parent, 253 ServerWindow* new_parent,
250 ServerWindow* old_parent) override; 254 ServerWindow* old_parent) override;
251 void OnWindowHierarchyChanged(ServerWindow* window, 255 void OnWindowHierarchyChanged(ServerWindow* window,
252 ServerWindow* new_parent, 256 ServerWindow* new_parent,
253 ServerWindow* old_parent) override; 257 ServerWindow* old_parent) override;
254 void OnWindowBoundsChanged(ServerWindow* window, 258 void OnWindowBoundsChanged(ServerWindow* window,
(...skipping 61 matching lines...) Expand 10 before | Expand all | Expand 10 after
316 320
317 bool got_valid_frame_decorations_; 321 bool got_valid_frame_decorations_;
318 322
319 DISALLOW_COPY_AND_ASSIGN(ConnectionManager); 323 DISALLOW_COPY_AND_ASSIGN(ConnectionManager);
320 }; 324 };
321 325
322 } // namespace ws 326 } // namespace ws
323 } // namespace mus 327 } // namespace mus
324 328
325 #endif // COMPONENTS_MUS_WS_CONNECTION_MANAGER_H_ 329 #endif // COMPONENTS_MUS_WS_CONNECTION_MANAGER_H_
OLDNEW
« no previous file with comments | « no previous file | components/mus/ws/connection_manager.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698