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 <string> | 8 #include <string> |
9 | 9 |
10 #include "ash/shell_delegate.h" | 10 #include "ash/shell_delegate.h" |
(...skipping 17 matching lines...) Expand all Loading... |
28 void set_multi_profiles_enabled(bool multi_profiles_enabled) { | 28 void set_multi_profiles_enabled(bool multi_profiles_enabled) { |
29 multi_profiles_enabled_ = multi_profiles_enabled; | 29 multi_profiles_enabled_ = multi_profiles_enabled; |
30 } | 30 } |
31 | 31 |
32 // Overridden from ShellDelegate: | 32 // Overridden from ShellDelegate: |
33 virtual bool IsFirstRunAfterBoot() const OVERRIDE; | 33 virtual bool IsFirstRunAfterBoot() const OVERRIDE; |
34 virtual bool IsIncognitoAllowed() const OVERRIDE; | 34 virtual bool IsIncognitoAllowed() const OVERRIDE; |
35 virtual bool IsMultiProfilesEnabled() const OVERRIDE; | 35 virtual bool IsMultiProfilesEnabled() const OVERRIDE; |
36 virtual bool IsRunningInForcedAppMode() const OVERRIDE; | 36 virtual bool IsRunningInForcedAppMode() const OVERRIDE; |
37 virtual void PreInit() OVERRIDE; | 37 virtual void PreInit() OVERRIDE; |
38 virtual void Shutdown() OVERRIDE; | 38 virtual void PreShutdown() OVERRIDE; |
39 virtual void Exit() OVERRIDE; | 39 virtual void Exit() OVERRIDE; |
40 virtual keyboard::KeyboardControllerProxy* | 40 virtual keyboard::KeyboardControllerProxy* |
41 CreateKeyboardControllerProxy() OVERRIDE; | 41 CreateKeyboardControllerProxy() OVERRIDE; |
42 virtual content::BrowserContext* GetActiveBrowserContext() OVERRIDE; | 42 virtual content::BrowserContext* GetActiveBrowserContext() OVERRIDE; |
43 virtual app_list::AppListViewDelegate* CreateAppListViewDelegate() OVERRIDE; | 43 virtual app_list::AppListViewDelegate* CreateAppListViewDelegate() OVERRIDE; |
44 virtual ShelfDelegate* CreateShelfDelegate(ShelfModel* model) OVERRIDE; | 44 virtual ShelfDelegate* CreateShelfDelegate(ShelfModel* model) OVERRIDE; |
45 virtual SystemTrayDelegate* CreateSystemTrayDelegate() OVERRIDE; | 45 virtual SystemTrayDelegate* CreateSystemTrayDelegate() OVERRIDE; |
46 virtual UserWallpaperDelegate* CreateUserWallpaperDelegate() OVERRIDE; | 46 virtual UserWallpaperDelegate* CreateUserWallpaperDelegate() OVERRIDE; |
47 virtual SessionStateDelegate* CreateSessionStateDelegate() OVERRIDE; | 47 virtual SessionStateDelegate* CreateSessionStateDelegate() OVERRIDE; |
48 virtual AccessibilityDelegate* CreateAccessibilityDelegate() OVERRIDE; | 48 virtual AccessibilityDelegate* CreateAccessibilityDelegate() OVERRIDE; |
(...skipping 19 matching lines...) Expand all Loading... |
68 | 68 |
69 TestSessionStateDelegate* test_session_state_delegate_; // Not owned. | 69 TestSessionStateDelegate* test_session_state_delegate_; // Not owned. |
70 | 70 |
71 DISALLOW_COPY_AND_ASSIGN(TestShellDelegate); | 71 DISALLOW_COPY_AND_ASSIGN(TestShellDelegate); |
72 }; | 72 }; |
73 | 73 |
74 } // namespace test | 74 } // namespace test |
75 } // namespace ash | 75 } // namespace ash |
76 | 76 |
77 #endif // ASH_TEST_TEST_SHELL_DELEGATE_H_ | 77 #endif // ASH_TEST_TEST_SHELL_DELEGATE_H_ |
OLD | NEW |