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 6f8a904ae991e249daec6d9c131527cc79fad676..11b50ef1c146b9bc6358793687b1e6085d90749c 100644 |
--- a/ash/common/wm/overview/scoped_transform_overview_window.h |
+++ b/ash/common/wm/overview/scoped_transform_overview_window.h |
@@ -89,6 +89,18 @@ class ASH_EXPORT ScopedTransformOverviewWindow { |
// Returns the original target bounds of all transformed windows. |
gfx::Rect GetTargetBoundsInScreen() const; |
+ // Calculates the bounds of a |window_| after being transformed to the |
+ // selector's space. With Material Design those bounds are a union of all |
+ // regular (normal and panel) windows in the |window_|'s transient hierarchy. |
+ // The returned Rect is in virtual screen coordinates. When |hide_header| is |
+ // true the returned bounds are adjusted to allow the original |window_|'s |
+ // header to be hidden. |
+ gfx::Rect GetTransformedBounds(bool hide_header) const; |
+ |
+ // Returns TOP_VIEW_INSET property of |window_| unless there are transient |
+ // ancestors in which case returns 0. |
+ int GetTopInset() const; |
+ |
// Restores and animates the managed window to it's non overview mode state. |
void RestoreWindow(); |