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_MUS_SHELL_DELEGATE_MUS_H_ | 5 #ifndef ASH_MUS_SHELL_DELEGATE_MUS_H_ |
6 #define ASH_MUS_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 "ash/mus/app_list_presenter_mus.h" | 11 #include "ash/mus/app_list_presenter_mus.h" |
12 #include "base/macros.h" | 12 #include "base/macros.h" |
13 | 13 |
14 namespace service_manager { | 14 namespace service_manager { |
15 class Connector; | 15 class Connector; |
16 } | 16 } |
17 | 17 |
18 namespace ash { | 18 namespace ash { |
19 | 19 |
20 class ShellDelegateMus : public ShellDelegate { | 20 class ShellDelegateMus : public ShellDelegate { |
21 public: | 21 public: |
22 explicit ShellDelegateMus(service_manager::Connector* connector); | 22 explicit ShellDelegateMus(service_manager::Connector* connector); |
23 ~ShellDelegateMus() override; | 23 ~ShellDelegateMus() override; |
24 | 24 |
25 // ShellDelegate: | 25 // ShellDelegate: |
26 service_manager::Connector* GetShellConnector() const override; | 26 service_manager::Connector* GetShellConnector() const override; |
27 bool IsFirstRunAfterBoot() const override; | |
28 bool IsIncognitoAllowed() const override; | 27 bool IsIncognitoAllowed() const override; |
29 bool IsMultiProfilesEnabled() const override; | 28 bool IsMultiProfilesEnabled() const override; |
30 bool IsRunningInForcedAppMode() const override; | 29 bool IsRunningInForcedAppMode() const override; |
31 bool CanShowWindowForUser(WmWindow* window) const override; | 30 bool CanShowWindowForUser(WmWindow* window) const override; |
32 bool IsForceMaximizeOnFirstRun() const override; | 31 bool IsForceMaximizeOnFirstRun() const override; |
33 void PreInit() override; | 32 void PreInit() override; |
34 void PreShutdown() override; | 33 void PreShutdown() override; |
35 void Exit() override; | 34 void Exit() override; |
36 keyboard::KeyboardUI* CreateKeyboardUI() override; | 35 keyboard::KeyboardUI* CreateKeyboardUI() override; |
37 void OpenUrlFromArc(const GURL& url) override; | 36 void OpenUrlFromArc(const GURL& url) override; |
(...skipping 15 matching lines...) Expand all Loading... |
53 private: | 52 private: |
54 service_manager::Connector* connector_; | 53 service_manager::Connector* connector_; |
55 AppListPresenterMus app_list_presenter_; | 54 AppListPresenterMus app_list_presenter_; |
56 | 55 |
57 DISALLOW_COPY_AND_ASSIGN(ShellDelegateMus); | 56 DISALLOW_COPY_AND_ASSIGN(ShellDelegateMus); |
58 }; | 57 }; |
59 | 58 |
60 } // namespace ash | 59 } // namespace ash |
61 | 60 |
62 #endif // ASH_MUS_SHELL_DELEGATE_MUS_H_ | 61 #endif // ASH_MUS_SHELL_DELEGATE_MUS_H_ |
OLD | NEW |