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

Side by Side Diff: ash/shell/shell_delegate_impl.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/shell/shell_delegate_impl.h ('k') | ash/shell_delegate.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/shell/shell_delegate_impl.h" 5 #include "ash/shell/shell_delegate_impl.h"
6 6
7 #include "ash/caps_lock_delegate_stub.h" 7 #include "ash/caps_lock_delegate_stub.h"
8 #include "ash/shell/example_factory.h" 8 #include "ash/shell/example_factory.h"
9 #include "ash/shell/launcher_delegate_impl.h" 9 #include "ash/shell/launcher_delegate_impl.h"
10 #include "ash/shell/toplevel_window.h" 10 #include "ash/shell/toplevel_window.h"
(...skipping 21 matching lines...) Expand all
32 } 32 }
33 33
34 bool ShellDelegateImpl::IsUserLoggedIn() { 34 bool ShellDelegateImpl::IsUserLoggedIn() {
35 return true; 35 return true;
36 } 36 }
37 37
38 bool ShellDelegateImpl::IsSessionStarted() { 38 bool ShellDelegateImpl::IsSessionStarted() {
39 return true; 39 return true;
40 } 40 }
41 41
42 bool ShellDelegateImpl::IsFirstRunAfterBoot() {
43 return false;
44 }
45
42 void ShellDelegateImpl::LockScreen() { 46 void ShellDelegateImpl::LockScreen() {
43 ash::shell::CreateLockScreen(); 47 ash::shell::CreateLockScreen();
44 locked_ = true; 48 locked_ = true;
45 ash::Shell::GetInstance()->UpdateShelfVisibility(); 49 ash::Shell::GetInstance()->UpdateShelfVisibility();
46 } 50 }
47 51
48 void ShellDelegateImpl::UnlockScreen() { 52 void ShellDelegateImpl::UnlockScreen() {
49 locked_ = false; 53 locked_ = false;
50 ash::Shell::GetInstance()->UpdateShelfVisibility(); 54 ash::Shell::GetInstance()->UpdateShelfVisibility();
51 } 55 }
(...skipping 101 matching lines...) Expand 10 before | Expand all | Expand 10 after
153 157
154 void ShellDelegateImpl::SaveScreenMagnifierScale(double scale) { 158 void ShellDelegateImpl::SaveScreenMagnifierScale(double scale) {
155 } 159 }
156 160
157 double ShellDelegateImpl::GetSavedScreenMagnifierScale() { 161 double ShellDelegateImpl::GetSavedScreenMagnifierScale() {
158 return std::numeric_limits<double>::min(); 162 return std::numeric_limits<double>::min();
159 } 163 }
160 164
161 } // namespace shell 165 } // namespace shell
162 } // namespace ash 166 } // namespace ash
OLDNEW
« no previous file with comments | « ash/shell/shell_delegate_impl.h ('k') | ash/shell_delegate.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698