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

Unified Diff: ash/common/wm/overview/window_grid.cc

Issue 2278903003: [ash-md] Keeps overview mode shield above DesktopBackgroundView (Closed)
Patch Set: Created 4 years, 4 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: ash/common/wm/overview/window_grid.cc
diff --git a/ash/common/wm/overview/window_grid.cc b/ash/common/wm/overview/window_grid.cc
index 1220a07e124833dcb3041c32b080544da377c272..045bc11d1d23e06ac45b969549ea324cd5acf212 100644
--- a/ash/common/wm/overview/window_grid.cc
+++ b/ash/common/wm/overview/window_grid.cc
@@ -853,6 +853,7 @@ void WindowGrid::InitShieldWidget() {
WmLookup::Get()->GetWindowForWidget(shield_widget_.get());
const gfx::Rect bounds = widget_window->GetParent()->GetBounds();
widget_window->SetBounds(bounds);
+ widget_window->SetName("overview-mode-shield");
James Cook 2016/08/25 18:32:12 nit: I usually use OverviewModeShield for these na
varkha 2016/08/25 19:56:42 Done. Here and for other overview mode widgets.
ui::ScopedLayerAnimationSettings animation_settings(
widget_window->GetLayer()->GetAnimator());
« no previous file with comments | « no previous file | ash/desktop_background/desktop_background_view.cc » ('j') | ash/desktop_background/desktop_background_view.cc » ('J')

Powered by Google App Engine
This is Rietveld 408576698