| 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_WM_SHELL_AURA_H_ | 5 #ifndef ASH_AURA_WM_SHELL_AURA_H_ |
| 6 #define ASH_AURA_WM_SHELL_AURA_H_ | 6 #define ASH_AURA_WM_SHELL_AURA_H_ |
| 7 | 7 |
| 8 #include <memory> | 8 #include <memory> |
| 9 | 9 |
| 10 #include "ash/ash_export.h" | 10 #include "ash/ash_export.h" |
| (...skipping 39 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 50 bool IsPinned() override; | 50 bool IsPinned() override; |
| 51 void SetPinnedWindow(WmWindow* window) override; | 51 void SetPinnedWindow(WmWindow* window) override; |
| 52 bool CanShowWindowForUser(WmWindow* window) override; | 52 bool CanShowWindowForUser(WmWindow* window) override; |
| 53 void LockCursor() override; | 53 void LockCursor() override; |
| 54 void UnlockCursor() override; | 54 void UnlockCursor() 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 void ShowContextMenu(const gfx::Point& location_in_screen, | |
| 61 ui::MenuSourceType source_type) override; | |
| 62 std::unique_ptr<WindowResizer> CreateDragWindowResizer( | 60 std::unique_ptr<WindowResizer> CreateDragWindowResizer( |
| 63 std::unique_ptr<WindowResizer> next_window_resizer, | 61 std::unique_ptr<WindowResizer> next_window_resizer, |
| 64 wm::WindowState* window_state) override; | 62 wm::WindowState* window_state) override; |
| 65 std::unique_ptr<WindowCycleEventFilter> CreateWindowCycleEventFilter() | 63 std::unique_ptr<WindowCycleEventFilter> CreateWindowCycleEventFilter() |
| 66 override; | 64 override; |
| 67 std::unique_ptr<wm::MaximizeModeEventHandler> CreateMaximizeModeEventHandler() | 65 std::unique_ptr<wm::MaximizeModeEventHandler> CreateMaximizeModeEventHandler() |
| 68 override; | 66 override; |
| 69 std::unique_ptr<WorkspaceEventHandler> CreateWorkspaceEventHandler( | 67 std::unique_ptr<WorkspaceEventHandler> CreateWorkspaceEventHandler( |
| 70 WmWindow* workspace_window) override; | 68 WmWindow* workspace_window) override; |
| 71 std::unique_ptr<ScopedDisableInternalMouseAndKeyboard> | 69 std::unique_ptr<ScopedDisableInternalMouseAndKeyboard> |
| (...skipping 35 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 107 | 105 |
| 108 bool added_display_observer_ = false; | 106 bool added_display_observer_ = false; |
| 109 base::ObserverList<WmDisplayObserver> display_observers_; | 107 base::ObserverList<WmDisplayObserver> display_observers_; |
| 110 | 108 |
| 111 DISALLOW_COPY_AND_ASSIGN(WmShellAura); | 109 DISALLOW_COPY_AND_ASSIGN(WmShellAura); |
| 112 }; | 110 }; |
| 113 | 111 |
| 114 } // namespace ash | 112 } // namespace ash |
| 115 | 113 |
| 116 #endif // ASH_AURA_WM_SHELL_AURA_H_ | 114 #endif // ASH_AURA_WM_SHELL_AURA_H_ |
| OLD | NEW |