| OLD | NEW |
| 1 // Copyright (c) 2012 The Chromium Authors. All rights reserved. | 1 // Copyright (c) 2012 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_TEST_TEST_SHELL_DELEGATE_H_ | 5 #ifndef ASH_TEST_TEST_SHELL_DELEGATE_H_ |
| 6 #define ASH_TEST_TEST_SHELL_DELEGATE_H_ | 6 #define ASH_TEST_TEST_SHELL_DELEGATE_H_ |
| 7 | 7 |
| 8 #include <memory> | 8 #include <memory> |
| 9 #include <string> | 9 #include <string> |
| 10 | 10 |
| (...skipping 17 matching lines...) Expand all Loading... |
| 28 class TestShellDelegate : public ShellDelegate { | 28 class TestShellDelegate : public ShellDelegate { |
| 29 public: | 29 public: |
| 30 TestShellDelegate(); | 30 TestShellDelegate(); |
| 31 ~TestShellDelegate() override; | 31 ~TestShellDelegate() override; |
| 32 | 32 |
| 33 void set_multi_profiles_enabled(bool multi_profiles_enabled) { | 33 void set_multi_profiles_enabled(bool multi_profiles_enabled) { |
| 34 multi_profiles_enabled_ = multi_profiles_enabled; | 34 multi_profiles_enabled_ = multi_profiles_enabled; |
| 35 } | 35 } |
| 36 | 36 |
| 37 // Overridden from ShellDelegate: | 37 // Overridden from ShellDelegate: |
| 38 ::shell::Connector* GetShellConnector() const override; | 38 ::service_manager::Connector* GetShellConnector() const override; |
| 39 bool IsFirstRunAfterBoot() const override; | 39 bool IsFirstRunAfterBoot() const override; |
| 40 bool IsIncognitoAllowed() const override; | 40 bool IsIncognitoAllowed() const override; |
| 41 bool IsMultiProfilesEnabled() const override; | 41 bool IsMultiProfilesEnabled() const override; |
| 42 bool IsRunningInForcedAppMode() const override; | 42 bool IsRunningInForcedAppMode() const override; |
| 43 bool CanShowWindowForUser(WmWindow* window) const override; | 43 bool CanShowWindowForUser(WmWindow* window) const override; |
| 44 bool IsForceMaximizeOnFirstRun() const override; | 44 bool IsForceMaximizeOnFirstRun() const override; |
| 45 void PreInit() override; | 45 void PreInit() override; |
| 46 void PreShutdown() override; | 46 void PreShutdown() override; |
| 47 void Exit() override; | 47 void Exit() override; |
| 48 keyboard::KeyboardUI* CreateKeyboardUI() override; | 48 keyboard::KeyboardUI* CreateKeyboardUI() override; |
| (...skipping 33 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 82 app_list_presenter_delegate_factory_; | 82 app_list_presenter_delegate_factory_; |
| 83 std::unique_ptr<app_list::AppListPresenterImpl> app_list_presenter_; | 83 std::unique_ptr<app_list::AppListPresenterImpl> app_list_presenter_; |
| 84 | 84 |
| 85 DISALLOW_COPY_AND_ASSIGN(TestShellDelegate); | 85 DISALLOW_COPY_AND_ASSIGN(TestShellDelegate); |
| 86 }; | 86 }; |
| 87 | 87 |
| 88 } // namespace test | 88 } // namespace test |
| 89 } // namespace ash | 89 } // namespace ash |
| 90 | 90 |
| 91 #endif // ASH_TEST_TEST_SHELL_DELEGATE_H_ | 91 #endif // ASH_TEST_TEST_SHELL_DELEGATE_H_ |
| OLD | NEW |