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

Unified Diff: ash/mus/window_manager.h

Issue 2833093002: WIP: simplified display management in ash (Closed)
Patch Set: x Created 3 years, 8 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 | « ash/mus/test/wm_test_helper.cc ('k') | ash/mus/window_manager.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: ash/mus/window_manager.h
diff --git a/ash/mus/window_manager.h b/ash/mus/window_manager.h
index 4ac49da18bbf10d9c6ebb7fa2fd6e0546ddbb3fa..0c9db71ead7fc12840b0282e2525f6d20a44c4f2 100644
--- a/ash/mus/window_manager.h
+++ b/ash/mus/window_manager.h
@@ -67,7 +67,11 @@ class WmTestHelper;
class WindowManager : public aura::WindowManagerDelegate,
public aura::WindowTreeClientDelegate {
public:
- WindowManager(service_manager::Connector* connector, Config config);
+ // Set |show_primary_host_on_connect| to true if the initial display should
+ // be made visible.
+ WindowManager(service_manager::Connector* connector,
+ Config config,
+ bool show_primary_host_on_connect);
~WindowManager() override;
void Init(std::unique_ptr<aura::WindowTreeClient> window_tree_client,
@@ -197,6 +201,8 @@ class WindowManager : public aura::WindowManagerDelegate,
const Config config_;
+ const bool show_primary_host_on_connect_;
+
std::unique_ptr<::wm::WMState> wm_state_;
std::unique_ptr<aura::PropertyConverter> property_converter_;
« no previous file with comments | « ash/mus/test/wm_test_helper.cc ('k') | ash/mus/window_manager.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698