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

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

Issue 2470963002: Makes it possible for clients to directly create WindowTreeHostMus (Closed)
Patch Set: nuke comment Created 4 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 | « ui/aura/mus/window_tree_client.cc ('k') | ui/aura/mus/window_tree_client_unittest.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: ui/aura/mus/window_tree_client_delegate.h
diff --git a/ui/aura/mus/window_tree_client_delegate.h b/ui/aura/mus/window_tree_client_delegate.h
index 9c3a16288c646da7f8cd45337133ec5a06eacf75..5f58940c4fa9af1d9481362b79001e97107a66de 100644
--- a/ui/aura/mus/window_tree_client_delegate.h
+++ b/ui/aura/mus/window_tree_client_delegate.h
@@ -20,8 +20,8 @@ namespace aura {
class PropertyConverter;
class Window;
-class WindowPortMus;
class WindowTreeClient;
+class WindowTreeHostMus;
namespace client {
class CaptureClient;
@@ -31,11 +31,10 @@ class FocusClient;
// Interface implemented by an application using mus.
class AURA_EXPORT WindowTreeClientDelegate {
public:
- // Called when the application implementing this interface is embedded at
- // |root|.
+ // Called when the application implementing this interface is embedded.
// NOTE: this is only invoked if the WindowTreeClient is created with an
// InterfaceRequest.
- virtual void OnEmbed(Window* root) = 0;
+ virtual void OnEmbed(std::unique_ptr<WindowTreeHostMus> window_tree_host) = 0;
// Sent when another app is embedded in |root| (one of the roots of the
// connection). Afer this call |root| is deleted. If the associated
« no previous file with comments | « ui/aura/mus/window_tree_client.cc ('k') | ui/aura/mus/window_tree_client_unittest.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698