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

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: [ash-md] Disables rounded corners by default in overview mode (nits) 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
« no previous file with comments | « ash/common/wm/overview/window_grid.cc ('k') | ash/common/wm/overview/window_selector_item.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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..d3467685e639fd637ca260f2d90830debf0eee42 100644
--- a/ash/common/wm/overview/window_selector_item.h
+++ b/ash/common/wm/overview/window_selector_item.h
@@ -84,6 +84,11 @@ 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 union of the original target bounds of all transformed windows
+ // managed by |this| item, i.e. all regular (normal or panel transient
+ // descendants of the window returned by GetWindow()).
+ 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|.
« no previous file with comments | « ash/common/wm/overview/window_grid.cc ('k') | ash/common/wm/overview/window_selector_item.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698