| 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 33 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 44 | 44 |
| 45 ash::WindowPositioner* window_positioner() { | 45 ash::WindowPositioner* window_positioner() { |
| 46 return window_positioner_.get(); | 46 return window_positioner_.get(); |
| 47 } | 47 } |
| 48 | 48 |
| 49 // ash::ShellDelegate overrides; | 49 // ash::ShellDelegate overrides; |
| 50 virtual bool IsUserLoggedIn() const OVERRIDE; | 50 virtual bool IsUserLoggedIn() const OVERRIDE; |
| 51 virtual bool IsSessionStarted() const OVERRIDE; | 51 virtual bool IsSessionStarted() const OVERRIDE; |
| 52 virtual bool IsGuestSession() const OVERRIDE; | 52 virtual bool IsGuestSession() const OVERRIDE; |
| 53 virtual bool IsFirstRunAfterBoot() const OVERRIDE; | 53 virtual bool IsFirstRunAfterBoot() const OVERRIDE; |
| 54 virtual bool IsMultiProfilesEnabled() const OVERRIDE; |
| 54 virtual bool IsRunningInForcedAppMode() const OVERRIDE; | 55 virtual bool IsRunningInForcedAppMode() const OVERRIDE; |
| 55 virtual bool CanLockScreen() const OVERRIDE; | 56 virtual bool CanLockScreen() const OVERRIDE; |
| 56 virtual void LockScreen() OVERRIDE; | 57 virtual void LockScreen() OVERRIDE; |
| 57 virtual void UnlockScreen() OVERRIDE; | 58 virtual void UnlockScreen() OVERRIDE; |
| 58 virtual bool IsScreenLocked() const OVERRIDE; | 59 virtual bool IsScreenLocked() const OVERRIDE; |
| 59 virtual void PreInit() OVERRIDE; | 60 virtual void PreInit() OVERRIDE; |
| 60 virtual void Shutdown() OVERRIDE; | 61 virtual void Shutdown() OVERRIDE; |
| 61 virtual void Exit() OVERRIDE; | 62 virtual void Exit() OVERRIDE; |
| 62 virtual void NewTab() OVERRIDE; | 63 virtual void NewTab() OVERRIDE; |
| 63 virtual void NewWindow(bool is_incognito) OVERRIDE; | 64 virtual void NewWindow(bool is_incognito) OVERRIDE; |
| (...skipping 57 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 121 scoped_ptr<ash::WindowPositioner> window_positioner_; | 122 scoped_ptr<ash::WindowPositioner> window_positioner_; |
| 122 | 123 |
| 123 base::WeakPtrFactory<ChromeShellDelegate> weak_factory_; | 124 base::WeakPtrFactory<ChromeShellDelegate> weak_factory_; |
| 124 | 125 |
| 125 ChromeLauncherController* launcher_delegate_; | 126 ChromeLauncherController* launcher_delegate_; |
| 126 | 127 |
| 127 DISALLOW_COPY_AND_ASSIGN(ChromeShellDelegate); | 128 DISALLOW_COPY_AND_ASSIGN(ChromeShellDelegate); |
| 128 }; | 129 }; |
| 129 | 130 |
| 130 #endif // CHROME_BROWSER_UI_ASH_CHROME_SHELL_DELEGATE_H_ | 131 #endif // CHROME_BROWSER_UI_ASH_CHROME_SHELL_DELEGATE_H_ |
| OLD | NEW |