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

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

Issue 2541683004: Add/remove surface references via MojoCompositorFrameSink. (Closed)
Patch Set: Cleanup. 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
« no previous file with comments | « services/ui/ws/frame_generator.cc ('k') | services/ui/ws/test_server_window_delegate.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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 26784faf32b75beaffb8b83174a13a6ff0ad9ca4..035bc1e44eb8d94658f7dbe49070f82732528e95 100644
--- a/services/ui/ws/server_window_delegate.h
+++ b/services/ui/ws/server_window_delegate.h
@@ -29,6 +29,9 @@ class ServerWindowDelegate {
// DisplayCompositor running in the system.
virtual cc::mojom::DisplayCompositor* GetDisplayCompositor() = 0;
+ // Returns the root surface id that was received from DisplayCompositor.
+ 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;
« no previous file with comments | « services/ui/ws/frame_generator.cc ('k') | services/ui/ws/test_server_window_delegate.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698