| OLD | NEW |
| 1 // Copyright 2016 The Chromium Authors. All rights reserved. | 1 // Copyright 2016 The Chromium Authors. All rights reserved. |
| 2 // Use of this source code is governed by a BSD-style license that can be | 2 // Use of this source code is governed by a BSD-style license that can be |
| 3 // found in the LICENSE file. | 3 // found in the LICENSE file. |
| 4 | 4 |
| 5 #ifndef ASH_AURA_SHELL_PORT_CLASSIC_H_ | 5 #ifndef ASH_AURA_SHELL_PORT_CLASSIC_H_ |
| 6 #define ASH_AURA_SHELL_PORT_CLASSIC_H_ | 6 #define ASH_AURA_SHELL_PORT_CLASSIC_H_ |
| 7 | 7 |
| 8 #include <memory> | 8 #include <memory> |
| 9 | 9 |
| 10 #include "ash/ash_export.h" | 10 #include "ash/ash_export.h" |
| (...skipping 25 matching lines...) Expand all Loading... |
| 36 void Shutdown() override; | 36 void Shutdown() override; |
| 37 Config GetAshConfig() const override; | 37 Config GetAshConfig() const override; |
| 38 aura::Window* GetPrimaryRootWindow() override; | 38 aura::Window* GetPrimaryRootWindow() override; |
| 39 aura::Window* GetRootWindowForDisplayId(int64_t display_id) override; | 39 aura::Window* GetRootWindowForDisplayId(int64_t display_id) override; |
| 40 const display::ManagedDisplayInfo& GetDisplayInfo( | 40 const display::ManagedDisplayInfo& GetDisplayInfo( |
| 41 int64_t display_id) const override; | 41 int64_t display_id) const override; |
| 42 bool IsActiveDisplayId(int64_t display_id) const override; | 42 bool IsActiveDisplayId(int64_t display_id) const override; |
| 43 display::Display GetFirstDisplay() const override; | 43 display::Display GetFirstDisplay() const override; |
| 44 bool IsInUnifiedMode() const override; | 44 bool IsInUnifiedMode() const override; |
| 45 bool IsInUnifiedModeIgnoreMirroring() const override; | 45 bool IsInUnifiedModeIgnoreMirroring() const override; |
| 46 void SetDisplayWorkAreaInsets(WmWindow* window, | 46 void SetDisplayWorkAreaInsets(aura::Window* window, |
| 47 const gfx::Insets& insets) override; | 47 const gfx::Insets& insets) override; |
| 48 std::unique_ptr<display::TouchTransformSetter> CreateTouchTransformDelegate() | 48 std::unique_ptr<display::TouchTransformSetter> CreateTouchTransformDelegate() |
| 49 override; | 49 override; |
| 50 void LockCursor() override; | 50 void LockCursor() override; |
| 51 void UnlockCursor() override; | 51 void UnlockCursor() override; |
| 52 void ShowCursor() override; | 52 void ShowCursor() override; |
| 53 void HideCursor() override; | 53 void HideCursor() override; |
| 54 void SetGlobalOverrideCursor(base::Optional<ui::CursorData> cursor) override; | 54 void SetGlobalOverrideCursor(base::Optional<ui::CursorData> cursor) override; |
| 55 bool IsMouseEventsEnabled() override; | 55 bool IsMouseEventsEnabled() override; |
| 56 std::vector<WmWindow*> GetAllRootWindows() override; | 56 std::vector<WmWindow*> GetAllRootWindows() override; |
| 57 void RecordGestureAction(GestureActionType action) override; | 57 void RecordGestureAction(GestureActionType action) override; |
| 58 void RecordUserMetricsAction(UserMetricsAction action) override; | 58 void RecordUserMetricsAction(UserMetricsAction action) override; |
| 59 void RecordTaskSwitchMetric(TaskSwitchSource source) override; | 59 void RecordTaskSwitchMetric(TaskSwitchSource source) override; |
| 60 std::unique_ptr<WindowResizer> CreateDragWindowResizer( | 60 std::unique_ptr<WindowResizer> CreateDragWindowResizer( |
| 61 std::unique_ptr<WindowResizer> next_window_resizer, | 61 std::unique_ptr<WindowResizer> next_window_resizer, |
| 62 wm::WindowState* window_state) override; | 62 wm::WindowState* window_state) override; |
| 63 std::unique_ptr<WindowCycleEventFilter> CreateWindowCycleEventFilter() | 63 std::unique_ptr<WindowCycleEventFilter> CreateWindowCycleEventFilter() |
| 64 override; | 64 override; |
| 65 std::unique_ptr<wm::TabletModeEventHandler> CreateTabletModeEventHandler() | 65 std::unique_ptr<wm::TabletModeEventHandler> CreateTabletModeEventHandler() |
| 66 override; | 66 override; |
| 67 std::unique_ptr<WorkspaceEventHandler> CreateWorkspaceEventHandler( | 67 std::unique_ptr<WorkspaceEventHandler> CreateWorkspaceEventHandler( |
| 68 WmWindow* workspace_window) override; | 68 aura::Window* workspace_window) override; |
| 69 std::unique_ptr<ScopedDisableInternalMouseAndKeyboard> | 69 std::unique_ptr<ScopedDisableInternalMouseAndKeyboard> |
| 70 CreateScopedDisableInternalMouseAndKeyboard() override; | 70 CreateScopedDisableInternalMouseAndKeyboard() override; |
| 71 std::unique_ptr<ImmersiveFullscreenController> | 71 std::unique_ptr<ImmersiveFullscreenController> |
| 72 CreateImmersiveFullscreenController() override; | 72 CreateImmersiveFullscreenController() override; |
| 73 std::unique_ptr<KeyboardUI> CreateKeyboardUI() override; | 73 std::unique_ptr<KeyboardUI> CreateKeyboardUI() override; |
| 74 std::unique_ptr<KeyEventWatcher> CreateKeyEventWatcher() override; | 74 std::unique_ptr<KeyEventWatcher> CreateKeyEventWatcher() override; |
| 75 SessionStateDelegate* GetSessionStateDelegate() override; | 75 SessionStateDelegate* GetSessionStateDelegate() override; |
| 76 void AddDisplayObserver(WmDisplayObserver* observer) override; | 76 void AddDisplayObserver(WmDisplayObserver* observer) override; |
| 77 void RemoveDisplayObserver(WmDisplayObserver* observer) override; | 77 void RemoveDisplayObserver(WmDisplayObserver* observer) override; |
| 78 void AddPointerWatcher(views::PointerWatcher* watcher, | 78 void AddPointerWatcher(views::PointerWatcher* watcher, |
| (...skipping 26 matching lines...) Expand all Loading... |
| 105 | 105 |
| 106 std::unique_ptr<AcceleratorControllerDelegateAura> | 106 std::unique_ptr<AcceleratorControllerDelegateAura> |
| 107 accelerator_controller_delegate_; | 107 accelerator_controller_delegate_; |
| 108 | 108 |
| 109 DISALLOW_COPY_AND_ASSIGN(ShellPortClassic); | 109 DISALLOW_COPY_AND_ASSIGN(ShellPortClassic); |
| 110 }; | 110 }; |
| 111 | 111 |
| 112 } // namespace ash | 112 } // namespace ash |
| 113 | 113 |
| 114 #endif // ASH_AURA_SHELL_PORT_CLASSIC_H_ | 114 #endif // ASH_AURA_SHELL_PORT_CLASSIC_H_ |
| OLD | NEW |