Lines Matching refs:Shell
5 #include "ash/shell.h"
135 // This dummy class is used for shell unit tests. We dont have chrome delegate
155 ash::Shell::GetInstance()->desktop_background_controller()->
197 Shell* Shell::instance_ = NULL;
199 bool Shell::initially_hide_cursor_ = false;
202 // Shell, public:
204 Shell::Shell(ShellDelegate* delegate)
249 Shell::~Shell() {
271 // TooltipController is deleted with the Shell so removing its references.
296 // These need a valid Shell instance to clean up properly, so explicitly
353 Shell* Shell::CreateInstance(ShellDelegate* delegate) {
355 instance_ = new Shell(delegate);
361 Shell* Shell::GetInstance() {
367 bool Shell::HasInstance() {
372 void Shell::DeleteInstance() {
378 internal::RootWindowController* Shell::GetPrimaryRootWindowController() {
383 Shell::RootWindowControllerList Shell::GetAllRootWindowControllers() {
384 return Shell::GetInstance()->display_controller()->
389 aura::RootWindow* Shell::GetPrimaryRootWindow() {
394 aura::RootWindow* Shell::GetActiveRootWindow() {
395 Shell* shell = GetInstance();
396 if (shell->scoped_target_root_window_)
397 return shell->scoped_target_root_window_;
398 return shell->target_root_window_;
402 gfx::Screen* Shell::GetScreen() {
407 Shell::RootWindowList Shell::GetAllRootWindows() {
408 return Shell::GetInstance()->display_controller()->
413 aura::Window* Shell::GetContainer(aura::RootWindow* root_window,
419 const aura::Window* Shell::GetContainer(const aura::RootWindow* root_window,
425 std::vector<aura::Window*> Shell::GetContainersFromAllRootWindows(
444 bool Shell::IsForcedMaximizeMode() {
449 void Shell::Init() {
603 // StatusAreaWidget uses Shell's CapsLockDelegate.
655 void Shell::ShowContextMenu(const gfx::Point& location_in_screen,
677 void Shell::ToggleAppList(aura::Window* window) {
686 bool Shell::GetAppListTargetVisibility() const {
691 aura::Window* Shell::GetAppListWindow() {
695 bool Shell::IsSystemModalWindowOpen() const {
713 views::NonClientFrameView* Shell::CreateDefaultNonClientFrameView(
721 void Shell::RotateFocus(Direction direction) {
727 void Shell::SetDisplayWorkAreaInsets(Window* contains,
737 void Shell::OnLoginStateChanged(user::LoginStatus status) {
741 void Shell::UpdateAfterLoginStatusChange(user::LoginStatus status) {
748 void Shell::OnAppTerminating() {
752 void Shell::OnLockStateChanged(bool locked) {
768 void Shell::CreateLauncher() {
775 void Shell::ShowLauncher() {
782 void Shell::AddShellObserver(ShellObserver* observer) {
786 void Shell::RemoveShellObserver(ShellObserver* observer) {
790 void Shell::UpdateShelfVisibility() {
798 void Shell::SetShelfAutoHideBehavior(ShelfAutoHideBehavior behavior,
804 ShelfAutoHideBehavior Shell::GetShelfAutoHideBehavior(
810 void Shell::SetShelfAlignment(ShelfAlignment alignment,
819 ShelfAlignment Shell::GetShelfAlignment(aura::RootWindow* root_window) {
824 void Shell::SetDimming(bool should_dim) {
831 void Shell::CreateModalBackground(aura::Window* window) {
842 void Shell::OnModalWindowRemoved(aura::Window* removed) {
859 WebNotificationTray* Shell::GetWebNotificationTray() {
864 bool Shell::HasPrimaryStatusArea() {
869 SystemTray* Shell::GetPrimarySystemTray() {
873 LauncherDelegate* Shell::GetLauncherDelegate() {
882 void Shell::SetTouchHudProjectionEnabled(bool enabled) {
891 void Shell::InitRootWindowForSecondaryDisplay(aura::RootWindow* root) {
908 if (Shell::GetInstance()->session_state_delegate()->NumberOfLoggedInUsers())
912 void Shell::DoInitialWorkspaceAnimation() {
917 void Shell::InitRootWindowController(
958 // Shell, private:
960 bool Shell::CanWindowReceiveEvents(aura::Window* window) {
973 // Shell, ui::EventTarget overrides:
975 bool Shell::CanAcceptEvent(const ui::Event& event) {
979 ui::EventTarget* Shell::GetParentTarget() {
983 void Shell::OnEvent(ui::Event* event) {
987 // Shell, aura::client::ActivationChangeObserver implementation:
989 void Shell::OnWindowActivated(aura::Window* gained_active,