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

Unified Diff: services/ui/ws/window_server.h

Issue 2715663007: Implement temporary reference assignment with DisplayCompositor. (Closed)
Patch Set: Rebase. Created 3 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 side-by-side diff with in-line comments
Download patch
« no previous file with comments | « services/ui/ws/server_window_compositor_frame_sink_manager.cc ('k') | services/ui/ws/window_server.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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;
« no previous file with comments | « services/ui/ws/server_window_compositor_frame_sink_manager.cc ('k') | services/ui/ws/window_server.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698