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

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

Issue 19460014: Do not create workspace for fullscreen. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Created 7 years, 5 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/shelf/shelf_layout_manager_unittest.cc ('k') | ash/wm/workspace/workspace.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: ash/wm/workspace/workspace.h
diff --git a/ash/wm/workspace/workspace.h b/ash/wm/workspace/workspace.h
index 4b8423b48096b0712155c3d8deff53bd52838d90..c348be18240e0f8eee46aef1afa67aafb5db81fe 100644
--- a/ash/wm/workspace/workspace.h
+++ b/ash/wm/workspace/workspace.h
@@ -26,14 +26,12 @@ class WorkspaceEventHandler;
class WorkspaceLayoutManager;
class WorkspaceManager;
-// Workspace is used to maintain either a single fullscreen windows (including
-// transients and other windows) or any number of windows (for the
-// desktop). Workspace is used by WorkspaceManager to manage a set of windows.
+// Workspace is used to maintain any number of windows (for the desktop).
+// Workspace is used by WorkspaceManager to manage a set of windows.
class ASH_EXPORT Workspace {
public:
Workspace(WorkspaceManager* manager,
- aura::Window* parent,
- bool is_fullscreen);
+ aura::Window* parent);
~Workspace();
// Returns the topmost activatable window. This corresponds to the most
@@ -43,8 +41,6 @@ class ASH_EXPORT Workspace {
// Resets state. This should be used before destroying the Workspace.
aura::Window* ReleaseWindow();
- bool is_fullscreen() const { return is_fullscreen_; }
-
aura::Window* window() { return window_; }
const WorkspaceLayoutManager* workspace_layout_manager() const {
@@ -59,18 +55,7 @@ class ASH_EXPORT Workspace {
}
WorkspaceManager* workspace_manager() { return workspace_manager_; }
- // Returns true if the Workspace should be moved to pending. This is true
- // if there are no visible fullscreen windows.
- bool ShouldMoveToPending() const;
-
- // Returns the number of fullscreen windows (including minimized windows that
- // would be fullscreen on restore). This does not consider visibility.
- int GetNumFullscreenWindows() const;
-
private:
- // Is this a workspace for fullscreen windows?
- const bool is_fullscreen_;
-
WorkspaceManager* workspace_manager_;
// Our Window, owned by |parent| passed to the constructor.
« no previous file with comments | « ash/shelf/shelf_layout_manager_unittest.cc ('k') | ash/wm/workspace/workspace.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698