| 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_WM_AURA_WM_GLOBALS_AURA_H_ | 5 #ifndef ASH_WM_AURA_WM_GLOBALS_AURA_H_ |
| 6 #define ASH_WM_AURA_WM_GLOBALS_AURA_H_ | 6 #define ASH_WM_AURA_WM_GLOBALS_AURA_H_ |
| 7 | 7 |
| 8 #include <set> | 8 #include <set> |
| 9 | 9 |
| 10 #include "ash/ash_export.h" | 10 #include "ash/ash_export.h" |
| (...skipping 18 matching lines...) Expand all Loading... |
| 29 | 29 |
| 30 static WmGlobalsAura* Get(); | 30 static WmGlobalsAura* Get(); |
| 31 | 31 |
| 32 // WmGlobals: | 32 // WmGlobals: |
| 33 WmWindow* GetFocusedWindow() override; | 33 WmWindow* GetFocusedWindow() override; |
| 34 WmWindow* GetActiveWindow() override; | 34 WmWindow* GetActiveWindow() override; |
| 35 WmWindow* GetRootWindowForDisplayId(int64_t display_id) override; | 35 WmWindow* GetRootWindowForDisplayId(int64_t display_id) override; |
| 36 WmWindow* GetRootWindowForNewWindows() override; | 36 WmWindow* GetRootWindowForNewWindows() override; |
| 37 std::vector<WmWindow*> GetMruWindowListIgnoreModals() override; | 37 std::vector<WmWindow*> GetMruWindowListIgnoreModals() override; |
| 38 bool IsForceMaximizeOnFirstRun() override; | 38 bool IsForceMaximizeOnFirstRun() override; |
| 39 bool IsUserSessionBlocked() override; |
| 39 bool IsScreenLocked() override; | 40 bool IsScreenLocked() override; |
| 40 void LockCursor() override; | 41 void LockCursor() override; |
| 41 void UnlockCursor() override; | 42 void UnlockCursor() override; |
| 42 std::vector<WmWindow*> GetAllRootWindows() override; | 43 std::vector<WmWindow*> GetAllRootWindows() override; |
| 43 void RecordUserMetricsAction(WmUserMetricsAction action) override; | 44 void RecordUserMetricsAction(WmUserMetricsAction action) override; |
| 44 std::unique_ptr<WindowResizer> CreateDragWindowResizer( | 45 std::unique_ptr<WindowResizer> CreateDragWindowResizer( |
| 45 std::unique_ptr<WindowResizer> next_window_resizer, | 46 std::unique_ptr<WindowResizer> next_window_resizer, |
| 46 wm::WindowState* window_state) override; | 47 wm::WindowState* window_state) override; |
| 47 bool IsOverviewModeSelecting() override; | 48 bool IsOverviewModeSelecting() override; |
| 48 bool IsOverviewModeRestoringMinimizedWindows() override; | 49 bool IsOverviewModeRestoringMinimizedWindows() override; |
| (...skipping 25 matching lines...) Expand all Loading... |
| 74 | 75 |
| 75 base::ObserverList<WmOverviewModeObserver> overview_mode_observers_; | 76 base::ObserverList<WmOverviewModeObserver> overview_mode_observers_; |
| 76 | 77 |
| 77 DISALLOW_COPY_AND_ASSIGN(WmGlobalsAura); | 78 DISALLOW_COPY_AND_ASSIGN(WmGlobalsAura); |
| 78 }; | 79 }; |
| 79 | 80 |
| 80 } // namespace wm | 81 } // namespace wm |
| 81 } // namespace ash | 82 } // namespace ash |
| 82 | 83 |
| 83 #endif // ASH_WM_AURA_WM_GLOBALS_AURA_H_ | 84 #endif // ASH_WM_AURA_WM_GLOBALS_AURA_H_ |
| OLD | NEW |