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

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

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 #include "ash/shell/shell_delegate_impl.h" 5 #include "ash/shell/shell_delegate_impl.h"
6 6
7 #include "ash/shell/example_factory.h" 7 #include "ash/shell/example_factory.h"
8 #include "ash/shell/launcher_delegate_impl.h" 8 #include "ash/shell/launcher_delegate_impl.h"
9 #include "ash/shell/toplevel_window.h" 9 #include "ash/shell/toplevel_window.h"
10 #include "ash/shell_window_ids.h" 10 #include "ash/shell_window_ids.h"
(...skipping 16 matching lines...) Expand all
27 void ShellDelegateImpl::SetWatcher(WindowWatcher* watcher) { 27 void ShellDelegateImpl::SetWatcher(WindowWatcher* watcher) {
28 watcher_ = watcher; 28 watcher_ = watcher;
29 if (launcher_delegate_) 29 if (launcher_delegate_)
30 launcher_delegate_->set_watcher(watcher); 30 launcher_delegate_->set_watcher(watcher);
31 } 31 }
32 32
33 bool ShellDelegateImpl::IsUserLoggedIn() { 33 bool ShellDelegateImpl::IsUserLoggedIn() {
34 return true; 34 return true;
35 } 35 }
36 36
37 bool ShellDelegateImpl::IsSessionStarted() { 37 bool ShellDelegateImpl::IsSessionStarted() const {
38 return true; 38 return true;
39 } 39 }
40 40
41 void ShellDelegateImpl::LockScreen() { 41 void ShellDelegateImpl::LockScreen() {
42 ash::shell::CreateLockScreen(); 42 ash::shell::CreateLockScreen();
43 locked_ = true; 43 locked_ = true;
44 ash::Shell::GetInstance()->UpdateShelfVisibility(); 44 ash::Shell::GetInstance()->UpdateShelfVisibility();
45 } 45 }
46 46
47 void ShellDelegateImpl::UnlockScreen() { 47 void ShellDelegateImpl::UnlockScreen() {
48 locked_ = false; 48 locked_ = false;
49 ash::Shell::GetInstance()->UpdateShelfVisibility(); 49 ash::Shell::GetInstance()->UpdateShelfVisibility();
50 } 50 }
51 51
52 bool ShellDelegateImpl::IsScreenLocked() const { 52 bool ShellDelegateImpl::IsScreenLocked() const {
53 return locked_; 53 return locked_;
54 } 54 }
55 55
56 bool ShellDelegateImpl::IsStatusAreaInitiallyVisible() const {
57 return true;
58 }
59
56 void ShellDelegateImpl::Shutdown() { 60 void ShellDelegateImpl::Shutdown() {
57 } 61 }
58 62
59 void ShellDelegateImpl::Exit() { 63 void ShellDelegateImpl::Exit() {
60 MessageLoopForUI::current()->Quit(); 64 MessageLoopForUI::current()->Quit();
61 } 65 }
62 66
63 void ShellDelegateImpl::NewTab() { 67 void ShellDelegateImpl::NewTab() {
64 } 68 }
65 69
(...skipping 62 matching lines...) Expand 10 before | Expand all | Expand 10 after
128 } 132 }
129 133
130 void ShellDelegateImpl::OpenFeedbackPage() { 134 void ShellDelegateImpl::OpenFeedbackPage() {
131 } 135 }
132 136
133 void ShellDelegateImpl::RecordUserMetricsAction(UserMetricsAction action) { 137 void ShellDelegateImpl::RecordUserMetricsAction(UserMetricsAction action) {
134 } 138 }
135 139
136 } // namespace shell 140 } // namespace shell
137 } // namespace ash 141 } // namespace ash
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698