| 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 15 matching lines...) Expand all Loading... |
| 26 | 26 |
| 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 WmWindow* GetFocusedWindow() override; | 37 WmWindow* GetFocusedWindow() override; |
| 37 WmWindow* GetActiveWindow() override; | 38 WmWindow* GetActiveWindow() override; |
| 38 WmWindow* GetCaptureWindow() override; | 39 WmWindow* GetCaptureWindow() override; |
| 39 WmWindow* GetPrimaryRootWindow() override; | 40 WmWindow* GetPrimaryRootWindow() override; |
| 40 WmWindow* GetRootWindowForDisplayId(int64_t display_id) override; | 41 WmWindow* GetRootWindowForDisplayId(int64_t display_id) override; |
| 41 const display::ManagedDisplayInfo& GetDisplayInfo( | 42 const display::ManagedDisplayInfo& GetDisplayInfo( |
| 42 int64_t display_id) const override; | 43 int64_t display_id) const override; |
| 43 bool IsActiveDisplayId(int64_t display_id) const override; | 44 bool IsActiveDisplayId(int64_t display_id) const override; |
| 44 display::Display GetFirstDisplay() const override; | 45 display::Display GetFirstDisplay() const override; |
| 45 bool IsInUnifiedMode() const override; | 46 bool IsInUnifiedMode() const override; |
| (...skipping 51 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 97 | 98 |
| 98 std::unique_ptr<AcceleratorControllerDelegateAura> | 99 std::unique_ptr<AcceleratorControllerDelegateAura> |
| 99 accelerator_controller_delegate_; | 100 accelerator_controller_delegate_; |
| 100 | 101 |
| 101 DISALLOW_COPY_AND_ASSIGN(WmShellAura); | 102 DISALLOW_COPY_AND_ASSIGN(WmShellAura); |
| 102 }; | 103 }; |
| 103 | 104 |
| 104 } // namespace ash | 105 } // namespace ash |
| 105 | 106 |
| 106 #endif // ASH_AURA_WM_SHELL_AURA_H_ | 107 #endif // ASH_AURA_WM_SHELL_AURA_H_ |
| OLD | NEW |