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

Unified Diff: components/mus/public/interfaces/window_tree.mojom

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: Addressed Sadrul's comments 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
« no previous file with comments | « components/mus/public/cpp/window_surface.h ('k') | components/mus/ws/window_tree_impl.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: components/mus/public/interfaces/window_tree.mojom
diff --git a/components/mus/public/interfaces/window_tree.mojom b/components/mus/public/interfaces/window_tree.mojom
index ea172b3bfc179bc5b30ec24031513b026a685648..e0a27a0f27a9ff4b6869b7cd04d3ee97bb56e626 100644
--- a/components/mus/public/interfaces/window_tree.mojom
+++ b/components/mus/public/interfaces/window_tree.mojom
@@ -115,11 +115,11 @@ interface WindowTree {
string name,
array<uint8>? value);
- // Requests a Surface for a particular window.
- RequestSurface(uint32 window_id,
- SurfaceType type,
- Surface& surface,
- SurfaceClient client);
+ // Attaches a Surface to a particular window.
+ AttachSurface(uint32 window_id,
+ SurfaceType type,
+ Surface& surface,
+ SurfaceClient client);
// Reparents a window.
// This fails for any of the following reasons:
« no previous file with comments | « components/mus/public/cpp/window_surface.h ('k') | components/mus/ws/window_tree_impl.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698