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_SYSUI_SHELL_DELEGATE_MUS_H_ | 5 #ifndef ASH_MUS_SHELL_DELEGATE_MUS_H_ |
6 #define ASH_SYSUI_SHELL_DELEGATE_MUS_H_ | 6 #define ASH_MUS_SHELL_DELEGATE_MUS_H_ |
7 | 7 |
8 #include <memory> | 8 #include <memory> |
9 | 9 |
10 #include "ash/common/shell_delegate.h" | 10 #include "ash/common/shell_delegate.h" |
11 #include "base/macros.h" | 11 #include "base/macros.h" |
12 | 12 |
13 namespace keyboard { | 13 namespace app_list { |
14 class KeyboardUI; | 14 class AppListPresenter; |
15 } | 15 } |
16 | 16 |
17 namespace ash { | 17 namespace ash { |
18 | 18 |
19 class AppListPresenterMus; | |
20 | |
21 namespace sysui { | |
22 | |
23 class ShellDelegateMus : public ShellDelegate { | 19 class ShellDelegateMus : public ShellDelegate { |
24 public: | 20 public: |
25 explicit ShellDelegateMus(std::unique_ptr<AppListPresenterMus>); | 21 explicit ShellDelegateMus( |
| 22 std::unique_ptr<app_list::AppListPresenter> app_list_presenter); |
26 ~ShellDelegateMus() override; | 23 ~ShellDelegateMus() override; |
27 | 24 |
28 bool IsFirstRunAfterBoot() const override; | 25 bool IsFirstRunAfterBoot() const override; |
29 bool IsIncognitoAllowed() const override; | 26 bool IsIncognitoAllowed() const override; |
30 bool IsMultiProfilesEnabled() const override; | 27 bool IsMultiProfilesEnabled() const override; |
31 bool IsRunningInForcedAppMode() const override; | 28 bool IsRunningInForcedAppMode() const override; |
32 bool CanShowWindowForUser(WmWindow* window) const override; | 29 bool CanShowWindowForUser(WmWindow* window) const override; |
33 bool IsForceMaximizeOnFirstRun() const override; | 30 bool IsForceMaximizeOnFirstRun() const override; |
34 void PreInit() override; | 31 void PreInit() override; |
35 void PreShutdown() override; | 32 void PreShutdown() override; |
(...skipping 15 matching lines...) Expand all Loading... |
51 GPUSupport* CreateGPUSupport() override; | 48 GPUSupport* CreateGPUSupport() override; |
52 base::string16 GetProductName() const override; | 49 base::string16 GetProductName() const override; |
53 gfx::Image GetDeprecatedAcceleratorImage() const override; | 50 gfx::Image GetDeprecatedAcceleratorImage() const override; |
54 | 51 |
55 private: | 52 private: |
56 std::unique_ptr<app_list::AppListPresenter> app_list_presenter_; | 53 std::unique_ptr<app_list::AppListPresenter> app_list_presenter_; |
57 | 54 |
58 DISALLOW_COPY_AND_ASSIGN(ShellDelegateMus); | 55 DISALLOW_COPY_AND_ASSIGN(ShellDelegateMus); |
59 }; | 56 }; |
60 | 57 |
61 } // namespace sysui | |
62 } // namespace ash | 58 } // namespace ash |
63 | 59 |
64 #endif // ASH_SYSUI_SHELL_DELEGATE_MUS_H_ | 60 #endif // ASH_MUS_SHELL_DELEGATE_MUS_H_ |
OLD | NEW |