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

Side by Side Diff: ash/root_window_controller.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/ash_switches.cc ('k') | ash/root_window_controller.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_ROOT_WINDOW_CONTROLLER_H_ 5 #ifndef ASH_ROOT_WINDOW_CONTROLLER_H_
6 #define ASH_ROOT_WINDOW_CONTROLLER_H_ 6 #define ASH_ROOT_WINDOW_CONTROLLER_H_
7 7
8 #include "ash/ash_export.h" 8 #include "ash/ash_export.h"
9 #include "ash/wm/shelf_types.h" 9 #include "ash/wm/shelf_types.h"
10 #include "base/basictypes.h" 10 #include "base/basictypes.h"
(...skipping 90 matching lines...) Expand 10 before | Expand all | Expand 10 after
101 101
102 // Deletes associated objects and clears the state, but doesn't delete 102 // Deletes associated objects and clears the state, but doesn't delete
103 // the root window yet. This is used to delete a secondary displays' 103 // the root window yet. This is used to delete a secondary displays'
104 // root window safely when the display disconnect signal is received, 104 // root window safely when the display disconnect signal is received,
105 // which may come while we're in the nested message loop. 105 // which may come while we're in the nested message loop.
106 void Shutdown(); 106 void Shutdown();
107 107
108 // Deletes all child windows and performs necessary cleanup. 108 // Deletes all child windows and performs necessary cleanup.
109 void CloseChildWindows(); 109 void CloseChildWindows();
110 110
111 // Returns true if the workspace has a maximized or fullscreen window.
112 bool IsInMaximizedMode() const;
113
114 // Moves child windows to |dest|. 111 // Moves child windows to |dest|.
115 void MoveWindowsTo(aura::RootWindow* dest); 112 void MoveWindowsTo(aura::RootWindow* dest);
116 113
117 // Force the shelf to query for it's current visibility state. 114 // Force the shelf to query for it's current visibility state.
118 void UpdateShelfVisibility(); 115 void UpdateShelfVisibility();
119 116
120 // Sets/gets the shelf auto-hide behavior. 117 // Sets/gets the shelf auto-hide behavior.
121 void SetShelfAutoHideBehavior(ShelfAutoHideBehavior behavior); 118 void SetShelfAutoHideBehavior(ShelfAutoHideBehavior behavior);
122 ShelfAutoHideBehavior GetShelfAutoHideBehavior() const; 119 ShelfAutoHideBehavior GetShelfAutoHideBehavior() const;
123 120
(...skipping 37 matching lines...) Expand 10 before | Expand all | Expand 10 after
161 scoped_ptr<ToplevelWindowEventHandler> modal_container_handler_; 158 scoped_ptr<ToplevelWindowEventHandler> modal_container_handler_;
162 scoped_ptr<ToplevelWindowEventHandler> lock_modal_container_handler_; 159 scoped_ptr<ToplevelWindowEventHandler> lock_modal_container_handler_;
163 160
164 DISALLOW_COPY_AND_ASSIGN(RootWindowController); 161 DISALLOW_COPY_AND_ASSIGN(RootWindowController);
165 }; 162 };
166 163
167 } // namespace internal 164 } // namespace internal
168 } // ash 165 } // ash
169 166
170 #endif // ASH_ROOT_WINDOW_CONTROLLER_H_ 167 #endif // ASH_ROOT_WINDOW_CONTROLLER_H_
OLDNEW
« no previous file with comments | « ash/ash_switches.cc ('k') | ash/root_window_controller.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698