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

Unified Diff: ash/mus/bridge/wm_window_mus.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 (fixed a new test assertion) 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 84823022e8ed362bd8713621c610aa4458df3c17..5da9bf791c261ded18198c53b6580e43ef7c0c4b 100644
--- a/ash/mus/bridge/wm_window_mus.cc
+++ b/ash/mus/bridge/wm_window_mus.cc
@@ -296,6 +296,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();
@@ -332,6 +338,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