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..327b7cfcc5a2603550c547ac53bfe2902a918059 100644 |
--- a/ash/common/wm/overview/scoped_transform_overview_window.h |
+++ b/ash/common/wm/overview/scoped_transform_overview_window.h |
@@ -89,6 +89,14 @@ class ASH_EXPORT ScopedTransformOverviewWindow { |
// Returns the original target bounds of all transformed windows. |
gfx::Rect GetTargetBoundsInScreen() const; |
+ // Calculates the |window_| bounds after being transformed to the selector's |
+ // space. The returned Rect is in virtual screen coordinates. |
tdanderson
2016/07/29 20:20:02
nit: include comment about the purpose of |hide_he
varkha
2016/07/29 20:45:12
Done.
|
+ 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(); |