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

Unified Diff: mash/wm/window_manager_impl.h

Issue 1567623003: Adds remainder of support for multiple roots to WS (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: fix comment Created 4 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 | « components/mus/ws/window_tree_unittest.cc ('k') | mash/wm/window_manager_impl.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: mash/wm/window_manager_impl.h
diff --git a/mash/wm/window_manager_impl.h b/mash/wm/window_manager_impl.h
index d071bfc26ee2216014dc9d44bd9ec7f587e135ab..38aff19e7ddb1027e8de6e55a54e820206c7867a 100644
--- a/mash/wm/window_manager_impl.h
+++ b/mash/wm/window_manager_impl.h
@@ -34,6 +34,10 @@ class WindowManagerImpl : public mus::mojom::WindowManager,
gfx::Rect CalculateDefaultBounds(mus::Window* window) const;
gfx::Rect GetMaximizedWindowBounds() const;
+ mus::Window* NewTopLevelWindow(
+ std::map<std::string, std::vector<uint8_t>>* properties,
+ mus::mojom::WindowTreeClientPtr client);
+
// mus::WindowObserver:
void OnTreeChanging(const TreeChangeParams& params) override;
void OnWindowEmbeddedAppDisconnected(mus::Window* window) override;
@@ -49,6 +53,8 @@ class WindowManagerImpl : public mus::mojom::WindowManager,
bool OnWmSetProperty(mus::Window* window,
const std::string& name,
scoped_ptr<std::vector<uint8_t>>* new_data) override;
+ mus::Window* OnWmCreateTopLevelWindow(
+ std::map<std::string, std::vector<uint8_t>>* properties) override;
WindowManagerApplication* state_;
« no previous file with comments | « components/mus/ws/window_tree_unittest.cc ('k') | mash/wm/window_manager_impl.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698