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

Unified Diff: ash/common/wm/overview/window_selector_item.h

Issue 2197773002: [ash-md] Properly scales windows with transient parents in overview (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 4 years, 5 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
Index: ash/common/wm/overview/window_selector_item.h
diff --git a/ash/common/wm/overview/window_selector_item.h b/ash/common/wm/overview/window_selector_item.h
index f533a4abe881aff7a97cc3cef12cc49d59b4fbaa..702517a4c2a7f001c236acabdc8a28295d1586f3 100644
--- a/ash/common/wm/overview/window_selector_item.h
+++ b/ash/common/wm/overview/window_selector_item.h
@@ -84,6 +84,9 @@ class ASH_EXPORT WindowSelectorItem : public views::ButtonListener,
// returns the scale that allows the item to fully fit within |size|.
float GetItemScale(const gfx::Size& size);
+ // Returns the original target bounds of all transformed windows.
tdanderson 2016/07/29 20:20:02 nit: explain in a bit more detail what you mean by
varkha 2016/07/29 20:45:12 Done.
+ gfx::Rect GetTargetBoundsInScreen() const;
+
// Sets the bounds of this window selector item to |target_bounds| in the
// |root_window_| root window. The bounds change will be animated as specified
// by |animation_type|.

Powered by Google App Engine
This is Rietveld 408576698