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

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

Issue 9566014: Attempt 2: 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 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 explicit WorkspaceManager(aura::Window* viewport); 36 explicit WorkspaceManager(aura::Window* viewport);
37 virtual ~WorkspaceManager(); 37 virtual ~WorkspaceManager();
38 38
39 // Returns true if |window| should be managed by the WorkspaceManager. 39 // Returns true if |window| should be managed by the WorkspaceManager.
40 bool IsManagedWindow(aura::Window* window) const; 40 bool IsManagedWindow(aura::Window* window) const;
41 41
42 // Adds/removes a window creating/destroying workspace as necessary. 42 // Adds/removes a window creating/destroying workspace as necessary.
43 void AddWindow(aura::Window* window); 43 void AddWindow(aura::Window* window);
44 void RemoveWindow(aura::Window* window); 44 void RemoveWindow(aura::Window* window);
(...skipping 126 matching lines...) Expand 10 before | Expand all | Expand 10 after
171 // Owned by the Shell container window LauncherContainer. May be NULL. 171 // Owned by the Shell container window LauncherContainer. May be NULL.
172 ShelfLayoutManager* shelf_; 172 ShelfLayoutManager* shelf_;
173 173
174 DISALLOW_COPY_AND_ASSIGN(WorkspaceManager); 174 DISALLOW_COPY_AND_ASSIGN(WorkspaceManager);
175 }; 175 };
176 176
177 } // namespace internal 177 } // namespace internal
178 } // namespace ash 178 } // namespace ash
179 179
180 #endif // ASH_WM_WORKSPACE_MANAGER_H_ 180 #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