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

Unified Diff: ash/aura/wm_window_aura.cc

Issue 2239233002: [ash-md] Fades overview header in and out (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: [ash-md] Fades overview header in and out (more tests) Created 4 years, 3 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/aura/wm_window_aura.cc
diff --git a/ash/aura/wm_window_aura.cc b/ash/aura/wm_window_aura.cc
index f923414d7fe790cb5b17b0c18d99b55e00e06b5e..3fe4c6368e5fe28b716cdeac2d6da00516262778 100644
--- a/ash/aura/wm_window_aura.cc
+++ b/ash/aura/wm_window_aura.cc
@@ -248,6 +248,10 @@ float WmWindowAura::GetTargetOpacity() const {
return window_->layer()->GetTargetOpacity();
}
+gfx::Rect WmWindowAura::GetMinimizeAnimationTargetBoundsInScreen() const {
+ return ash::GetMinimizeAnimationTargetBoundsInScreen(window_);
+}
+
void WmWindowAura::SetTransform(const gfx::Transform& transform) {
window_->SetTransform(transform);
}
@@ -286,6 +290,9 @@ int WmWindowAura::GetIntProperty(WmWindowProperty key) {
if (key == WmWindowProperty::TOP_VIEW_INSET)
return window_->GetProperty(aura::client::kTopViewInset);
+ if (key == WmWindowProperty::TOP_VIEW_COLOR)
+ return window_->GetProperty(aura::client::kTopViewColor);
+
NOTREACHED();
return 0;
}
@@ -299,6 +306,10 @@ void WmWindowAura::SetIntProperty(WmWindowProperty key, int value) {
window_->SetProperty(aura::client::kTopViewInset, value);
return;
}
+ if (key == WmWindowProperty::TOP_VIEW_COLOR) {
+ window_->SetProperty(aura::client::kTopViewColor, value);
+ return;
+ }
NOTREACHED();
}

Powered by Google App Engine
This is Rietveld 408576698