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

Unified Diff: ash/wm/workspace/workspace_layout_manager.h

Issue 21979005: Make sure that 30%of restored window is always visible. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: AdjustWindowBoundsWhenAdded Created 7 years, 4 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/wm/workspace/workspace_layout_manager.h
diff --git a/ash/wm/workspace/workspace_layout_manager.h b/ash/wm/workspace/workspace_layout_manager.h
index a599d87f600aaa9efedfbdd80bad9c00dd8dd725..f7627becce2e64465e8840e409e4616c4bf70ff7 100644
--- a/ash/wm/workspace/workspace_layout_manager.h
+++ b/ash/wm/workspace/workspace_layout_manager.h
@@ -60,12 +60,14 @@ class ASH_EXPORT WorkspaceLayoutManager : public BaseLayoutManager {
// Overridden from BaseLayoutManager:
virtual void ShowStateChanged(aura::Window* window,
ui::WindowShowState last_show_state) OVERRIDE;
- virtual void AdjustWindowSizesForScreenChange(
+ virtual void AdjustWindowsBoundsForWorkAreaChange(
AdjustWindowReason reason) OVERRIDE;
- virtual void AdjustWindowSizeForScreenChange(
+ virtual void AdjustWindowBoundsForWorkAreaChange(
aura::Window* window,
AdjustWindowReason reason) OVERRIDE;
+ void AdjustWindowBoundsWhenAdded(aura::Window* window);
+
void UpdateDesktopVisibility();
// Updates the bounds of the window from a show state change.

Powered by Google App Engine
This is Rietveld 408576698