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

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

Issue 2414683003: Mus+Ash: propagate Surface ID to parents (Closed)
Patch Set: Removed stale comment Created 4 years, 2 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/window_tree.h
diff --git a/services/ui/ws/window_tree.h b/services/ui/ws/window_tree.h
index 4268d0efaf6914712e010e93ce589f5572da91fd..7c0af81fe14ad7d5ca33582cbb3c0c3e16a2615d 100644
--- a/services/ui/ws/window_tree.h
+++ b/services/ui/ws/window_tree.h
@@ -256,6 +256,10 @@ class WindowTree : public mojom::WindowTree,
void ProcessTransientWindowRemoved(const ServerWindow* window,
const ServerWindow* transient_window,
bool originated_change);
+ void ProcessWindowSurfaceCreated(ServerWindow* window,
+ const cc::SurfaceId& surface_id,
+ const gfx::Size& frame_size,
+ float device_scale_factor);
// Sends this event to the client if it matches an active pointer watcher.
// |target_window| is the target of the event, and may be null or not known
@@ -413,6 +417,8 @@ class WindowTree : public mojom::WindowTree,
mojom::SurfaceType type,
mojo::InterfaceRequest<mojom::Surface> surface,
mojom::SurfaceClientPtr client) override;
+ void ReturnSurfaceReference(Id transport_window_id,
+ const cc::SurfaceSequence& sequence) override;
void Embed(Id transport_window_id,
mojom::WindowTreeClientPtr client,
uint32_t flags,

Powered by Google App Engine
This is Rietveld 408576698