Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(703)

Side by Side Diff: ash/shell/shell_delegate_impl.h

Issue 10889024: [cros] Initialize OOBE in parallel when boot animation is disabled. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Created 8 years, 3 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch | Annotate | Revision Log
OLDNEW
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() const OVERRIDE;
26 virtual void LockScreen() OVERRIDE; 26 virtual void LockScreen() OVERRIDE;
27 virtual void UnlockScreen() OVERRIDE; 27 virtual void UnlockScreen() OVERRIDE;
28 virtual bool IsScreenLocked() const OVERRIDE; 28 virtual bool IsScreenLocked() const OVERRIDE;
29 virtual bool IsStatusAreaInitiallyVisible() 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;
36 virtual void RestoreTab() OVERRIDE; 37 virtual void RestoreTab() OVERRIDE;
37 virtual bool RotatePaneFocus(Shell::Direction direction) OVERRIDE; 38 virtual bool RotatePaneFocus(Shell::Direction direction) OVERRIDE;
38 virtual void ShowKeyboardOverlay() OVERRIDE; 39 virtual void ShowKeyboardOverlay() OVERRIDE;
(...skipping 20 matching lines...) Expand all
59 bool locked_; 60 bool locked_;
60 bool spoken_feedback_enabled_; 61 bool spoken_feedback_enabled_;
61 62
62 DISALLOW_COPY_AND_ASSIGN(ShellDelegateImpl); 63 DISALLOW_COPY_AND_ASSIGN(ShellDelegateImpl);
63 }; 64 };
64 65
65 } // namespace shell 66 } // namespace shell
66 } // namespace ash 67 } // namespace ash
67 68
68 #endif // ASH_SHELL_SHELL_DELEGATE_IMPL_H_ 69 #endif // ASH_SHELL_SHELL_DELEGATE_IMPL_H_
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698