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 30 matching lines...) Expand all Loading... |
41 // ash::ShellDelegate overrides; | 41 // ash::ShellDelegate overrides; |
42 virtual bool IsUserLoggedIn() const OVERRIDE; | 42 virtual bool IsUserLoggedIn() const OVERRIDE; |
43 virtual bool IsSessionStarted() const OVERRIDE; | 43 virtual bool IsSessionStarted() const OVERRIDE; |
44 virtual bool IsGuestSession() const OVERRIDE; | 44 virtual bool IsGuestSession() const OVERRIDE; |
45 virtual bool IsFirstRunAfterBoot() const OVERRIDE; | 45 virtual bool IsFirstRunAfterBoot() const OVERRIDE; |
46 virtual bool IsRunningInForcedAppMode() const OVERRIDE; | 46 virtual bool IsRunningInForcedAppMode() const OVERRIDE; |
47 virtual bool CanLockScreen() const OVERRIDE; | 47 virtual bool CanLockScreen() const OVERRIDE; |
48 virtual void LockScreen() OVERRIDE; | 48 virtual void LockScreen() OVERRIDE; |
49 virtual void UnlockScreen() OVERRIDE; | 49 virtual void UnlockScreen() OVERRIDE; |
50 virtual bool IsScreenLocked() const OVERRIDE; | 50 virtual bool IsScreenLocked() const OVERRIDE; |
| 51 virtual void OnPreInit() OVERRIDE; |
51 virtual void Shutdown() OVERRIDE; | 52 virtual void Shutdown() OVERRIDE; |
52 virtual void Exit() OVERRIDE; | 53 virtual void Exit() OVERRIDE; |
53 virtual void NewTab() OVERRIDE; | 54 virtual void NewTab() OVERRIDE; |
54 virtual void NewWindow(bool is_incognito) OVERRIDE; | 55 virtual void NewWindow(bool is_incognito) OVERRIDE; |
55 virtual void ToggleMaximized() OVERRIDE; | 56 virtual void ToggleMaximized() OVERRIDE; |
56 virtual void OpenFileManager(bool as_dialog) OVERRIDE; | 57 virtual void OpenFileManager(bool as_dialog) OVERRIDE; |
57 virtual void OpenCrosh() OVERRIDE; | 58 virtual void OpenCrosh() OVERRIDE; |
58 virtual void OpenMobileSetup(const std::string& service_path) OVERRIDE; | 59 virtual void OpenMobileSetup(const std::string& service_path) OVERRIDE; |
59 virtual void RestoreTab() OVERRIDE; | 60 virtual void RestoreTab() OVERRIDE; |
60 virtual bool RotatePaneFocus(ash::Shell::Direction direction) OVERRIDE; | 61 virtual bool RotatePaneFocus(ash::Shell::Direction direction) OVERRIDE; |
(...skipping 49 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
110 scoped_ptr<ash::WindowPositioner> window_positioner_; | 111 scoped_ptr<ash::WindowPositioner> window_positioner_; |
111 | 112 |
112 base::WeakPtrFactory<ChromeShellDelegate> weak_factory_; | 113 base::WeakPtrFactory<ChromeShellDelegate> weak_factory_; |
113 | 114 |
114 ChromeLauncherController* launcher_delegate_; | 115 ChromeLauncherController* launcher_delegate_; |
115 | 116 |
116 DISALLOW_COPY_AND_ASSIGN(ChromeShellDelegate); | 117 DISALLOW_COPY_AND_ASSIGN(ChromeShellDelegate); |
117 }; | 118 }; |
118 | 119 |
119 #endif // CHROME_BROWSER_UI_ASH_CHROME_SHELL_DELEGATE_H_ | 120 #endif // CHROME_BROWSER_UI_ASH_CHROME_SHELL_DELEGATE_H_ |
OLD | NEW |