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

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

Issue 2777223002: Gets chrome --mus some what working (Closed)
Patch Set: fix mac Created 3 years, 9 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/aura/mus/window_manager_delegate.h ('k') | ui/aura/mus/window_tree_client.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.h
diff --git a/ui/aura/mus/window_tree_client.h b/ui/aura/mus/window_tree_client.h
index ce6ca6357e965249bc09fb07f9667294faf45e9a..da80da9207f1cf64ab1640a19231d0655d2942c5 100644
--- a/ui/aura/mus/window_tree_client.h
+++ b/ui/aura/mus/window_tree_client.h
@@ -456,6 +456,7 @@ class AURA_EXPORT WindowTreeClient
void ActivateNextWindow() override;
void SetExtendedHitArea(Window* window, const gfx::Insets& hit_area) override;
void RequestClose(Window* window) override;
+ bool WaitForInitialDisplays() override;
// Overriden from WindowTreeHostMusDelegate:
void OnWindowTreeHostBoundsWillChange(WindowTreeHostMus* window_tree_host,
@@ -588,6 +589,10 @@ class AURA_EXPORT WindowTreeClient
// If |compositor_context_factory_| is installed on Env, then this is the
// ContextFactory that was set on Env originally.
ui::ContextFactory* initial_context_factory_ = nullptr;
+
+ // Set to true once OnWmDisplayAdded() is called.
+ bool got_initial_displays_ = false;
+
base::WeakPtrFactory<WindowTreeClient> weak_factory_;
DISALLOW_COPY_AND_ASSIGN(WindowTreeClient);
« no previous file with comments | « ui/aura/mus/window_manager_delegate.h ('k') | ui/aura/mus/window_tree_client.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698