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

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

Issue 10056001: chromeos: Remove old status-area related code. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: . Created 8 years, 8 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/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 12 matching lines...) Expand all
23 23
24 ShellDelegateImpl::~ShellDelegateImpl() { 24 ShellDelegateImpl::~ShellDelegateImpl() {
25 } 25 }
26 26
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 views::Widget* ShellDelegateImpl::CreateStatusArea() {
34 return NULL;
35 }
36
37 bool ShellDelegateImpl::IsUserLoggedIn() { 33 bool ShellDelegateImpl::IsUserLoggedIn() {
38 return true; 34 return true;
39 } 35 }
40 36
41 void ShellDelegateImpl::LockScreen() { 37 void ShellDelegateImpl::LockScreen() {
42 ash::shell::CreateLockScreen(); 38 ash::shell::CreateLockScreen();
43 locked_ = true; 39 locked_ = true;
44 ash::Shell::GetInstance()->UpdateShelfVisibility(); 40 ash::Shell::GetInstance()->UpdateShelfVisibility();
45 } 41 }
46 42
(...skipping 36 matching lines...) Expand 10 before | Expand all | Expand 10 after
83 ash::SystemTray* tray) { 79 ash::SystemTray* tray) {
84 return NULL; 80 return NULL;
85 } 81 }
86 82
87 ash::UserWallpaperDelegate* ShellDelegateImpl::CreateUserWallpaperDelegate() { 83 ash::UserWallpaperDelegate* ShellDelegateImpl::CreateUserWallpaperDelegate() {
88 return NULL; 84 return NULL;
89 } 85 }
90 86
91 } // namespace shell 87 } // namespace shell
92 } // namespace ash 88 } // 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