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

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

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/BUILD.gn ('k') | ui/aura/mus/window_port_mus.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: ui/aura/mus/window_port_mus.h
diff --git a/ui/aura/mus/window_port_mus.h b/ui/aura/mus/window_port_mus.h
index 50def4cce6d87d45e5fdf313d055568ab6cc241b..e88b694694432e2114c78b695f36cd1a849eb9a0 100644
--- a/ui/aura/mus/window_port_mus.h
+++ b/ui/aura/mus/window_port_mus.h
@@ -13,6 +13,7 @@
#include "base/logging.h"
#include "base/macros.h"
#include "services/ui/public/interfaces/cursor.mojom.h"
+#include "services/ui/public/interfaces/window_tree.mojom.h"
#include "services/ui/public/interfaces/window_tree_constants.mojom.h"
#include "ui/aura/aura_export.h"
#include "ui/aura/mus/mus_types.h"
@@ -54,6 +55,12 @@ class AURA_EXPORT WindowPortMus : public WindowPort, public WindowMus {
ui::mojom::Cursor predefined_cursor() const { return predefined_cursor_; }
void SetPredefinedCursor(ui::mojom::Cursor cursor_id);
+ // Embeds a new client in this Window. See WindowTreeClient::Embed() for
+ // details on arguments.
+ void Embed(ui::mojom::WindowTreeClientPtr client,
+ uint32_t flags,
+ const ui::mojom::WindowTree::EmbedCallback& callback);
+
std::unique_ptr<WindowCompositorFrameSink> RequestCompositorFrameSink(
ui::mojom::CompositorFrameSinkType type,
scoped_refptr<cc::ContextProvider> context_provider,
« no previous file with comments | « ui/aura/BUILD.gn ('k') | ui/aura/mus/window_port_mus.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698