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/launcher/launcher_types.h" | 10 #include "ash/launcher/launcher_types.h" |
(...skipping 25 matching lines...) Expand all Loading... |
36 | 36 |
37 static ChromeShellDelegate* instance() { return instance_; } | 37 static ChromeShellDelegate* instance() { return instance_; } |
38 | 38 |
39 // ash::ShellDelegate overrides; | 39 // ash::ShellDelegate overrides; |
40 virtual bool IsFirstRunAfterBoot() const OVERRIDE; | 40 virtual bool IsFirstRunAfterBoot() const OVERRIDE; |
41 virtual bool IsMultiProfilesEnabled() const OVERRIDE; | 41 virtual bool IsMultiProfilesEnabled() const OVERRIDE; |
42 virtual bool IsRunningInForcedAppMode() const OVERRIDE; | 42 virtual bool IsRunningInForcedAppMode() const OVERRIDE; |
43 virtual void PreInit() OVERRIDE; | 43 virtual void PreInit() OVERRIDE; |
44 virtual void Shutdown() OVERRIDE; | 44 virtual void Shutdown() OVERRIDE; |
45 virtual void Exit() OVERRIDE; | 45 virtual void Exit() OVERRIDE; |
46 virtual void ToggleFullscreen() OVERRIDE; | |
47 virtual keyboard::KeyboardControllerProxy* | 46 virtual keyboard::KeyboardControllerProxy* |
48 CreateKeyboardControllerProxy() OVERRIDE; | 47 CreateKeyboardControllerProxy() OVERRIDE; |
49 virtual content::BrowserContext* GetCurrentBrowserContext() OVERRIDE; | 48 virtual content::BrowserContext* GetCurrentBrowserContext() OVERRIDE; |
50 virtual app_list::AppListViewDelegate* CreateAppListViewDelegate() OVERRIDE; | 49 virtual app_list::AppListViewDelegate* CreateAppListViewDelegate() OVERRIDE; |
51 virtual ash::LauncherDelegate* CreateLauncherDelegate( | 50 virtual ash::LauncherDelegate* CreateLauncherDelegate( |
52 ash::LauncherModel* model) OVERRIDE; | 51 ash::LauncherModel* model) OVERRIDE; |
53 virtual ash::SystemTrayDelegate* CreateSystemTrayDelegate() OVERRIDE; | 52 virtual ash::SystemTrayDelegate* CreateSystemTrayDelegate() OVERRIDE; |
54 virtual ash::UserWallpaperDelegate* CreateUserWallpaperDelegate() OVERRIDE; | 53 virtual ash::UserWallpaperDelegate* CreateUserWallpaperDelegate() OVERRIDE; |
55 virtual ash::CapsLockDelegate* CreateCapsLockDelegate() OVERRIDE; | 54 virtual ash::CapsLockDelegate* CreateCapsLockDelegate() OVERRIDE; |
56 virtual ash::SessionStateDelegate* CreateSessionStateDelegate() OVERRIDE; | 55 virtual ash::SessionStateDelegate* CreateSessionStateDelegate() OVERRIDE; |
(...skipping 19 matching lines...) Expand all Loading... |
76 static ChromeShellDelegate* instance_; | 75 static ChromeShellDelegate* instance_; |
77 | 76 |
78 content::NotificationRegistrar registrar_; | 77 content::NotificationRegistrar registrar_; |
79 | 78 |
80 ChromeLauncherController* launcher_delegate_; | 79 ChromeLauncherController* launcher_delegate_; |
81 | 80 |
82 DISALLOW_COPY_AND_ASSIGN(ChromeShellDelegate); | 81 DISALLOW_COPY_AND_ASSIGN(ChromeShellDelegate); |
83 }; | 82 }; |
84 | 83 |
85 #endif // CHROME_BROWSER_UI_ASH_CHROME_SHELL_DELEGATE_H_ | 84 #endif // CHROME_BROWSER_UI_ASH_CHROME_SHELL_DELEGATE_H_ |
OLD | NEW |