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

Side by Side Diff: ash/root_window_controller.h

Issue 13896026: Stick windows to sides of workspaces (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Dock on left or right edge Created 7 years, 6 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
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/shelf/shelf_types.h" 9 #include "ash/shelf/shelf_types.h"
10 #include "ash/system/user/login_status.h" 10 #include "ash/system/user/login_status.h"
(...skipping 25 matching lines...) Expand all
36 36
37 namespace ash { 37 namespace ash {
38 class StackingController; 38 class StackingController;
39 class ShelfWidget; 39 class ShelfWidget;
40 class SystemTray; 40 class SystemTray;
41 class ToplevelWindowEventHandler; 41 class ToplevelWindowEventHandler;
42 42
43 namespace internal { 43 namespace internal {
44 44
45 class BootSplashScreen; 45 class BootSplashScreen;
46 class DockLayoutManager;
46 class PanelLayoutManager; 47 class PanelLayoutManager;
47 class RootWindowLayoutManager; 48 class RootWindowLayoutManager;
48 class ScreenDimmer; 49 class ScreenDimmer;
49 class ShelfLayoutManager; 50 class ShelfLayoutManager;
50 class StatusAreaWidget; 51 class StatusAreaWidget;
51 class SystemBackgroundController; 52 class SystemBackgroundController;
52 class SystemModalContainerLayoutManager; 53 class SystemModalContainerLayoutManager;
53 class TouchObserverHUD; 54 class TouchObserverHUD;
54 class WorkspaceController; 55 class WorkspaceController;
55 56
(...skipping 129 matching lines...) Expand 10 before | Expand all | Expand 10 after
185 scoped_ptr<aura::RootWindow> root_window_; 186 scoped_ptr<aura::RootWindow> root_window_;
186 RootWindowLayoutManager* root_window_layout_; 187 RootWindowLayoutManager* root_window_layout_;
187 188
188 scoped_ptr<StackingController> stacking_controller_; 189 scoped_ptr<StackingController> stacking_controller_;
189 190
190 scoped_ptr<keyboard::KeyboardController> keyboard_controller_; 191 scoped_ptr<keyboard::KeyboardController> keyboard_controller_;
191 192
192 // The shelf for managing the launcher and the status widget. 193 // The shelf for managing the launcher and the status widget.
193 scoped_ptr<ShelfWidget> shelf_; 194 scoped_ptr<ShelfWidget> shelf_;
194 195
196 // Manages layout of docked windows. Owned by DockContainer.
197 DockLayoutManager* dock_layout_manager_;
198
195 // Manages layout of panels. Owned by PanelContainer. 199 // Manages layout of panels. Owned by PanelContainer.
196 PanelLayoutManager* panel_layout_manager_; 200 PanelLayoutManager* panel_layout_manager_;
197 201
198 scoped_ptr<SystemBackgroundController> system_background_; 202 scoped_ptr<SystemBackgroundController> system_background_;
199 scoped_ptr<BootSplashScreen> boot_splash_screen_; 203 scoped_ptr<BootSplashScreen> boot_splash_screen_;
200 204
201 scoped_ptr<ScreenDimmer> screen_dimmer_; 205 scoped_ptr<ScreenDimmer> screen_dimmer_;
202 scoped_ptr<WorkspaceController> workspace_controller_; 206 scoped_ptr<WorkspaceController> workspace_controller_;
203 207
204 // Heads-up display for touch events. The RootWindowController does not own 208 // Heads-up display for touch events. The RootWindowController does not own
205 // this HUD; its lifetime is managed by itself. 209 // this HUD; its lifetime is managed by itself.
206 TouchObserverHUD* touch_observer_hud_; 210 TouchObserverHUD* touch_observer_hud_;
207 211
208 // We need to own event handlers for various containers. 212 // We need to own event handlers for various containers.
209 scoped_ptr<ToplevelWindowEventHandler> default_container_handler_; 213 scoped_ptr<ToplevelWindowEventHandler> default_container_handler_;
210 scoped_ptr<ToplevelWindowEventHandler> always_on_top_container_handler_; 214 scoped_ptr<ToplevelWindowEventHandler> always_on_top_container_handler_;
211 scoped_ptr<ToplevelWindowEventHandler> modal_container_handler_; 215 scoped_ptr<ToplevelWindowEventHandler> modal_container_handler_;
212 scoped_ptr<ToplevelWindowEventHandler> lock_modal_container_handler_; 216 scoped_ptr<ToplevelWindowEventHandler> lock_modal_container_handler_;
213 scoped_ptr<ToplevelWindowEventHandler> panel_container_handler_; 217 scoped_ptr<ToplevelWindowEventHandler> panel_container_handler_;
218 scoped_ptr<ToplevelWindowEventHandler> dock_container_handler_;
214 219
215 DISALLOW_COPY_AND_ASSIGN(RootWindowController); 220 DISALLOW_COPY_AND_ASSIGN(RootWindowController);
216 }; 221 };
217 222
218 } // namespace internal 223 } // namespace internal
219 } // ash 224 } // ash
220 225
221 #endif // ASH_ROOT_WINDOW_CONTROLLER_H_ 226 #endif // ASH_ROOT_WINDOW_CONTROLLER_H_
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698