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

Side by Side Diff: ash/test/test_shell_delegate.cc

Issue 11054005: ash: Display system background while loading wallpaper. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: fix win_aura compile, hopefully Created 8 years, 2 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
« no previous file with comments | « ash/test/test_shell_delegate.h ('k') | ash/wm/workspace/system_background_controller.h » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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 14 matching lines...) Expand all
25 } 25 }
26 26
27 bool TestShellDelegate::IsUserLoggedIn() { 27 bool TestShellDelegate::IsUserLoggedIn() {
28 return true; 28 return true;
29 } 29 }
30 30
31 bool TestShellDelegate::IsSessionStarted() { 31 bool TestShellDelegate::IsSessionStarted() {
32 return true; 32 return true;
33 } 33 }
34 34
35 bool TestShellDelegate::IsFirstRunAfterBoot() {
36 return false;
37 }
38
35 void TestShellDelegate::LockScreen() { 39 void TestShellDelegate::LockScreen() {
36 locked_ = true; 40 locked_ = true;
37 } 41 }
38 42
39 void TestShellDelegate::UnlockScreen() { 43 void TestShellDelegate::UnlockScreen() {
40 locked_ = false; 44 locked_ = false;
41 } 45 }
42 46
43 bool TestShellDelegate::IsScreenLocked() const { 47 bool TestShellDelegate::IsScreenLocked() const {
44 return locked_; 48 return locked_;
(...skipping 93 matching lines...) Expand 10 before | Expand all | Expand 10 after
138 142
139 void TestShellDelegate::SaveScreenMagnifierScale(double scale) { 143 void TestShellDelegate::SaveScreenMagnifierScale(double scale) {
140 } 144 }
141 145
142 double TestShellDelegate::GetSavedScreenMagnifierScale() { 146 double TestShellDelegate::GetSavedScreenMagnifierScale() {
143 return std::numeric_limits<double>::min(); 147 return std::numeric_limits<double>::min();
144 } 148 }
145 149
146 } // namespace test 150 } // namespace test
147 } // namespace ash 151 } // namespace ash
OLDNEW
« no previous file with comments | « ash/test/test_shell_delegate.h ('k') | ash/wm/workspace/system_background_controller.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698