summaryrefslogtreecommitdiffstats
path: root/ash/shell.h
diff options
context:
space:
mode:
authoroshima@chromium.org <oshima@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2012-10-12 18:42:28 +0000
committeroshima@chromium.org <oshima@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2012-10-12 18:42:28 +0000
commite74aaf0a48777b12034c1ececef2524657c82c44 (patch)
tree13d41592b4ba35a26fdacf7545c2b37cd0f2e4cb /ash/shell.h
parent65fe8465f1e5a95645c13edcc24cd5c8992b0bf3 (diff)
downloadchromium_src-e74aaf0a48777b12034c1ececef2524657c82c44.zip
chromium_src-e74aaf0a48777b12034c1ececef2524657c82c44.tar.gz
chromium_src-e74aaf0a48777b12034c1ececef2524657c82c44.tar.bz2
Move shelf/launcher/status_area_widget/panel_layout_manager to RootWindowController
This is just preparation to create launchers on all displays. BUG=145978 TEST=none Review URL: https://chromiumcodereview.appspot.com/11093050 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@161621 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'ash/shell.h')
-rw-r--r--ash/shell.h26
1 files changed, 7 insertions, 19 deletions
diff --git a/ash/shell.h b/ash/shell.h
index a7365d8..5200854 100644
--- a/ash/shell.h
+++ b/ash/shell.h
@@ -90,7 +90,6 @@ class MagnificationController;
class MouseCursorEventFilter;
class OutputConfiguratorAnimation;
class OverlayEventFilter;
-class PanelLayoutManager;
class ResizeShadowController;
class RootWindowController;
class RootWindowLayoutManager;
@@ -182,6 +181,9 @@ class ASH_EXPORT Shell : CursorDelegate,
// all root windows.
static std::vector<aura::Window*> GetAllContainers(int container_id);
+ // True if "launcher per display" feature is enabled.
+ static bool IsLauncherPerDisplayEnabled();
+
void set_active_root_window(aura::RootWindow* active_root_window) {
active_root_window_ = active_root_window;
}
@@ -307,7 +309,8 @@ class ASH_EXPORT Shell : CursorDelegate,
return magnification_controller_.get();
}
- Launcher* launcher() { return launcher_.get(); }
+ // TODO(oshima): Remove methods that are moved to RootWindowController.
+ Launcher* launcher();
const ScreenAsh* screen() { return screen_; }
@@ -334,11 +337,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_;
- }
+ internal::StatusAreaWidget* status_area_widget() const;
// Convenience accessor for members of StatusAreaWidget.
SystemTrayDelegate* tray_delegate();
@@ -432,8 +433,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::StackingController> stacking_controller_;
@@ -492,19 +491,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_;