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

Unified Diff: ash/wm/workspace/workspace.cc

Issue 9764008: Makes the launcher auto-hide for maximized windows. This turned out to (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Add null checks and cleanup Created 8 years, 9 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.cc
diff --git a/ash/wm/workspace/workspace.cc b/ash/wm/workspace/workspace.cc
index e71ee7ed44990e8cece19c533db34c6e0b86302b..207333d2d3de9b88a4ab00efbc414fab2c74526d 100644
--- a/ash/wm/workspace/workspace.cc
+++ b/ash/wm/workspace/workspace.cc
@@ -63,18 +63,6 @@ void Workspace::Activate() {
workspace_manager_->SetActiveWorkspace(this);
}
-void Workspace::SetBounds(const gfx::Rect& bounds) {
- if (bounds_ == bounds)
- return;
-
- gfx::Rect old_bounds = bounds_;
- bounds_ = bounds;
- // Don't send size change for transition from empty -> not empty. That only
- // happens when we're first created.
- if (!old_bounds.IsEmpty())
- OnWorkspaceSizeChanged(old_bounds);
-}
-
void Workspace::SetWindowBounds(aura::Window* window, const gfx::Rect& bounds) {
workspace_manager_->SetWindowBounds(window, bounds);
}

Powered by Google App Engine
This is Rietveld 408576698