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> |
| 9 |
8 #include "ash/shell_delegate.h" | 10 #include "ash/shell_delegate.h" |
9 #include "base/compiler_specific.h" | 11 #include "base/compiler_specific.h" |
10 | 12 |
11 namespace ash { | 13 namespace ash { |
12 namespace shell { | 14 namespace shell { |
13 | 15 |
14 class LauncherDelegateImpl; | 16 class LauncherDelegateImpl; |
15 class WindowWatcher; | 17 class WindowWatcher; |
16 | 18 |
17 class ShellDelegateImpl : public ash::ShellDelegate { | 19 class ShellDelegateImpl : public ash::ShellDelegate { |
18 public: | 20 public: |
19 ShellDelegateImpl(); | 21 ShellDelegateImpl(); |
20 virtual ~ShellDelegateImpl(); | 22 virtual ~ShellDelegateImpl(); |
21 | 23 |
22 void SetWatcher(WindowWatcher* watcher); | 24 void SetWatcher(WindowWatcher* watcher); |
23 | 25 |
24 virtual bool IsUserLoggedIn() const OVERRIDE; | 26 virtual bool IsUserLoggedIn() const OVERRIDE; |
25 virtual bool IsSessionStarted() const OVERRIDE; | 27 virtual bool IsSessionStarted() const OVERRIDE; |
26 virtual bool IsFirstRunAfterBoot() const OVERRIDE; | 28 virtual bool IsFirstRunAfterBoot() const OVERRIDE; |
| 29 virtual bool IsRunningInForcedAppMode() const OVERRIDE; |
27 virtual bool CanLockScreen() const OVERRIDE; | 30 virtual bool CanLockScreen() const OVERRIDE; |
28 virtual void LockScreen() OVERRIDE; | 31 virtual void LockScreen() OVERRIDE; |
29 virtual void UnlockScreen() OVERRIDE; | 32 virtual void UnlockScreen() OVERRIDE; |
30 virtual bool IsScreenLocked() const OVERRIDE; | 33 virtual bool IsScreenLocked() const OVERRIDE; |
31 virtual void Shutdown() OVERRIDE; | 34 virtual void Shutdown() OVERRIDE; |
32 virtual void Exit() OVERRIDE; | 35 virtual void Exit() OVERRIDE; |
33 virtual void NewTab() OVERRIDE; | 36 virtual void NewTab() OVERRIDE; |
34 virtual void NewWindow(bool incognito) OVERRIDE; | 37 virtual void NewWindow(bool incognito) OVERRIDE; |
35 virtual void ToggleMaximized() OVERRIDE; | 38 virtual void ToggleMaximized() OVERRIDE; |
36 virtual void OpenFileManager(bool as_dialog) OVERRIDE; | 39 virtual void OpenFileManager(bool as_dialog) OVERRIDE; |
(...skipping 47 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
84 bool screen_magnifier_enabled_; | 87 bool screen_magnifier_enabled_; |
85 MagnifierType screen_magnifier_type_; | 88 MagnifierType screen_magnifier_type_; |
86 | 89 |
87 DISALLOW_COPY_AND_ASSIGN(ShellDelegateImpl); | 90 DISALLOW_COPY_AND_ASSIGN(ShellDelegateImpl); |
88 }; | 91 }; |
89 | 92 |
90 } // namespace shell | 93 } // namespace shell |
91 } // namespace ash | 94 } // namespace ash |
92 | 95 |
93 #endif // ASH_SHELL_SHELL_DELEGATE_IMPL_H_ | 96 #endif // ASH_SHELL_SHELL_DELEGATE_IMPL_H_ |
OLD | NEW |