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

Unified Diff: ui/views/mus/mus_client.h

Issue 2655513002: mash: Relay some Chrome aura window properties to Ash. (Closed)
Patch Set: Address comments. Created 3 years, 11 months 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/views/mus/desktop_window_tree_host_mus.cc ('k') | ui/views/mus/mus_client.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: ui/views/mus/mus_client.h
diff --git a/ui/views/mus/mus_client.h b/ui/views/mus/mus_client.h
index 72792a72c520077a42ff6d760307bdc04bb16de2..cccc44b082fcfeb4efd46b6119b25f550e63f1c7 100644
--- a/ui/views/mus/mus_client.h
+++ b/ui/views/mus/mus_client.h
@@ -45,6 +45,7 @@ class WMState;
namespace views {
class MusClientObserver;
+class MusPropertyMirror;
class PointerWatcherEventRouter;
class ScreenMus;
@@ -58,8 +59,7 @@ class MusClientTestApi;
// MusClient establishes a connection to mus and sets up necessary state so that
// aura and views target mus. This class is useful for typical clients, not the
-// WindowManager. Most clients don't create this directly, rather use
-// AuraInit.
+// WindowManager. Most clients don't create this directly, rather use AuraInit.
class VIEWS_MUS_EXPORT MusClient
: public aura::WindowTreeClientDelegate,
public ScreenMusDelegate,
@@ -104,6 +104,11 @@ class VIEWS_MUS_EXPORT MusClient
void AddObserver(MusClientObserver* observer);
void RemoveObserver(MusClientObserver* observer);
+ void SetMusPropertyMirror(std::unique_ptr<MusPropertyMirror> mirror);
+ MusPropertyMirror* mus_property_mirror() {
+ return mus_property_mirror_.get();
+ }
+
private:
friend class AuraInit;
friend class test::MusClientTestApi;
@@ -140,6 +145,7 @@ class VIEWS_MUS_EXPORT MusClient
std::unique_ptr<ScreenMus> screen_;
std::unique_ptr<aura::PropertyConverter> property_converter_;
+ std::unique_ptr<MusPropertyMirror> mus_property_mirror_;
std::unique_ptr<aura::WindowTreeClient> window_tree_client_;
« no previous file with comments | « ui/views/mus/desktop_window_tree_host_mus.cc ('k') | ui/views/mus/mus_client.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698