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

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

Issue 256413004: Relayout windows in overview when display size changes. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Merge and remove extra newline. Created 6 years, 8 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/wm/overview/window_selector.cc ('k') | ash/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/wm/overview/window_selector_item.h
diff --git a/ash/wm/overview/window_selector_item.h b/ash/wm/overview/window_selector_item.h
index 0c69ddac8090b97c72c1c4022932ee504d1cf057..d1cfaf330b63ee1f9cb550be5bcc45d3012b8e70 100644
--- a/ash/wm/overview/window_selector_item.h
+++ b/ash/wm/overview/window_selector_item.h
@@ -65,7 +65,8 @@ class WindowSelectorItem {
// Sets the bounds of this window selector item to |target_bounds| in the
// |root_window| root window.
void SetBounds(aura::Window* root_window,
- const gfx::Rect& target_bounds);
+ const gfx::Rect& target_bounds,
+ bool animate);
// Recomputes the positions for the windows in this selection item. This is
// dispatched when the bounds of a window change.
@@ -84,13 +85,14 @@ class WindowSelectorItem {
// Sets the bounds used by the selector item's windows.
void set_bounds(const gfx::Rect& bounds) { bounds_ = bounds; }
- // Creates a label to display under the window selector item.
- void UpdateWindowLabels(const gfx::Rect& target_bounds,
- aura::Window* root_window);
-
private:
friend class WindowSelectorTest;
+ // Creates a label to display under the window selector item.
+ void UpdateWindowLabels(const gfx::Rect& target_bounds,
+ aura::Window* root_window,
+ bool animate);
+
// The root window this item is being displayed on.
aura::Window* root_window_;
« no previous file with comments | « ash/wm/overview/window_selector.cc ('k') | ash/wm/overview/window_selector_item.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698