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

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: addressed comments 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
« no previous file with comments | « ash/wm/workspace/workspace_event_handler_unittest.cc ('k') | ash/wm/workspace/workspace_layout_manager.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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..4476ddc99c5f78a28f36bca9a9e71f2cb165be01 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 AdjustAllWindowsBoundsForWorkAreaChange(
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.
« no previous file with comments | « ash/wm/workspace/workspace_event_handler_unittest.cc ('k') | ash/wm/workspace/workspace_layout_manager.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698