Index: ash/common/wm/overview/scoped_transform_overview_window.h |
diff --git a/ash/common/wm/overview/scoped_transform_overview_window.h b/ash/common/wm/overview/scoped_transform_overview_window.h |
index 7445d763f4097810fc76ba9706b1b64937c2522e..e59310609a6a0650a313da80f88d86d88e4f019e 100644 |
--- a/ash/common/wm/overview/scoped_transform_overview_window.h |
+++ b/ash/common/wm/overview/scoped_transform_overview_window.h |
@@ -15,6 +15,8 @@ |
#include "ui/gfx/geometry/size.h" |
#include "ui/gfx/transform.h" |
+class SkRegion; |
+ |
namespace gfx { |
class Rect; |
} |
@@ -106,7 +108,7 @@ class ASH_EXPORT ScopedTransformOverviewWindow { |
// using rounded corners of |radius|. |
void SetTransform(WmWindow* root_window, |
const gfx::Transform& transform, |
- int radius); |
+ float radius); |
// Set's the opacity of the managed windows. |
void SetOpacity(float opacity); |
@@ -135,6 +137,9 @@ class ASH_EXPORT ScopedTransformOverviewWindow { |
// Mask layer that hides the original window header. |
std::unique_ptr<OverviewContentMask> mask_; |
+ // Original window shape, if it was set on a window. |
+ std::unique_ptr<SkRegion> original_window_shape_; |
+ |
// If true, the window was minimized and should be restored if the window |
// was not selected. |
bool minimized_; |