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

Unified Diff: ash/wm/maximize_mode/workspace_backdrop_delegate.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/focus_rules.cc ('k') | ash/wm/overview/scoped_transform_overview_window.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: ash/wm/maximize_mode/workspace_backdrop_delegate.cc
diff --git a/ash/wm/maximize_mode/workspace_backdrop_delegate.cc b/ash/wm/maximize_mode/workspace_backdrop_delegate.cc
index fc8121362264d83a675eb95a3c238b10ba7ab43c..496cc7f131de362d5e053467b6b828e1b0a40257 100644
--- a/ash/wm/maximize_mode/workspace_backdrop_delegate.cc
+++ b/ash/wm/maximize_mode/workspace_backdrop_delegate.cc
@@ -35,9 +35,9 @@ WorkspaceBackdropDelegate::WorkspaceBackdropDelegate(WmWindow* container)
// To disallow the MRU list from picking this window up it should not be
// activateable.
params.activatable = views::Widget::InitParams::ACTIVATABLE_NO;
- DCHECK_NE(kShellWindowId_Invalid, container_->GetShellWindowId());
+ DCHECK_NE(kShellWindowId_Invalid, container_->aura_window()->id());
container_->GetRootWindowController()->ConfigureWidgetInitParamsForContainer(
- background_, container_->GetShellWindowId(), &params);
+ background_, container_->aura_window()->id(), &params);
background_->Init(params);
background_window_ = WmWindow::Get(background_->GetNativeWindow());
// Do not use the animation system. We don't want the bounds animation and
« no previous file with comments | « ash/wm/focus_rules.cc ('k') | ash/wm/overview/scoped_transform_overview_window.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698