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 "ash/shell_delegate.h" | 8 #include "ash/shell_delegate.h" |
9 #include "base/compiler_specific.h" | 9 #include "base/compiler_specific.h" |
10 | 10 |
11 namespace ash { | 11 namespace ash { |
12 namespace shell { | 12 namespace shell { |
13 | 13 |
14 class LauncherDelegateImpl; | 14 class LauncherDelegateImpl; |
15 class WindowWatcher; | 15 class WindowWatcher; |
16 | 16 |
17 class ShellDelegateImpl : public ash::ShellDelegate { | 17 class ShellDelegateImpl : public ash::ShellDelegate { |
18 public: | 18 public: |
19 ShellDelegateImpl(); | 19 ShellDelegateImpl(); |
20 virtual ~ShellDelegateImpl(); | 20 virtual ~ShellDelegateImpl(); |
21 | 21 |
22 void SetWatcher(WindowWatcher* watcher); | 22 void SetWatcher(WindowWatcher* watcher); |
23 | 23 |
24 virtual bool IsUserLoggedIn() OVERRIDE; | 24 virtual bool IsUserLoggedIn() const OVERRIDE; |
25 virtual bool IsSessionStarted() OVERRIDE; | 25 virtual bool IsSessionStarted() OVERRIDE; |
26 virtual bool IsFirstRunAfterBoot() OVERRIDE; | 26 virtual bool IsFirstRunAfterBoot() OVERRIDE; |
27 virtual bool CanLockScreen() OVERRIDE; | 27 virtual bool CanLockScreen() OVERRIDE; |
stevenjb
2012/11/29 18:07:01
While you're in here can we make all of the above
yoshiki
2012/11/30 14:55:34
Done.
| |
28 virtual void LockScreen() OVERRIDE; | 28 virtual void LockScreen() OVERRIDE; |
29 virtual void UnlockScreen() OVERRIDE; | 29 virtual void UnlockScreen() OVERRIDE; |
30 virtual bool IsScreenLocked() const OVERRIDE; | 30 virtual bool IsScreenLocked() const OVERRIDE; |
31 virtual void Shutdown() OVERRIDE; | 31 virtual void Shutdown() OVERRIDE; |
32 virtual void Exit() OVERRIDE; | 32 virtual void Exit() OVERRIDE; |
33 virtual void NewTab() OVERRIDE; | 33 virtual void NewTab() OVERRIDE; |
34 virtual void NewWindow(bool incognito) OVERRIDE; | 34 virtual void NewWindow(bool incognito) OVERRIDE; |
35 virtual void ToggleMaximized() OVERRIDE; | 35 virtual void ToggleMaximized() OVERRIDE; |
36 virtual void OpenFileManager(bool as_dialog) OVERRIDE; | 36 virtual void OpenFileManager(bool as_dialog) OVERRIDE; |
37 virtual void OpenCrosh() OVERRIDE; | 37 virtual void OpenCrosh() OVERRIDE; |
(...skipping 42 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... | |
80 bool high_contrast_enabled_; | 80 bool high_contrast_enabled_; |
81 MagnifierType screen_magnifier_type_; | 81 MagnifierType screen_magnifier_type_; |
82 | 82 |
83 DISALLOW_COPY_AND_ASSIGN(ShellDelegateImpl); | 83 DISALLOW_COPY_AND_ASSIGN(ShellDelegateImpl); |
84 }; | 84 }; |
85 | 85 |
86 } // namespace shell | 86 } // namespace shell |
87 } // namespace ash | 87 } // namespace ash |
88 | 88 |
89 #endif // ASH_SHELL_SHELL_DELEGATE_IMPL_H_ | 89 #endif // ASH_SHELL_SHELL_DELEGATE_IMPL_H_ |
OLD | NEW |