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

Side by Side Diff: ash/test/test_shell_delegate.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/test/test_shell_delegate.h ('k') | chrome/browser/about_flags.cc » ('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/screenshot_delegate.h" 9 #include "ash/screenshot_delegate.h"
10 #include "ash/shell.h" 10 #include "ash/shell.h"
11 #include "ash/shell_window_ids.h" 11 #include "ash/shell_window_ids.h"
12 #include "grit/ui_resources.h" 12 #include "grit/ui_resources.h"
13 #include "ui/aura/window.h" 13 #include "ui/aura/window.h"
14 14
15 namespace ash { 15 namespace ash {
16 namespace test { 16 namespace test {
17 17
18 TestShellDelegate::TestShellDelegate() : locked_(false) { 18 TestShellDelegate::TestShellDelegate() : locked_(false) {
19 } 19 }
20 20
21 TestShellDelegate::~TestShellDelegate() { 21 TestShellDelegate::~TestShellDelegate() {
22 } 22 }
23 23
24 views::Widget* TestShellDelegate::CreateStatusArea() {
25 return NULL;
26 }
27
28 bool TestShellDelegate::IsUserLoggedIn() { 24 bool TestShellDelegate::IsUserLoggedIn() {
29 return true; 25 return true;
30 } 26 }
31 27
32 void TestShellDelegate::LockScreen() { 28 void TestShellDelegate::LockScreen() {
33 locked_ = true; 29 locked_ = true;
34 } 30 }
35 31
36 void TestShellDelegate::UnlockScreen() { 32 void TestShellDelegate::UnlockScreen() {
37 locked_ = false; 33 locked_ = false;
(...skipping 28 matching lines...) Expand all
66 SystemTray* tray) { 62 SystemTray* tray) {
67 return NULL; 63 return NULL;
68 } 64 }
69 65
70 UserWallpaperDelegate* TestShellDelegate::CreateUserWallpaperDelegate() { 66 UserWallpaperDelegate* TestShellDelegate::CreateUserWallpaperDelegate() {
71 return NULL; 67 return NULL;
72 } 68 }
73 69
74 } // namespace test 70 } // namespace test
75 } // namespace ash 71 } // namespace ash
OLDNEW
« no previous file with comments | « ash/test/test_shell_delegate.h ('k') | chrome/browser/about_flags.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698