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

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

Issue 2278903003: [ash-md] Keeps overview mode shield above DesktopBackgroundView (Closed)
Patch Set: [ash-md] Keeps overview mode shield above DesktopBackgroundView (nits) 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
« no previous file with comments | « no previous file | ash/common/wm/overview/window_selector.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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..bd4de0549b2f49611f0962d555f405457ac8f170 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("OverviewModeShield");
ui::ScopedLayerAnimationSettings animation_settings(
widget_window->GetLayer()->GetAnimator());
@@ -884,6 +885,7 @@ void WindowGrid::InitSelectionWidget(WindowSelector::Direction direction) {
gfx::Vector2d fade_out_direction =
GetSlideVectorForFadeIn(direction, target_bounds);
widget_window->SetBounds(target_bounds - fade_out_direction);
+ widget_window->SetName("OverviewModeSelector");
if (material) {
selector_shadow_.reset(new ::wm::Shadow());
« no previous file with comments | « no previous file | ash/common/wm/overview/window_selector.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698