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

Unified Diff: ash/common/wm_window.h

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/common/wm/overview/window_selector_item.cc ('k') | ash/common/wm_window_property.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: ash/common/wm_window.h
diff --git a/ash/common/wm_window.h b/ash/common/wm_window.h
index 3abddc2ad7816aa7ddefdaec9bb5ac482613d8aa..4764762eb955aa92e4b7c08d743955603a7777cb 100644
--- a/ash/common/wm_window.h
+++ b/ash/common/wm_window.h
@@ -11,6 +11,7 @@
#include "ash/ash_export.h"
#include "base/strings/string16.h"
#include "base/time/time.h"
+#include "third_party/skia/include/core/SkColor.h"
#include "ui/base/ui_base_types.h"
#include "ui/compositor/layer_animation_element.h"
#include "ui/wm/core/window_animations.h"
@@ -119,12 +120,16 @@ class ASH_EXPORT WmWindow {
virtual void SetOpacity(float opacity) = 0;
virtual float GetTargetOpacity() const = 0;
+ virtual gfx::Rect GetMinimizeAnimationTargetBoundsInScreen() const = 0;
+
virtual void SetTransform(const gfx::Transform& transform) = 0;
virtual gfx::Transform GetTargetTransform() const = 0;
virtual bool IsSystemModal() const = 0;
virtual bool GetBoolProperty(WmWindowProperty key) = 0;
+ virtual SkColor GetColorProperty(WmWindowProperty key) = 0;
+ virtual void SetColorProperty(WmWindowProperty key, SkColor value) = 0;
virtual int GetIntProperty(WmWindowProperty key) = 0;
virtual void SetIntProperty(WmWindowProperty key, int value) = 0;
« no previous file with comments | « ash/common/wm/overview/window_selector_item.cc ('k') | ash/common/wm_window_property.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698