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

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: 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..be05b1afed7a908f87242789b4b147794965b3a4 100644
--- a/ash/wm/workspace/workspace_layout_manager.h
+++ b/ash/wm/workspace/workspace_layout_manager.h
@@ -60,11 +60,10 @@ class ASH_EXPORT WorkspaceLayoutManager : public BaseLayoutManager {
// Overridden from BaseLayoutManager:
virtual void ShowStateChanged(aura::Window* window,
ui::WindowShowState last_show_state) OVERRIDE;
- virtual void AdjustWindowSizesForScreenChange(
- AdjustWindowReason reason) OVERRIDE;
- virtual void AdjustWindowSizeForScreenChange(
- aura::Window* window,
+ virtual void AdjustWindowsBoundsForWorkAreaChange(
AdjustWindowReason reason) OVERRIDE;
+ virtual void AdjustWindowBounds(aura::Window* window,
+ AdjustWindowReason reason) OVERRIDE;
void UpdateDesktopVisibility();

Powered by Google App Engine
This is Rietveld 408576698