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

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

Issue 2541683004: Add/remove surface references via MojoCompositorFrameSink. (Closed)
Patch Set: Created 4 years 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
Index: services/ui/ws/server_window_delegate.h
diff --git a/services/ui/ws/server_window_delegate.h b/services/ui/ws/server_window_delegate.h
index 08db68fc1ded808bc7cac01f3f531d033a92c284..a6e41d586580693ad60b0b04bde1d07deae85c96 100644
--- a/services/ui/ws/server_window_delegate.h
+++ b/services/ui/ws/server_window_delegate.h
@@ -31,6 +31,8 @@ class ServerWindowDelegate {
// DisplayCompositor running in the system.
virtual cc::mojom::DisplayCompositor* GetDisplayCompositor() = 0;
+ virtual const cc::SurfaceId& GetRootSurfaceId() const = 0;
+
// Returns the root of the window tree to which this |window| is attached.
// Returns null if this window is not attached up through to a root window.
virtual ServerWindow* GetRootWindow(const ServerWindow* window) = 0;

Powered by Google App Engine
This is Rietveld 408576698