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

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: re-added launcher.h This seems to be removed from other header it is including. 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 a7365d822e4ca8c54089ac76f22e475f1576ca0a..52008541f8a0277687b772f956ba806653b7ab66 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_;
« 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