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 12 matching lines...) Expand all Loading... |
23 public aura::client::ActivationChangeObserver, | 23 public aura::client::ActivationChangeObserver, |
24 public WindowTreeHostManager::Observer, | 24 public WindowTreeHostManager::Observer, |
25 public ShellObserver { | 25 public ShellObserver { |
26 public: | 26 public: |
27 WmGlobalsAura(); | 27 WmGlobalsAura(); |
28 ~WmGlobalsAura() override; | 28 ~WmGlobalsAura() override; |
29 | 29 |
30 static WmGlobalsAura* Get(); | 30 static WmGlobalsAura* Get(); |
31 | 31 |
32 // WmGlobals: | 32 // WmGlobals: |
| 33 WmWindow* NewContainerWindow() override; |
33 WmWindow* GetFocusedWindow() override; | 34 WmWindow* GetFocusedWindow() override; |
34 WmWindow* GetActiveWindow() override; | 35 WmWindow* GetActiveWindow() override; |
35 WmWindow* GetPrimaryRootWindow() override; | 36 WmWindow* GetPrimaryRootWindow() override; |
36 WmWindow* GetRootWindowForDisplayId(int64_t display_id) override; | 37 WmWindow* GetRootWindowForDisplayId(int64_t display_id) override; |
37 WmWindow* GetRootWindowForNewWindows() override; | 38 WmWindow* GetRootWindowForNewWindows() override; |
38 std::vector<WmWindow*> GetMruWindowList() override; | 39 std::vector<WmWindow*> GetMruWindowList() override; |
39 std::vector<WmWindow*> GetMruWindowListIgnoreModals() override; | 40 std::vector<WmWindow*> GetMruWindowListIgnoreModals() override; |
40 bool IsForceMaximizeOnFirstRun() override; | 41 bool IsForceMaximizeOnFirstRun() override; |
41 bool IsUserSessionBlocked() override; | 42 bool IsUserSessionBlocked() override; |
42 bool IsScreenLocked() override; | 43 bool IsScreenLocked() override; |
(...skipping 37 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
80 | 81 |
81 base::ObserverList<WmOverviewModeObserver> overview_mode_observers_; | 82 base::ObserverList<WmOverviewModeObserver> overview_mode_observers_; |
82 | 83 |
83 DISALLOW_COPY_AND_ASSIGN(WmGlobalsAura); | 84 DISALLOW_COPY_AND_ASSIGN(WmGlobalsAura); |
84 }; | 85 }; |
85 | 86 |
86 } // namespace wm | 87 } // namespace wm |
87 } // namespace ash | 88 } // namespace ash |
88 | 89 |
89 #endif // ASH_WM_AURA_WM_GLOBALS_AURA_H_ | 90 #endif // ASH_WM_AURA_WM_GLOBALS_AURA_H_ |
OLD | NEW |