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

Unified Diff: ui/aura/mus/window_port_mus.cc

Issue 2576533003: Converts some services to use aura-mus (Closed)
Patch Set: remove log Created 4 years 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 | « ui/aura/mus/window_port_mus.h ('k') | ui/aura/mus/window_tree_client.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: ui/aura/mus/window_port_mus.cc
diff --git a/ui/aura/mus/window_port_mus.cc b/ui/aura/mus/window_port_mus.cc
index 35fab977ef5be4b9841408de7b07407b71a8f81f..da5774c1935d7a7a56b1a23f5c0734bb665636cc 100644
--- a/ui/aura/mus/window_port_mus.cc
+++ b/ui/aura/mus/window_port_mus.cc
@@ -65,6 +65,13 @@ void WindowPortMus::SetPredefinedCursor(ui::mojom::Cursor cursor_id) {
predefined_cursor_ = cursor_id;
}
+void WindowPortMus::Embed(
+ ui::mojom::WindowTreeClientPtr client,
+ uint32_t flags,
+ const ui::mojom::WindowTree::EmbedCallback& callback) {
+ window_tree_client_->Embed(window_, std::move(client), flags, callback);
+}
+
std::unique_ptr<WindowCompositorFrameSink>
WindowPortMus::RequestCompositorFrameSink(
ui::mojom::CompositorFrameSinkType type,
« no previous file with comments | « ui/aura/mus/window_port_mus.h ('k') | ui/aura/mus/window_tree_client.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698