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() OVERRIDE; |
25 virtual bool IsSessionStarted() OVERRIDE; | 25 virtual bool IsSessionStarted() OVERRIDE; |
| 26 virtual bool IsFirstRunAfterBoot() OVERRIDE; |
26 virtual void LockScreen() OVERRIDE; | 27 virtual void LockScreen() OVERRIDE; |
27 virtual void UnlockScreen() OVERRIDE; | 28 virtual void UnlockScreen() OVERRIDE; |
28 virtual bool IsScreenLocked() const OVERRIDE; | 29 virtual bool IsScreenLocked() const OVERRIDE; |
29 virtual void Shutdown() OVERRIDE; | 30 virtual void Shutdown() OVERRIDE; |
30 virtual void Exit() OVERRIDE; | 31 virtual void Exit() OVERRIDE; |
31 virtual void NewTab() OVERRIDE; | 32 virtual void NewTab() OVERRIDE; |
32 virtual void NewWindow(bool incognito) OVERRIDE; | 33 virtual void NewWindow(bool incognito) OVERRIDE; |
33 virtual void OpenFileManager(bool as_dialog) OVERRIDE; | 34 virtual void OpenFileManager(bool as_dialog) OVERRIDE; |
34 virtual void OpenCrosh() OVERRIDE; | 35 virtual void OpenCrosh() OVERRIDE; |
35 virtual void OpenMobileSetup(const std::string& service_path) OVERRIDE; | 36 virtual void OpenMobileSetup(const std::string& service_path) OVERRIDE; |
(...skipping 30 matching lines...) Expand all Loading... |
66 bool locked_; | 67 bool locked_; |
67 bool spoken_feedback_enabled_; | 68 bool spoken_feedback_enabled_; |
68 | 69 |
69 DISALLOW_COPY_AND_ASSIGN(ShellDelegateImpl); | 70 DISALLOW_COPY_AND_ASSIGN(ShellDelegateImpl); |
70 }; | 71 }; |
71 | 72 |
72 } // namespace shell | 73 } // namespace shell |
73 } // namespace ash | 74 } // namespace ash |
74 | 75 |
75 #endif // ASH_SHELL_SHELL_DELEGATE_IMPL_H_ | 76 #endif // ASH_SHELL_SHELL_DELEGATE_IMPL_H_ |
OLD | NEW |