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 33 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
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 void PreInit() OVERRIDE; | 53 virtual void PreInit() OVERRIDE; |
54 virtual void Shutdown() OVERRIDE; | 54 virtual void PreShutdown() OVERRIDE; |
55 virtual void Exit() OVERRIDE; | 55 virtual void Exit() OVERRIDE; |
56 virtual keyboard::KeyboardControllerProxy* | 56 virtual keyboard::KeyboardControllerProxy* |
57 CreateKeyboardControllerProxy() OVERRIDE; | 57 CreateKeyboardControllerProxy() OVERRIDE; |
58 virtual content::BrowserContext* GetActiveBrowserContext() OVERRIDE; | 58 virtual content::BrowserContext* GetActiveBrowserContext() OVERRIDE; |
59 virtual app_list::AppListViewDelegate* CreateAppListViewDelegate() OVERRIDE; | 59 virtual app_list::AppListViewDelegate* CreateAppListViewDelegate() OVERRIDE; |
60 virtual ash::ShelfDelegate* CreateShelfDelegate( | 60 virtual ash::ShelfDelegate* CreateShelfDelegate( |
61 ash::ShelfModel* model) OVERRIDE; | 61 ash::ShelfModel* model) OVERRIDE; |
62 virtual ash::SystemTrayDelegate* CreateSystemTrayDelegate() OVERRIDE; | 62 virtual ash::SystemTrayDelegate* CreateSystemTrayDelegate() OVERRIDE; |
63 virtual ash::UserWallpaperDelegate* CreateUserWallpaperDelegate() OVERRIDE; | 63 virtual ash::UserWallpaperDelegate* CreateUserWallpaperDelegate() OVERRIDE; |
64 virtual ash::SessionStateDelegate* CreateSessionStateDelegate() OVERRIDE; | 64 virtual ash::SessionStateDelegate* CreateSessionStateDelegate() OVERRIDE; |
(...skipping 24 matching lines...) Expand all Loading... |
89 | 89 |
90 #if defined(OS_CHROMEOS) | 90 #if defined(OS_CHROMEOS) |
91 scoped_ptr<chromeos::DisplayConfigurationObserver> | 91 scoped_ptr<chromeos::DisplayConfigurationObserver> |
92 display_configuration_observer_; | 92 display_configuration_observer_; |
93 #endif | 93 #endif |
94 | 94 |
95 DISALLOW_COPY_AND_ASSIGN(ChromeShellDelegate); | 95 DISALLOW_COPY_AND_ASSIGN(ChromeShellDelegate); |
96 }; | 96 }; |
97 | 97 |
98 #endif // CHROME_BROWSER_UI_ASH_CHROME_SHELL_DELEGATE_H_ | 98 #endif // CHROME_BROWSER_UI_ASH_CHROME_SHELL_DELEGATE_H_ |
OLD | NEW |