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

Side by Side Diff: ash/test/test_shell_delegate.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: merge 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/test/test_shell_delegate.h" 5 #include "ash/test/test_shell_delegate.h"
6 6
7 #include <algorithm> 7 #include <algorithm>
8 8
9 #include "ash/caps_lock_delegate_stub.h" 9 #include "ash/caps_lock_delegate_stub.h"
10 #include "ash/shell.h" 10 #include "ash/shell.h"
(...skipping 11 matching lines...) Expand all
22 spoken_feedback_enabled_(false) { 22 spoken_feedback_enabled_(false) {
23 } 23 }
24 24
25 TestShellDelegate::~TestShellDelegate() { 25 TestShellDelegate::~TestShellDelegate() {
26 } 26 }
27 27
28 bool TestShellDelegate::IsUserLoggedIn() { 28 bool TestShellDelegate::IsUserLoggedIn() {
29 return true; 29 return true;
30 } 30 }
31 31
32 bool TestShellDelegate::IsSessionStarted() { 32 bool TestShellDelegate::IsSessionStarted() const {
33 return true; 33 return true;
34 } 34 }
35 35
36 void TestShellDelegate::LockScreen() { 36 void TestShellDelegate::LockScreen() {
37 locked_ = true; 37 locked_ = true;
38 } 38 }
39 39
40 void TestShellDelegate::UnlockScreen() { 40 void TestShellDelegate::UnlockScreen() {
41 locked_ = false; 41 locked_ = false;
42 } 42 }
43 43
44 bool TestShellDelegate::IsScreenLocked() const { 44 bool TestShellDelegate::IsScreenLocked() const {
45 return locked_; 45 return locked_;
46 } 46 }
47 47
48 bool TestShellDelegate::IsStatusAreaInitiallyVisible() const {
49 return true;
50 }
51
48 void TestShellDelegate::Shutdown() { 52 void TestShellDelegate::Shutdown() {
49 } 53 }
50 54
51 void TestShellDelegate::Exit() { 55 void TestShellDelegate::Exit() {
52 } 56 }
53 57
54 void TestShellDelegate::NewTab() { 58 void TestShellDelegate::NewTab() {
55 } 59 }
56 60
57 void TestShellDelegate::NewWindow(bool incognito) { 61 void TestShellDelegate::NewWindow(bool incognito) {
(...skipping 69 matching lines...) Expand 10 before | Expand all | Expand 10 after
127 } 131 }
128 132
129 void TestShellDelegate::HandleMediaPlayPause() { 133 void TestShellDelegate::HandleMediaPlayPause() {
130 } 134 }
131 135
132 void TestShellDelegate::HandleMediaPrevTrack() { 136 void TestShellDelegate::HandleMediaPrevTrack() {
133 } 137 }
134 138
135 } // namespace test 139 } // namespace test
136 } // namespace ash 140 } // namespace ash
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698