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

Unified Diff: ash/shell.h

Issue 11093050: Move shelf/launcher/status_area_widget/panel_layout_manager to RootWindowController (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: 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 side-by-side diff with in-line comments
Download patch
« no previous file with comments | « ash/root_window_controller.cc ('k') | ash/shell.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: ash/shell.h
diff --git a/ash/shell.h b/ash/shell.h
index ef869bf447ce7138e5f0c7e43a6d7d99518f4a23..f14373aebc302680c4cbf862c8cfd7312b45f356 100644
--- a/ash/shell.h
+++ b/ash/shell.h
@@ -89,7 +89,6 @@ class MagnificationController;
class MouseCursorEventFilter;
class OutputConfiguratorAnimation;
class OverlayEventFilter;
-class PanelLayoutManager;
class ResizeShadowController;
class RootWindowController;
class RootWindowLayoutManager;
@@ -180,6 +179,9 @@ class ASH_EXPORT Shell : CursorDelegate,
// all root windows.
static std::vector<aura::Window*> GetAllContainers(int container_id);
+ // True if multiple launchers is enabled.
+ static bool IsMultipleLaunchersEnabled();
+
void set_active_root_window(aura::RootWindow* active_root_window) {
active_root_window_ = active_root_window;
}
@@ -304,7 +306,7 @@ class ASH_EXPORT Shell : CursorDelegate,
return magnification_controller_.get();
}
- Launcher* launcher() { return launcher_.get(); }
+ Launcher* launcher();
const ScreenAsh* screen() { return screen_; }
@@ -331,11 +333,9 @@ class ASH_EXPORT Shell : CursorDelegate,
void OnModalWindowRemoved(aura::Window* removed);
// TODO(sky): don't expose this!
- internal::ShelfLayoutManager* shelf() const { return shelf_; }
+ internal::ShelfLayoutManager* shelf() const;
- internal::StatusAreaWidget* status_area_widget() const {
- return status_area_widget_;
- }
oshima 2012/10/10 22:39:19 Methods whose body have been moved to RootWindowCo
+ internal::StatusAreaWidget* status_area_widget() const;
// Convenience accessor for members of StatusAreaWidget.
SystemTrayDelegate* tray_delegate();
@@ -429,8 +429,6 @@ class ASH_EXPORT Shell : CursorDelegate,
scoped_ptr<UserWallpaperDelegate> user_wallpaper_delegate_;
scoped_ptr<CapsLockDelegate> caps_lock_delegate_;
- scoped_ptr<Launcher> launcher_;
-
scoped_ptr<internal::AppListController> app_list_controller_;
scoped_ptr<internal::ShellContextMenu> shell_context_menu_;
@@ -489,19 +487,8 @@ class ASH_EXPORT Shell : CursorDelegate,
CursorManager cursor_manager_;
- // The shelf for managing the launcher and the status widget in non-compact
- // mode. Shell does not own the shelf. Instead, it is owned by container of
- // the status area.
- internal::ShelfLayoutManager* shelf_;
-
- // Manages layout of panels. Owned by PanelContainer.
- internal::PanelLayoutManager* panel_layout_manager_;
-
ObserverList<ShellObserver> observers_;
- // Widget containing system tray.
- internal::StatusAreaWidget* status_area_widget_;
-
// Used by ash/shell.
content::BrowserContext* browser_context_;
« no previous file with comments | « ash/root_window_controller.cc ('k') | ash/shell.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698