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

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

Issue 2414683003: Mus+Ash: propagate Surface ID to parents (Closed)
Patch Set: Don't follow null surface_info 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
« no previous file with comments | « services/ui/public/cpp/window_private.h ('k') | services/ui/public/cpp/window_tree_client.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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..a6d447e3e01daee5d06edd7855d1464ddcdf700f 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 OnWindowSurfaceDetached(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 OnWindowSurfaceChanged(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,
« no previous file with comments | « services/ui/public/cpp/window_private.h ('k') | services/ui/public/cpp/window_tree_client.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698