Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(643)

Side by Side Diff: ash/test/test_shell_delegate.h

Issue 2420253002: Rename shell namespace to service_manager (Closed)
Patch Set: . Created 4 years, 2 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch
« no previous file with comments | « ash/shell/shell_delegate_impl.cc ('k') | ash/test/test_shell_delegate.cc » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
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
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
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_
OLDNEW
« no previous file with comments | « ash/shell/shell_delegate_impl.cc ('k') | ash/test/test_shell_delegate.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698