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

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

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.h
diff --git a/ash/wm/workspace/workspace.h b/ash/wm/workspace/workspace.h
index 36ca39ffdf1b060aa5add977f151e7d9a6f6df76..149a5cc659f883311484f96a857fa58ac5d11e23 100644
--- a/ash/wm/workspace/workspace.h
+++ b/ash/wm/workspace/workspace.h
@@ -48,9 +48,6 @@ class ASH_EXPORT Workspace {
size_t num_windows() const { return windows_.size(); }
const std::vector<aura::Window*>& windows() const { return windows_; }
- // Returns the work area bounds of this workspace in viewport coordinates.
- const gfx::Rect& bounds() const { return bounds_; }
-
// Adds the |window| at the position after the window |after|. It
// inserts at the end if |after| is NULL. Return true if the
// |window| was successfully added to this workspace, or false if it
@@ -66,9 +63,6 @@ class ASH_EXPORT Workspace {
// Activates this workspace.
void Activate();
- // Sets the bounds of the workspace.
- void SetBounds(const gfx::Rect& bounds);
-
protected:
// Sets the bounds of the specified window.
void SetWindowBounds(aura::Window* window, const gfx::Rect& bounds);
@@ -87,10 +81,6 @@ class ASH_EXPORT Workspace {
// Invoked from RemoveWindow().
virtual void OnWindowRemoved(aura::Window* window) = 0;
- // Invoked when the size of the workspace changes. |old_bounds| is the
- // previous bounds.
- virtual void OnWorkspaceSizeChanged(const gfx::Rect& old_bounds) = 0;
-
private:
const Type type_;
@@ -99,8 +89,6 @@ class ASH_EXPORT Workspace {
// Windows in the workspace in layout order.
std::vector<aura::Window*> windows_;
- gfx::Rect bounds_;
-
DISALLOW_COPY_AND_ASSIGN(Workspace);
};

Powered by Google App Engine
This is Rietveld 408576698