| Index: ash/aura/wm_shell_aura.h
|
| diff --git a/ash/aura/wm_shell_aura.h b/ash/aura/wm_shell_aura.h
|
| deleted file mode 100644
|
| index 4f7918b0fef8a460589b3b7940e48fa37929e1f9..0000000000000000000000000000000000000000
|
| --- a/ash/aura/wm_shell_aura.h
|
| +++ /dev/null
|
| @@ -1,102 +0,0 @@
|
| -// Copyright 2016 The Chromium Authors. All rights reserved.
|
| -// Use of this source code is governed by a BSD-style license that can be
|
| -// found in the LICENSE file.
|
| -
|
| -#ifndef ASH_AURA_WM_SHELL_AURA_H_
|
| -#define ASH_AURA_WM_SHELL_AURA_H_
|
| -
|
| -#include <memory>
|
| -
|
| -#include "ash/ash_export.h"
|
| -#include "ash/display/window_tree_host_manager.h"
|
| -#include "ash/wm_shell.h"
|
| -#include "base/macros.h"
|
| -#include "base/observer_list.h"
|
| -
|
| -namespace ash {
|
| -
|
| -class AcceleratorControllerDelegateAura;
|
| -class PointerWatcherAdapter;
|
| -
|
| -class ASH_EXPORT WmShellAura : public WmShell,
|
| - public WindowTreeHostManager::Observer {
|
| - public:
|
| - WmShellAura();
|
| - ~WmShellAura() override;
|
| -
|
| - static WmShellAura* Get();
|
| -
|
| - AcceleratorControllerDelegateAura* accelerator_controller_delegate() {
|
| - return accelerator_controller_delegate_.get();
|
| - }
|
| -
|
| - // WmShell:
|
| - void Shutdown() override;
|
| - bool IsRunningInMash() const override;
|
| - Config GetAshConfig() const override;
|
| - WmWindow* GetPrimaryRootWindow() override;
|
| - WmWindow* GetRootWindowForDisplayId(int64_t display_id) override;
|
| - const display::ManagedDisplayInfo& GetDisplayInfo(
|
| - int64_t display_id) const override;
|
| - bool IsActiveDisplayId(int64_t display_id) const override;
|
| - display::Display GetFirstDisplay() const override;
|
| - bool IsInUnifiedMode() const override;
|
| - bool IsInUnifiedModeIgnoreMirroring() const override;
|
| - void SetDisplayWorkAreaInsets(WmWindow* window,
|
| - const gfx::Insets& insets) override;
|
| - void LockCursor() override;
|
| - void UnlockCursor() override;
|
| - bool IsMouseEventsEnabled() override;
|
| - std::vector<WmWindow*> GetAllRootWindows() override;
|
| - void RecordGestureAction(GestureActionType action) override;
|
| - void RecordUserMetricsAction(UserMetricsAction action) override;
|
| - void RecordTaskSwitchMetric(TaskSwitchSource source) override;
|
| - std::unique_ptr<WindowResizer> CreateDragWindowResizer(
|
| - std::unique_ptr<WindowResizer> next_window_resizer,
|
| - wm::WindowState* window_state) override;
|
| - std::unique_ptr<WindowCycleEventFilter> CreateWindowCycleEventFilter()
|
| - override;
|
| - std::unique_ptr<wm::MaximizeModeEventHandler> CreateMaximizeModeEventHandler()
|
| - override;
|
| - std::unique_ptr<WorkspaceEventHandler> CreateWorkspaceEventHandler(
|
| - WmWindow* workspace_window) override;
|
| - std::unique_ptr<ScopedDisableInternalMouseAndKeyboard>
|
| - CreateScopedDisableInternalMouseAndKeyboard() override;
|
| - std::unique_ptr<ImmersiveFullscreenController>
|
| - CreateImmersiveFullscreenController() override;
|
| - std::unique_ptr<KeyboardUI> CreateKeyboardUI() override;
|
| - std::unique_ptr<KeyEventWatcher> CreateKeyEventWatcher() override;
|
| - SessionStateDelegate* GetSessionStateDelegate() override;
|
| - void AddDisplayObserver(WmDisplayObserver* observer) override;
|
| - void RemoveDisplayObserver(WmDisplayObserver* observer) override;
|
| - void AddPointerWatcher(views::PointerWatcher* watcher,
|
| - views::PointerWatcherEventTypes events) override;
|
| - void RemovePointerWatcher(views::PointerWatcher* watcher) override;
|
| - bool IsTouchDown() override;
|
| - void ToggleIgnoreExternalKeyboard() override;
|
| - void SetLaserPointerEnabled(bool enabled) override;
|
| - void SetPartialMagnifierEnabled(bool enabled) override;
|
| - void CreatePointerWatcherAdapter() override;
|
| - void CreatePrimaryHost() override;
|
| - void InitHosts(const ShellInitParams& init_params) override;
|
| - std::unique_ptr<AcceleratorController> CreateAcceleratorController() override;
|
| -
|
| - private:
|
| - // WindowTreeHostManager::Observer:
|
| - void OnDisplayConfigurationChanging() override;
|
| - void OnDisplayConfigurationChanged() override;
|
| -
|
| - std::unique_ptr<PointerWatcherAdapter> pointer_watcher_adapter_;
|
| -
|
| - bool added_display_observer_ = false;
|
| - base::ObserverList<WmDisplayObserver> display_observers_;
|
| -
|
| - std::unique_ptr<AcceleratorControllerDelegateAura>
|
| - accelerator_controller_delegate_;
|
| -
|
| - DISALLOW_COPY_AND_ASSIGN(WmShellAura);
|
| -};
|
| -
|
| -} // namespace ash
|
| -
|
| -#endif // ASH_AURA_WM_SHELL_AURA_H_
|
|
|