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

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

Issue 10444014: ash: Improved window maximize/restore animations (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: fix lock screen, app windows Created 8 years, 6 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.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 4f80f367ba0af14b3da92f385379ada14f040e9c..2f9985de411e5f2ffff2c84ca269b4b00d804219 100644
--- a/ash/wm/workspace/workspace_manager.h
+++ b/ash/wm/workspace/workspace_manager.h
@@ -76,10 +76,6 @@ class ASH_EXPORT WorkspaceManager {
// Returns the bounds in which a window can be moved/resized.
gfx::Rect GetDragAreaBounds();
- // 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_; }
-
// Sets the size of the grid. Newly added windows are forced to align to the
// size of the grid.
void set_grid_size(int size) { grid_size_ = size; }
@@ -106,11 +102,6 @@ class ASH_EXPORT WorkspaceManager {
friend class Workspace;
friend class WorkspaceManagerTest;
- // See description above getter.
- void set_ignored_window(aura::Window* ignored_window) {
- ignored_window_ = ignored_window;
- }
-
void AddWorkspace(Workspace* workspace);
void RemoveWorkspace(Workspace* workspace);
@@ -162,8 +153,9 @@ class ASH_EXPORT WorkspaceManager {
std::vector<Workspace*> workspaces_;
- // The window that WorkspaceManager does not set the bounds on.
- aura::Window* ignored_window_;
+ // Window being maximized or restored during a workspace type change.
+ // It has its own animation and is ignored by workspace show/hide animations.
+ aura::Window* maximize_restore_window_;
// See description above setter.
int grid_size_;
« no previous file with comments | « ash/wm/workspace/workspace.cc ('k') | ash/wm/workspace/workspace_manager.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698