| 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 27 matching lines...) Expand all Loading... |
| 38 bool IsActiveDisplayId(int64_t display_id) const override; | 38 bool IsActiveDisplayId(int64_t display_id) const override; |
| 39 bool IsForceMaximizeOnFirstRun() override; | 39 bool IsForceMaximizeOnFirstRun() override; |
| 40 bool IsPinned() override; | 40 bool IsPinned() override; |
| 41 void SetPinnedWindow(WmWindow* window) override; | 41 void SetPinnedWindow(WmWindow* window) override; |
| 42 bool CanShowWindowForUser(WmWindow* window) override; | 42 bool CanShowWindowForUser(WmWindow* window) override; |
| 43 void LockCursor() override; | 43 void LockCursor() override; |
| 44 void UnlockCursor() override; | 44 void UnlockCursor() override; |
| 45 std::vector<WmWindow*> GetAllRootWindows() override; | 45 std::vector<WmWindow*> GetAllRootWindows() override; |
| 46 void RecordUserMetricsAction(UserMetricsAction action) override; | 46 void RecordUserMetricsAction(UserMetricsAction action) override; |
| 47 void RecordTaskSwitchMetric(TaskSwitchSource source) override; | 47 void RecordTaskSwitchMetric(TaskSwitchSource source) override; |
| 48 void ShowContextMenu(const gfx::Point& location_in_screen, |
| 49 ui::MenuSourceType source_type) override; |
| 48 std::unique_ptr<WindowResizer> CreateDragWindowResizer( | 50 std::unique_ptr<WindowResizer> CreateDragWindowResizer( |
| 49 std::unique_ptr<WindowResizer> next_window_resizer, | 51 std::unique_ptr<WindowResizer> next_window_resizer, |
| 50 wm::WindowState* window_state) override; | 52 wm::WindowState* window_state) override; |
| 51 std::unique_ptr<WindowCycleEventFilter> CreateWindowCycleEventFilter() | 53 std::unique_ptr<WindowCycleEventFilter> CreateWindowCycleEventFilter() |
| 52 override; | 54 override; |
| 53 std::unique_ptr<wm::MaximizeModeEventHandler> CreateMaximizeModeEventHandler() | 55 std::unique_ptr<wm::MaximizeModeEventHandler> CreateMaximizeModeEventHandler() |
| 54 override; | 56 override; |
| 55 std::unique_ptr<ScopedDisableInternalMouseAndKeyboard> | 57 std::unique_ptr<ScopedDisableInternalMouseAndKeyboard> |
| 56 CreateScopedDisableInternalMouseAndKeyboard() override; | 58 CreateScopedDisableInternalMouseAndKeyboard() override; |
| 57 void OnOverviewModeStarting() override; | 59 void OnOverviewModeStarting() override; |
| (...skipping 27 matching lines...) Expand all Loading... |
| 85 | 87 |
| 86 bool added_display_observer_ = false; | 88 bool added_display_observer_ = false; |
| 87 base::ObserverList<WmDisplayObserver> display_observers_; | 89 base::ObserverList<WmDisplayObserver> display_observers_; |
| 88 | 90 |
| 89 DISALLOW_COPY_AND_ASSIGN(WmShellAura); | 91 DISALLOW_COPY_AND_ASSIGN(WmShellAura); |
| 90 }; | 92 }; |
| 91 | 93 |
| 92 } // namespace ash | 94 } // namespace ash |
| 93 | 95 |
| 94 #endif // ASH_AURA_WM_SHELL_AURA_H_ | 96 #endif // ASH_AURA_WM_SHELL_AURA_H_ |
| OLD | NEW |