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

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

Issue 9515003: Fix the full screen switching browser window dipping below launcher bar issue. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Make SetWorkSpaceBounds private. Created 8 years, 10 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/toplevel_layout_manager_unittest.cc ('k') | ash/wm/workspace/workspace_manager.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: ash/wm/workspace/workspace_manager.h
diff --git a/ash/wm/workspace/workspace_manager.h b/ash/wm/workspace/workspace_manager.h
index dde10aaff4395891572d912d1a37e8b034ae8ffc..3bcff6a2610a5afbf88b077cf3e88869f0cc03da 100644
--- a/ash/wm/workspace/workspace_manager.h
+++ b/ash/wm/workspace/workspace_manager.h
@@ -64,6 +64,9 @@ class ASH_EXPORT WorkspaceManager : public aura::WindowObserver{
// Sets the size of a single workspace (all workspaces have the same size).
void SetWorkspaceSize(const gfx::Size& workspace_size);
+ // Called when screen work area insets changes.
+ void OnScreenWorkAreaInsetsChanged();
+
// Returns the window the layout manager should allow the size to be set for.
// TODO: maybe this should be set on WorkspaceLayoutManager.
aura::Window* ignored_window() { return ignored_window_; }
@@ -139,6 +142,9 @@ class ASH_EXPORT WorkspaceManager : public aura::WindowObserver{
// Reset the bounds of |window|. Use when |window| is fullscreen or maximized.
void SetFullScreenOrMaximizedBounds(aura::Window* window);
+ // Sets the bounds of all workspaces.
+ void SetWorkspaceBounds();
+
// Invoked when the type of workspace needed for |window| changes.
void OnTypeOfWorkspacedNeededChanged(aura::Window* window);
« no previous file with comments | « ash/wm/toplevel_layout_manager_unittest.cc ('k') | ash/wm/workspace/workspace_manager.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698