| 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 11 matching lines...) Expand all Loading... |
| 22 public: | 22 public: |
| 23 explicit WmShellAura(std::unique_ptr<ShellDelegate> shell_delegate); | 23 explicit WmShellAura(std::unique_ptr<ShellDelegate> shell_delegate); |
| 24 ~WmShellAura() override; | 24 ~WmShellAura() override; |
| 25 | 25 |
| 26 static WmShellAura* Get(); | 26 static WmShellAura* Get(); |
| 27 | 27 |
| 28 | 28 |
| 29 // WmShell: | 29 // WmShell: |
| 30 void Shutdown() override; | 30 void Shutdown() override; |
| 31 bool IsRunningInMash() const override; | 31 bool IsRunningInMash() const override; |
| 32 WmWindow* NewWindow(ui::wm::WindowType window_type, | |
| 33 ui::LayerType layer_type) override; | |
| 34 WmWindow* GetFocusedWindow() override; | 32 WmWindow* GetFocusedWindow() override; |
| 35 WmWindow* GetActiveWindow() override; | 33 WmWindow* GetActiveWindow() override; |
| 36 WmWindow* GetCaptureWindow() override; | 34 WmWindow* GetCaptureWindow() override; |
| 37 WmWindow* GetPrimaryRootWindow() override; | 35 WmWindow* GetPrimaryRootWindow() override; |
| 38 WmWindow* GetRootWindowForDisplayId(int64_t display_id) override; | 36 WmWindow* GetRootWindowForDisplayId(int64_t display_id) override; |
| 39 const display::ManagedDisplayInfo& GetDisplayInfo( | 37 const display::ManagedDisplayInfo& GetDisplayInfo( |
| 40 int64_t display_id) const override; | 38 int64_t display_id) const override; |
| 41 bool IsActiveDisplayId(int64_t display_id) const override; | 39 bool IsActiveDisplayId(int64_t display_id) const override; |
| 42 display::Display GetFirstDisplay() const override; | 40 display::Display GetFirstDisplay() const override; |
| 43 bool IsInUnifiedMode() const override; | 41 bool IsInUnifiedMode() const override; |
| (...skipping 49 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 93 | 91 |
| 94 bool added_display_observer_ = false; | 92 bool added_display_observer_ = false; |
| 95 base::ObserverList<WmDisplayObserver> display_observers_; | 93 base::ObserverList<WmDisplayObserver> display_observers_; |
| 96 | 94 |
| 97 DISALLOW_COPY_AND_ASSIGN(WmShellAura); | 95 DISALLOW_COPY_AND_ASSIGN(WmShellAura); |
| 98 }; | 96 }; |
| 99 | 97 |
| 100 } // namespace ash | 98 } // namespace ash |
| 101 | 99 |
| 102 #endif // ASH_AURA_WM_SHELL_AURA_H_ | 100 #endif // ASH_AURA_WM_SHELL_AURA_H_ |
| OLD | NEW |