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

Side by Side Diff: ash/wm/workspace/maximized_workspace.h

Issue 11201002: Removes worskpace 1 code. Will rename next. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Remove constants and add back kDisableLoginAnimations Created 8 years, 2 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 unified diff | Download patch | Annotate | Revision Log
« no previous file with comments | « ash/wm/workspace/managed_workspace.cc ('k') | ash/wm/workspace/maximized_workspace.cc » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
(Empty)
1 // Copyright (c) 2012 The Chromium Authors. All rights reserved.
2 // Use of this source code is governed by a BSD-style license that can be
3 // found in the LICENSE file.
4
5 #ifndef ASH_WM_WORKSPACE_MAXIMIZED_WORKSPACE_H_
6 #define ASH_WM_WORKSPACE_MAXIMIZED_WORKSPACE_H_
7
8 #include "ash/wm/workspace/workspace.h"
9 #include "base/compiler_specific.h"
10
11 namespace ash {
12 namespace internal {
13
14 // Workspace implementation that contains a single maximized or fullscreen
15 // window.
16 class ASH_EXPORT MaximizedWorkspace : public Workspace {
17 public:
18 explicit MaximizedWorkspace(WorkspaceManager* manager);
19 virtual ~MaximizedWorkspace();
20
21 protected:
22 // Workspace overrides:
23 virtual bool CanAdd(aura::Window* window) const OVERRIDE;
24 virtual void OnWindowAddedAfter(aura::Window* window,
25 aura::Window* after) OVERRIDE;
26 virtual void OnWindowRemoved(aura::Window* window) OVERRIDE;
27
28 private:
29 void ResetWindowBounds(aura::Window* window);
30
31 DISALLOW_COPY_AND_ASSIGN(MaximizedWorkspace);
32 };
33
34 } // namespace internal
35 } // namespace ash
36
37 #endif // ASH_WM_WORKSPACE_MAXIMIZED_WORKSPACE_H_
OLDNEW
« no previous file with comments | « ash/wm/workspace/managed_workspace.cc ('k') | ash/wm/workspace/maximized_workspace.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698