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

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

Issue 2613903003: Reland of "Mustash: Ensure surfaces submitted to Mus by WM and embedders contain Surfaces with embe… (Closed)
Patch Set: fix Created 3 years, 11 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
Index: services/ui/ws/platform_display_delegate.h
diff --git a/services/ui/ws/platform_display_delegate.h b/services/ui/ws/platform_display_delegate.h
index 0358573ffcfa7cdbb2dda4cc0ad503fdb0ce0eec..808717bb57439d2bd0d105f8dfb46dade8cbb89c 100644
--- a/services/ui/ws/platform_display_delegate.h
+++ b/services/ui/ws/platform_display_delegate.h
@@ -28,6 +28,9 @@ class PlatformDisplayDelegate {
// Returns the root window of this display.
virtual ServerWindow* GetRootWindow() = 0;
+ // Returns the root window of the active user.
+ virtual ServerWindow* GetActiveRootWindow() = 0;
+
// Called once when the AcceleratedWidget is available for drawing.
virtual void OnAcceleratedWidgetAvailable() = 0;
« no previous file with comments | « services/ui/ws/platform_display_default.cc ('k') | services/ui/ws/server_window_compositor_frame_sink_manager.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698