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

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

Issue 18637004: Sets the background color of shelf is opaque black when maximized (2nd) (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: remove log 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 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_WORKSPACE_MANAGER_H_ 5 #ifndef ASH_WM_WORKSPACE_WORKSPACE_MANAGER_H_
6 #define ASH_WM_WORKSPACE_WORKSPACE_MANAGER_H_ 6 #define ASH_WM_WORKSPACE_WORKSPACE_MANAGER_H_
7 7
8 #include <set> 8 #include <set>
9 #include <string> 9 #include <string>
10 #include <vector> 10 #include <vector>
(...skipping 93 matching lines...) Expand 10 before | Expand all | Expand 10 after
104 class LayoutManagerImpl; 104 class LayoutManagerImpl;
105 105
106 typedef std::vector<Workspace*> Workspaces; 106 typedef std::vector<Workspace*> Workspaces;
107 107
108 // Reason for the workspace switch. Used to determine the characteristics of 108 // Reason for the workspace switch. Used to determine the characteristics of
109 // the animation. 109 // the animation.
110 enum SwitchReason { 110 enum SwitchReason {
111 SWITCH_WINDOW_MADE_ACTIVE, 111 SWITCH_WINDOW_MADE_ACTIVE,
112 SWITCH_WINDOW_REMOVED, 112 SWITCH_WINDOW_REMOVED,
113 SWITCH_VISIBILITY_CHANGED, 113 SWITCH_VISIBILITY_CHANGED,
114 SWITCH_BACKGROUND_ONLY_WITHIN_DESKTOP,
115 SWITCH_MINIMIZED, 114 SWITCH_MINIMIZED,
116 SWITCH_MAXIMIZED_OR_RESTORED, 115 SWITCH_MAXIMIZED_OR_RESTORED,
117 // Switch a normal window in a fullscreen workspace to get fullscreen. 116 // Switch a normal window in a fullscreen workspace to get fullscreen.
118 // TODO(mukai): this should be removed in the future. Normal windows should 117 // TODO(mukai): this should be removed in the future. Normal windows should
119 // not be in a fullscreen workspace. See crbug.com/249154 118 // not be in a fullscreen workspace. See crbug.com/249154
120 SWITCH_FULLSCREEN_FROM_FULLSCREEN_WORKSPACE, 119 SWITCH_FULLSCREEN_FROM_FULLSCREEN_WORKSPACE,
121 SWITCH_TRACKED_BY_WORKSPACE_CHANGED, 120 SWITCH_TRACKED_BY_WORKSPACE_CHANGED,
122 121
123 // Switch as the result of DoInitialAnimation(). This isn't a real switch, 122 // Switch as the result of DoInitialAnimation(). This isn't a real switch,
124 // rather we run the animations as if a switch occurred. 123 // rather we run the animations as if a switch occurred.
(...skipping 151 matching lines...) Expand 10 before | Expand all | Expand 10 after
276 // finger vertical scroll. 275 // finger vertical scroll.
277 scoped_ptr<WorkspaceCycler> workspace_cycler_; 276 scoped_ptr<WorkspaceCycler> workspace_cycler_;
278 277
279 DISALLOW_COPY_AND_ASSIGN(WorkspaceManager); 278 DISALLOW_COPY_AND_ASSIGN(WorkspaceManager);
280 }; 279 };
281 280
282 } // namespace internal 281 } // namespace internal
283 } // namespace ash 282 } // namespace ash
284 283
285 #endif // ASH_WM_WORKSPACE_WORKSPACE_MANAGER_H_ 284 #endif // ASH_WM_WORKSPACE_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