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

Unified Diff: components/mus/ws/window_tree_impl.h

Issue 1484533002: mus: Introduce AttachSurface to allow creating Surface prior to OnEmbed (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Add ThreadChecker Created 5 years, 1 month 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: components/mus/ws/window_tree_impl.h
diff --git a/components/mus/ws/window_tree_impl.h b/components/mus/ws/window_tree_impl.h
index babe1d7c3eea264a31b66df216c249db0f0ecb95..0f7d9b9a89b2deb5984e7276e42783dc1927558d 100644
--- a/components/mus/ws/window_tree_impl.h
+++ b/components/mus/ws/window_tree_impl.h
@@ -226,10 +226,10 @@ class WindowTreeImpl : public mojom::WindowTree, public AccessPolicyDelegate {
Id window_id,
const mojo::String& name,
mojo::Array<uint8_t> value) override;
- void RequestSurface(Id window_id,
- mojom::SurfaceType type,
- mojo::InterfaceRequest<mojom::Surface> surface,
- mojom::SurfaceClientPtr client) override;
+ void AttachToSurface(Id window_id,
+ mojom::SurfaceType type,
+ mojo::InterfaceRequest<mojom::Surface> surface,
+ mojom::SurfaceClientPtr client) override;
void Embed(Id transport_window_id,
mojom::WindowTreeClientPtr client,
uint32_t policy_bitmask,

Powered by Google App Engine
This is Rietveld 408576698