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 CHROME_BROWSER_UI_ASH_CHROME_SHELL_DELEGATE_H_ | 5 #ifndef CHROME_BROWSER_UI_ASH_CHROME_SHELL_DELEGATE_H_ |
6 #define CHROME_BROWSER_UI_ASH_CHROME_SHELL_DELEGATE_H_ | 6 #define CHROME_BROWSER_UI_ASH_CHROME_SHELL_DELEGATE_H_ |
7 | 7 |
8 #include <string> | 8 #include <string> |
9 | 9 |
10 #include "ash/shelf/shelf_item_types.h" | 10 #include "ash/shelf/shelf_item_types.h" |
(...skipping 32 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
43 ChromeShellDelegate(); | 43 ChromeShellDelegate(); |
44 virtual ~ChromeShellDelegate(); | 44 virtual ~ChromeShellDelegate(); |
45 | 45 |
46 static ChromeShellDelegate* instance() { return instance_; } | 46 static ChromeShellDelegate* instance() { return instance_; } |
47 | 47 |
48 // ash::ShellDelegate overrides; | 48 // ash::ShellDelegate overrides; |
49 virtual bool IsFirstRunAfterBoot() const OVERRIDE; | 49 virtual bool IsFirstRunAfterBoot() const OVERRIDE; |
50 virtual bool IsMultiProfilesEnabled() const OVERRIDE; | 50 virtual bool IsMultiProfilesEnabled() const OVERRIDE; |
51 virtual bool IsIncognitoAllowed() const OVERRIDE; | 51 virtual bool IsIncognitoAllowed() const OVERRIDE; |
52 virtual bool IsRunningInForcedAppMode() const OVERRIDE; | 52 virtual bool IsRunningInForcedAppMode() const OVERRIDE; |
| 53 virtual bool IsAccountManagementEnabled() const OVERRIDE; |
53 virtual void PreInit() OVERRIDE; | 54 virtual void PreInit() OVERRIDE; |
54 virtual void Shutdown() OVERRIDE; | 55 virtual void Shutdown() OVERRIDE; |
55 virtual void Exit() OVERRIDE; | 56 virtual void Exit() OVERRIDE; |
56 virtual keyboard::KeyboardControllerProxy* | 57 virtual keyboard::KeyboardControllerProxy* |
57 CreateKeyboardControllerProxy() OVERRIDE; | 58 CreateKeyboardControllerProxy() OVERRIDE; |
58 virtual content::BrowserContext* GetActiveBrowserContext() OVERRIDE; | 59 virtual content::BrowserContext* GetActiveBrowserContext() OVERRIDE; |
59 virtual app_list::AppListViewDelegate* CreateAppListViewDelegate() OVERRIDE; | 60 virtual app_list::AppListViewDelegate* CreateAppListViewDelegate() OVERRIDE; |
60 virtual ash::ShelfDelegate* CreateShelfDelegate( | 61 virtual ash::ShelfDelegate* CreateShelfDelegate( |
61 ash::ShelfModel* model) OVERRIDE; | 62 ash::ShelfModel* model) OVERRIDE; |
62 virtual ash::SystemTrayDelegate* CreateSystemTrayDelegate() OVERRIDE; | 63 virtual ash::SystemTrayDelegate* CreateSystemTrayDelegate() OVERRIDE; |
(...skipping 26 matching lines...) Expand all Loading... |
89 | 90 |
90 #if defined(OS_CHROMEOS) | 91 #if defined(OS_CHROMEOS) |
91 scoped_ptr<chromeos::DisplayConfigurationObserver> | 92 scoped_ptr<chromeos::DisplayConfigurationObserver> |
92 display_configuration_observer_; | 93 display_configuration_observer_; |
93 #endif | 94 #endif |
94 | 95 |
95 DISALLOW_COPY_AND_ASSIGN(ChromeShellDelegate); | 96 DISALLOW_COPY_AND_ASSIGN(ChromeShellDelegate); |
96 }; | 97 }; |
97 | 98 |
98 #endif // CHROME_BROWSER_UI_ASH_CHROME_SHELL_DELEGATE_H_ | 99 #endif // CHROME_BROWSER_UI_ASH_CHROME_SHELL_DELEGATE_H_ |
OLD | NEW |