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 ASH_SHELL_SHELL_DELEGATE_IMPL_H_ | 5 #ifndef ASH_SHELL_SHELL_DELEGATE_IMPL_H_ |
6 #define ASH_SHELL_SHELL_DELEGATE_IMPL_H_ | 6 #define ASH_SHELL_SHELL_DELEGATE_IMPL_H_ |
7 | 7 |
8 #include <string> | 8 #include <string> |
9 | 9 |
10 #include "ash/shell_delegate.h" | 10 #include "ash/shell_delegate.h" |
(...skipping 14 matching lines...) Expand all Loading... |
25 | 25 |
26 virtual bool IsUserLoggedIn() const OVERRIDE; | 26 virtual bool IsUserLoggedIn() const OVERRIDE; |
27 virtual bool IsSessionStarted() const OVERRIDE; | 27 virtual bool IsSessionStarted() const OVERRIDE; |
28 virtual bool IsGuestSession() const OVERRIDE; | 28 virtual bool IsGuestSession() const OVERRIDE; |
29 virtual bool IsFirstRunAfterBoot() const OVERRIDE; | 29 virtual bool IsFirstRunAfterBoot() const OVERRIDE; |
30 virtual bool IsRunningInForcedAppMode() const OVERRIDE; | 30 virtual bool IsRunningInForcedAppMode() const OVERRIDE; |
31 virtual bool CanLockScreen() const OVERRIDE; | 31 virtual bool CanLockScreen() const OVERRIDE; |
32 virtual void LockScreen() OVERRIDE; | 32 virtual void LockScreen() OVERRIDE; |
33 virtual void UnlockScreen() OVERRIDE; | 33 virtual void UnlockScreen() OVERRIDE; |
34 virtual bool IsScreenLocked() const OVERRIDE; | 34 virtual bool IsScreenLocked() const OVERRIDE; |
| 35 virtual void OnPreInit() OVERRIDE; |
35 virtual void Shutdown() OVERRIDE; | 36 virtual void Shutdown() OVERRIDE; |
36 virtual void Exit() OVERRIDE; | 37 virtual void Exit() OVERRIDE; |
37 virtual void NewTab() OVERRIDE; | 38 virtual void NewTab() OVERRIDE; |
38 virtual void NewWindow(bool incognito) OVERRIDE; | 39 virtual void NewWindow(bool incognito) OVERRIDE; |
39 virtual void ToggleMaximized() OVERRIDE; | 40 virtual void ToggleMaximized() OVERRIDE; |
40 virtual void OpenFileManager(bool as_dialog) OVERRIDE; | 41 virtual void OpenFileManager(bool as_dialog) OVERRIDE; |
41 virtual void OpenCrosh() OVERRIDE; | 42 virtual void OpenCrosh() OVERRIDE; |
42 virtual void OpenMobileSetup(const std::string& service_path) OVERRIDE; | 43 virtual void OpenMobileSetup(const std::string& service_path) OVERRIDE; |
43 virtual void RestoreTab() OVERRIDE; | 44 virtual void RestoreTab() OVERRIDE; |
44 virtual bool RotatePaneFocus(Shell::Direction direction) OVERRIDE; | 45 virtual bool RotatePaneFocus(Shell::Direction direction) OVERRIDE; |
(...skipping 43 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
88 bool screen_magnifier_enabled_; | 89 bool screen_magnifier_enabled_; |
89 MagnifierType screen_magnifier_type_; | 90 MagnifierType screen_magnifier_type_; |
90 | 91 |
91 DISALLOW_COPY_AND_ASSIGN(ShellDelegateImpl); | 92 DISALLOW_COPY_AND_ASSIGN(ShellDelegateImpl); |
92 }; | 93 }; |
93 | 94 |
94 } // namespace shell | 95 } // namespace shell |
95 } // namespace ash | 96 } // namespace ash |
96 | 97 |
97 #endif // ASH_SHELL_SHELL_DELEGATE_IMPL_H_ | 98 #endif // ASH_SHELL_SHELL_DELEGATE_IMPL_H_ |
OLD | NEW |