| Index: ash/common/wm_shell.h
|
| diff --git a/ash/common/wm_shell.h b/ash/common/wm_shell.h
|
| index 2adc80dcccb75225fb24e7d9b28f6c13e1e4b299..a00d4b6a3efd57d4b1aab36276c1e7755f16b0b3 100644
|
| --- a/ash/common/wm_shell.h
|
| +++ b/ash/common/wm_shell.h
|
| @@ -77,7 +77,6 @@ class ShelfModel;
|
| class ShelfWindowWatcher;
|
| class ShellDelegate;
|
| struct ShellInitParams;
|
| -class ShellObserver;
|
| class ShutdownController;
|
| class SystemTrayDelegate;
|
| class SystemTrayController;
|
| @@ -364,56 +363,15 @@ class ASH_EXPORT WmShell : public SessionStateObserver,
|
|
|
| void CreateShelfDelegate();
|
|
|
| - // Called after maximize mode has started, windows might still animate though.
|
| - void OnMaximizeModeStarted();
|
| -
|
| - // Called after maximize mode is about to end.
|
| - void OnMaximizeModeEnding();
|
| -
|
| - // Called after maximize mode has ended, windows might still be returning to
|
| - // their original position.
|
| - void OnMaximizeModeEnded();
|
| -
|
| - // Called when the overview mode is about to be started (before the windows
|
| - // get re-arranged).
|
| - virtual void OnOverviewModeStarting() = 0;
|
| -
|
| - // Called after overview mode has ended.
|
| - virtual void OnOverviewModeEnded() = 0;
|
| -
|
| // Called when the login status changes.
|
| // TODO(oshima): Investigate if we can merge this and |OnLoginStateChanged|.
|
| void UpdateAfterLoginStatusChange(LoginStatus status);
|
|
|
| - // Notify observers that fullscreen mode has changed for |root_window|.
|
| - void NotifyFullscreenStateChanged(bool is_fullscreen, WmWindow* root_window);
|
| -
|
| - // Notify observers that |pinned_window| changed its pinned window state.
|
| - void NotifyPinnedStateChanged(WmWindow* pinned_window);
|
| -
|
| - // Notify observers that the virtual keyboard has been activated/deactivated.
|
| - void NotifyVirtualKeyboardActivated(bool activated);
|
| -
|
| - // Notify observers that the shelf was created for |root_window|.
|
| - // TODO(jamescook): Move to Shelf.
|
| - void NotifyShelfCreatedForRootWindow(WmWindow* root_window);
|
| -
|
| - // Notify observers that |root_window|'s shelf changed auto-hide alignment.
|
| - // TODO(jamescook): Move to Shelf.
|
| - void NotifyShelfAlignmentChanged(WmWindow* root_window);
|
| -
|
| - // Notify observers that |root_window|'s shelf changed auto-hide behavior.
|
| - // TODO(jamescook): Move to Shelf.
|
| - void NotifyShelfAutoHideBehaviorChanged(WmWindow* root_window);
|
| -
|
| virtual SessionStateDelegate* GetSessionStateDelegate() = 0;
|
|
|
| virtual void AddDisplayObserver(WmDisplayObserver* observer) = 0;
|
| virtual void RemoveDisplayObserver(WmDisplayObserver* observer) = 0;
|
|
|
| - void AddShellObserver(ShellObserver* observer);
|
| - void RemoveShellObserver(ShellObserver* observer);
|
| -
|
| // If |events| is PointerWatcherEventTypes::MOVES,
|
| // PointerWatcher::OnPointerEventObserved() is called for pointer move events.
|
| // If |events| is PointerWatcherEventTypes::DRAGS,
|
| @@ -455,10 +413,6 @@ class ASH_EXPORT WmShell : public SessionStateObserver,
|
| virtual void CreatePrimaryHost() = 0;
|
| virtual void InitHosts(const ShellInitParams& init_params) = 0;
|
|
|
| - base::ObserverList<ShellObserver>* shell_observers() {
|
| - return &shell_observers_;
|
| - }
|
| -
|
| void SetKeyboardUI(std::unique_ptr<KeyboardUI> keyboard_ui);
|
|
|
| // Helpers to set (and initialize) or destroy various delegates.
|
| @@ -497,7 +451,6 @@ class ASH_EXPORT WmShell : public SessionStateObserver,
|
|
|
| static WmShell* instance_;
|
|
|
| - base::ObserverList<ShellObserver> shell_observers_;
|
| std::unique_ptr<ShellDelegate> delegate_;
|
|
|
| scoped_refptr<preferences::PrefClientStore> pref_store_;
|
|
|