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

Unified Diff: ash/mus/bridge/wm_window_mus.cc

Issue 2336673002: Reland of [ash-md] Fades overview header in and out (Closed)
Patch Set: Fixes use-after-free for the views that get destroyed synchronously in 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
« no previous file with comments | « ash/mus/bridge/wm_window_mus.h ('k') | ash/wm/overview/scoped_overview_animation_settings_aura.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: ash/mus/bridge/wm_window_mus.cc
diff --git a/ash/mus/bridge/wm_window_mus.cc b/ash/mus/bridge/wm_window_mus.cc
index 0c1a39f3bb32eaf7a849782f66c3ef12402c65c3..f177229b72ba59b922c8cd468d912264432e2c3e 100644
--- a/ash/mus/bridge/wm_window_mus.cc
+++ b/ash/mus/bridge/wm_window_mus.cc
@@ -305,6 +305,12 @@ float WmWindowMus::GetTargetOpacity() const {
return window_->opacity();
}
+gfx::Rect WmWindowMus::GetMinimizeAnimationTargetBoundsInScreen() const {
+ // TODO: need animation support: http://crbug.com/615087.
+ NOTIMPLEMENTED();
+ return GetBoundsInScreen();
+}
+
void WmWindowMus::SetTransform(const gfx::Transform& transform) {
// TODO: mus needs to support transforms: http://crbug.com/615089.
NOTIMPLEMENTED();
@@ -341,6 +347,27 @@ bool WmWindowMus::GetBoolProperty(WmWindowProperty key) {
return false;
}
+SkColor WmWindowMus::GetColorProperty(WmWindowProperty key) {
+ if (key == WmWindowProperty::TOP_VIEW_COLOR) {
+ // TODO: need support for TOP_VIEW_COLOR: http://crbug.com/615100.
+ NOTIMPLEMENTED();
+ return 0;
+ }
+
+ NOTREACHED();
+ return 0;
+}
+
+void WmWindowMus::SetColorProperty(WmWindowProperty key, SkColor value) {
+ if (key == WmWindowProperty::TOP_VIEW_COLOR) {
+ // TODO: need support for TOP_VIEW_COLOR: http://crbug.com/615100.
+ NOTIMPLEMENTED();
+ return;
+ }
+
+ NOTREACHED();
+}
+
int WmWindowMus::GetIntProperty(WmWindowProperty key) {
if (key == WmWindowProperty::SHELF_ID) {
NOTIMPLEMENTED();
« no previous file with comments | « ash/mus/bridge/wm_window_mus.h ('k') | ash/wm/overview/scoped_overview_animation_settings_aura.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698