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

Unified Diff: ash/wm/resize_shadow.cc

Issue 2824763002: Ash: Fix WM window resize shadow stacking. (Closed)
Patch Set: 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/resize_shadow.h ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: ash/wm/resize_shadow.cc
diff --git a/ash/wm/resize_shadow.cc b/ash/wm/resize_shadow.cc
index 847ded20d50b79547df4ea0161a9a8c7ef7a2281..53eba7034e66ceb37129124bffab4f403614397c 100644
--- a/ash/wm/resize_shadow.cc
+++ b/ash/wm/resize_shadow.cc
@@ -94,6 +94,10 @@ void ResizeShadow::OnWindowHierarchyChanged(
ReparentLayer();
}
+void ResizeShadow::OnWindowStackingChanged(aura::Window* window) {
+ ReparentLayer();
+}
+
void ResizeShadow::ShowForHitTest(int hit) {
// Don't start animations unless something changed.
if (hit == last_hit_test_)
« no previous file with comments | « ash/wm/resize_shadow.h ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698