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

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

Issue 9549009: Allows tab dragging when maximized on aura. To fix it I made it so (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Fix windows 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 unified diff | Download patch | Annotate | Revision Log
« no previous file with comments | « ash/wm/workspace/workspace_layout_manager.cc ('k') | ash/wm/workspace/workspace_manager.cc » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
1 // Copyright (c) 2012 The Chromium Authors. All rights reserved. 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 2 // Use of this source code is governed by a BSD-style license that can be
3 // found in the LICENSE file. 3 // found in the LICENSE file.
4 4
5 #ifndef ASH_WM_WORKSPACE_MANAGER_H_ 5 #ifndef ASH_WM_WORKSPACE_MANAGER_H_
6 #define ASH_WM_WORKSPACE_MANAGER_H_ 6 #define ASH_WM_WORKSPACE_MANAGER_H_
7 7
8 #include <vector> 8 #include <vector>
9 9
10 #include "ash/ash_export.h" 10 #include "ash/ash_export.h"
(...skipping 13 matching lines...) Expand all
24 class Rect; 24 class Rect;
25 } 25 }
26 26
27 namespace ash { 27 namespace ash {
28 namespace internal { 28 namespace internal {
29 29
30 class ShelfLayoutManager; 30 class ShelfLayoutManager;
31 class WorkspaceManagerTest; 31 class WorkspaceManagerTest;
32 32
33 // WorkspaceManager manages multiple workspaces in the desktop. 33 // WorkspaceManager manages multiple workspaces in the desktop.
34 class ASH_EXPORT WorkspaceManager : public aura::WindowObserver{ 34 class ASH_EXPORT WorkspaceManager : public aura::WindowObserver {
35 public: 35 public:
36 // If open_new_windows_maximized() is true and the size of the viewport is 36 // If open_new_windows_maximized() is true and the size of the viewport is
37 // smaller than this value, newly created windows are forced maximized. 37 // smaller than this value, newly created windows are forced maximized.
38 static const int kOpenMaximizedThreshold; 38 static const int kOpenMaximizedThreshold;
39 39
40 explicit WorkspaceManager(aura::Window* viewport); 40 explicit WorkspaceManager(aura::Window* viewport);
41 virtual ~WorkspaceManager(); 41 virtual ~WorkspaceManager();
42 42
43 // Returns true if |window| should be managed by the WorkspaceManager. 43 // Returns true if |window| should be managed by the WorkspaceManager.
44 bool IsManagedWindow(aura::Window* window) const; 44 bool IsManagedWindow(aura::Window* window) const;
(...skipping 146 matching lines...) Expand 10 before | Expand all | Expand 10 after
191 // Owned by the Shell container window LauncherContainer. May be NULL. 191 // Owned by the Shell container window LauncherContainer. May be NULL.
192 ShelfLayoutManager* shelf_; 192 ShelfLayoutManager* shelf_;
193 193
194 DISALLOW_COPY_AND_ASSIGN(WorkspaceManager); 194 DISALLOW_COPY_AND_ASSIGN(WorkspaceManager);
195 }; 195 };
196 196
197 } // namespace internal 197 } // namespace internal
198 } // namespace ash 198 } // namespace ash
199 199
200 #endif // ASH_WM_WORKSPACE_MANAGER_H_ 200 #endif // ASH_WM_WORKSPACE_MANAGER_H_
OLDNEW
« no previous file with comments | « ash/wm/workspace/workspace_layout_manager.cc ('k') | ash/wm/workspace/workspace_manager.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698