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

Unified Diff: mash/wm/root_window_controller.cc

Issue 1835403002: Support additional mash shelf alignments. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 4 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
Index: mash/wm/root_window_controller.cc
diff --git a/mash/wm/root_window_controller.cc b/mash/wm/root_window_controller.cc
index 934f3641ff5c5b39aad688c1aa6b8e53c26ff03c..daeded404b9bd24a535beb52ed50d2bf046bd947 100644
--- a/mash/wm/root_window_controller.cc
+++ b/mash/wm/root_window_controller.cc
@@ -93,6 +93,11 @@ void RootWindowController::OnAccelerator(uint32_t id, const ui::Event& event) {
}
}
+LayoutManager* RootWindowController::GetLayoutManagerForContainer(
+ mojom::Container container) {
+ return layout_manager_[GetWindowForContainer(container)].get();
+}
+
RootWindowController::RootWindowController(WindowManagerApplication* app)
: app_(app), root_(nullptr), window_count_(0) {
window_manager_.reset(new WindowManager);

Powered by Google App Engine
This is Rietveld 408576698