| 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 16 matching lines...) Expand all Loading... |
| 27 static WmShellAura* Get(); | 27 static WmShellAura* Get(); |
| 28 | 28 |
| 29 AcceleratorControllerDelegateAura* accelerator_controller_delegate() { | 29 AcceleratorControllerDelegateAura* accelerator_controller_delegate() { |
| 30 return accelerator_controller_delegate_.get(); | 30 return accelerator_controller_delegate_.get(); |
| 31 } | 31 } |
| 32 | 32 |
| 33 // WmShell: | 33 // WmShell: |
| 34 void Shutdown() override; | 34 void Shutdown() override; |
| 35 bool IsRunningInMash() const override; | 35 bool IsRunningInMash() const override; |
| 36 Config GetConfig() const override; | 36 Config GetConfig() const override; |
| 37 WmWindow* GetFocusedWindow() override; | |
| 38 WmWindow* GetActiveWindow() override; | |
| 39 WmWindow* GetCaptureWindow() override; | |
| 40 WmWindow* GetPrimaryRootWindow() override; | 37 WmWindow* GetPrimaryRootWindow() override; |
| 41 WmWindow* GetRootWindowForDisplayId(int64_t display_id) override; | 38 WmWindow* GetRootWindowForDisplayId(int64_t display_id) override; |
| 42 const display::ManagedDisplayInfo& GetDisplayInfo( | 39 const display::ManagedDisplayInfo& GetDisplayInfo( |
| 43 int64_t display_id) const override; | 40 int64_t display_id) const override; |
| 44 bool IsActiveDisplayId(int64_t display_id) const override; | 41 bool IsActiveDisplayId(int64_t display_id) const override; |
| 45 display::Display GetFirstDisplay() const override; | 42 display::Display GetFirstDisplay() const override; |
| 46 bool IsInUnifiedMode() const override; | 43 bool IsInUnifiedMode() const override; |
| 47 bool IsInUnifiedModeIgnoreMirroring() const override; | 44 bool IsInUnifiedModeIgnoreMirroring() const override; |
| 48 void SetDisplayWorkAreaInsets(WmWindow* window, | 45 void SetDisplayWorkAreaInsets(WmWindow* window, |
| 49 const gfx::Insets& insets) override; | 46 const gfx::Insets& insets) override; |
| (...skipping 46 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 96 | 93 |
| 97 std::unique_ptr<AcceleratorControllerDelegateAura> | 94 std::unique_ptr<AcceleratorControllerDelegateAura> |
| 98 accelerator_controller_delegate_; | 95 accelerator_controller_delegate_; |
| 99 | 96 |
| 100 DISALLOW_COPY_AND_ASSIGN(WmShellAura); | 97 DISALLOW_COPY_AND_ASSIGN(WmShellAura); |
| 101 }; | 98 }; |
| 102 | 99 |
| 103 } // namespace ash | 100 } // namespace ash |
| 104 | 101 |
| 105 #endif // ASH_AURA_WM_SHELL_AURA_H_ | 102 #endif // ASH_AURA_WM_SHELL_AURA_H_ |
| OLD | NEW |