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

Unified Diff: ash/wm/panels/panel_layout_manager.cc

Issue 2814243002: Removes a couple more functions from WmWindow (Closed)
Patch Set: feedback 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/wm/overview/window_selector_unittest.cc ('k') | ash/wm/switchable_windows.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: ash/wm/panels/panel_layout_manager.cc
diff --git a/ash/wm/panels/panel_layout_manager.cc b/ash/wm/panels/panel_layout_manager.cc
index c3d9cd133a5d4cbc978115c215452e82e02d08eb..64785205a5e28c1b4197df8346a359c2eb04dc46 100644
--- a/ash/wm/panels/panel_layout_manager.cc
+++ b/ash/wm/panels/panel_layout_manager.cc
@@ -222,7 +222,7 @@ class PanelCalloutWidget : public views::Widget {
params.bounds.set_height(kArrowHeight);
params.accept_events = false;
parent->GetRootWindowController()->ConfigureWidgetInitParamsForContainer(
- this, parent->GetShellWindowId(), &params);
+ this, parent->aura_window()->id(), &params);
set_focus_on_creation(false);
Init(params);
WmWindow* widget_window = WmWindow::Get(this->GetNativeWindow());
@@ -274,8 +274,8 @@ PanelLayoutManager* PanelLayoutManager::Get(WmWindow* window) {
return static_cast<PanelLayoutManager*>(
window->GetRootWindow()
- ->GetChildByShellWindowId(kShellWindowId_PanelContainer)
->aura_window()
+ ->GetChildById(kShellWindowId_PanelContainer)
->layout_manager());
}
« no previous file with comments | « ash/wm/overview/window_selector_unittest.cc ('k') | ash/wm/switchable_windows.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698