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_SHELL_SHELL_DELEGATE_IMPL_H_ | 5 #ifndef ASH_SHELL_SHELL_DELEGATE_IMPL_H_ |
6 #define ASH_SHELL_SHELL_DELEGATE_IMPL_H_ | 6 #define ASH_SHELL_SHELL_DELEGATE_IMPL_H_ |
7 | 7 |
8 #include <string> | 8 #include <string> |
9 | 9 |
10 #include "ash/shell_delegate.h" | 10 #include "ash/shell_delegate.h" |
(...skipping 21 matching lines...) Expand all Loading... |
32 void SetWatcher(WindowWatcher* watcher); | 32 void SetWatcher(WindowWatcher* watcher); |
33 void set_browser_context(content::BrowserContext* browser_context) { | 33 void set_browser_context(content::BrowserContext* browser_context) { |
34 browser_context_ = browser_context; | 34 browser_context_ = browser_context; |
35 } | 35 } |
36 | 36 |
37 virtual bool IsFirstRunAfterBoot() const OVERRIDE; | 37 virtual bool IsFirstRunAfterBoot() const OVERRIDE; |
38 virtual bool IsIncognitoAllowed() const OVERRIDE; | 38 virtual bool IsIncognitoAllowed() const OVERRIDE; |
39 virtual bool IsMultiProfilesEnabled() const OVERRIDE; | 39 virtual bool IsMultiProfilesEnabled() const OVERRIDE; |
40 virtual bool IsRunningInForcedAppMode() const OVERRIDE; | 40 virtual bool IsRunningInForcedAppMode() const OVERRIDE; |
41 virtual void PreInit() OVERRIDE; | 41 virtual void PreInit() OVERRIDE; |
42 virtual void Shutdown() OVERRIDE; | 42 virtual void PreShutdown() OVERRIDE; |
43 virtual void Exit() OVERRIDE; | 43 virtual void Exit() OVERRIDE; |
44 virtual keyboard::KeyboardControllerProxy* | 44 virtual keyboard::KeyboardControllerProxy* |
45 CreateKeyboardControllerProxy() OVERRIDE; | 45 CreateKeyboardControllerProxy() OVERRIDE; |
46 virtual content::BrowserContext* GetActiveBrowserContext() OVERRIDE; | 46 virtual content::BrowserContext* GetActiveBrowserContext() OVERRIDE; |
47 virtual app_list::AppListViewDelegate* CreateAppListViewDelegate() OVERRIDE; | 47 virtual app_list::AppListViewDelegate* CreateAppListViewDelegate() OVERRIDE; |
48 virtual ShelfDelegate* CreateShelfDelegate(ShelfModel* model) OVERRIDE; | 48 virtual ShelfDelegate* CreateShelfDelegate(ShelfModel* model) OVERRIDE; |
49 virtual ash::SystemTrayDelegate* CreateSystemTrayDelegate() OVERRIDE; | 49 virtual ash::SystemTrayDelegate* CreateSystemTrayDelegate() OVERRIDE; |
50 virtual ash::UserWallpaperDelegate* CreateUserWallpaperDelegate() OVERRIDE; | 50 virtual ash::UserWallpaperDelegate* CreateUserWallpaperDelegate() OVERRIDE; |
51 virtual ash::SessionStateDelegate* CreateSessionStateDelegate() OVERRIDE; | 51 virtual ash::SessionStateDelegate* CreateSessionStateDelegate() OVERRIDE; |
52 virtual ash::AccessibilityDelegate* CreateAccessibilityDelegate() OVERRIDE; | 52 virtual ash::AccessibilityDelegate* CreateAccessibilityDelegate() OVERRIDE; |
(...skipping 14 matching lines...) Expand all Loading... |
67 ShelfDelegateImpl* shelf_delegate_; | 67 ShelfDelegateImpl* shelf_delegate_; |
68 content::BrowserContext* browser_context_; | 68 content::BrowserContext* browser_context_; |
69 | 69 |
70 DISALLOW_COPY_AND_ASSIGN(ShellDelegateImpl); | 70 DISALLOW_COPY_AND_ASSIGN(ShellDelegateImpl); |
71 }; | 71 }; |
72 | 72 |
73 } // namespace shell | 73 } // namespace shell |
74 } // namespace ash | 74 } // namespace ash |
75 | 75 |
76 #endif // ASH_SHELL_SHELL_DELEGATE_IMPL_H_ | 76 #endif // ASH_SHELL_SHELL_DELEGATE_IMPL_H_ |
OLD | NEW |