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

Unified Diff: services/ui/public/cpp/window_tree_client.h

Issue 2414683003: Mus+Ash: propagate Surface ID to parents (Closed)
Patch Set: Add missing file 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/public/cpp/window_tree_client.h
diff --git a/services/ui/public/cpp/window_tree_client.h b/services/ui/public/cpp/window_tree_client.h
index 64a45990273e29fdc082fbf5c06d9d12374c4d88..7b8037fdd83e0f212c59fedfb7db89aa1e0f91f8 100644
--- a/services/ui/public/cpp/window_tree_client.h
+++ b/services/ui/public/cpp/window_tree_client.h
@@ -133,6 +133,9 @@ class WindowTreeClient : public mojom::WindowTreeClient,
mojo::InterfaceRequest<mojom::Surface> surface,
mojom::SurfaceClientPtr client);
+ void ReturnSurfaceReference(Id window_id,
+ const cc::SurfaceSequence& sequence);
+
// Sets the input capture to |window| without notifying the server.
void LocalSetCapture(Window* window);
// Sets focus to |window| without notifying the server.
@@ -328,6 +331,11 @@ class WindowTreeClient : public mojom::WindowTreeClient,
void OnWindowFocused(Id focused_window_id) override;
void OnWindowPredefinedCursorChanged(Id window_id,
mojom::Cursor cursor) override;
+ void OnWindowSurfaceCreated(Id window_id,
+ const cc::SurfaceId& surface_id,
+ const cc::SurfaceSequence& surface_sequence,
+ const gfx::Size& frame_size,
+ float device_scale_factor) override;
void OnDragDropStart(
mojo::Map<mojo::String, mojo::Array<uint8_t>> mime_data) override;
void OnDragEnter(Id window_id,

Powered by Google App Engine
This is Rietveld 408576698