| Index: services/ui/ws/window_server.h
|
| diff --git a/services/ui/ws/window_server.h b/services/ui/ws/window_server.h
|
| index 97be57b3bbd8b1db0280a073dfcfd4604c53e7ed..fce14fad9a3ddb4485f8a024e0cd51231fabf4cc 100644
|
| --- a/services/ui/ws/window_server.h
|
| +++ b/services/ui/ws/window_server.h
|
| @@ -283,6 +283,13 @@ class WindowServer : public ServerWindowDelegate,
|
|
|
| bool IsUserInHighContrastMode(const UserId& user) const;
|
|
|
| + // Finds the parent client that will embed |surface_id| and claims ownership
|
| + // of the temporary reference. If no parent client is found then tell GPU to
|
| + // immediately drop the temporary reference. |window| is the ServerWindow
|
| + // that corresponds to |surface_id|.
|
| + void HandleTemporaryReferenceForNewSurface(const cc::SurfaceId& surface_id,
|
| + ServerWindow* window);
|
| +
|
| // Overridden from ServerWindowDelegate:
|
| ServerWindow* GetRootWindow(const ServerWindow* window) override;
|
|
|
|
|