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

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

Issue 9479031: aura: Implement new app list mock. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: fix compilation error Created 8 years, 10 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/app/generated_resources.grd » ('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"
(...skipping 15 matching lines...) Expand all
26 } 26 }
27 27
28 #if defined(OS_CHROMEOS) 28 #if defined(OS_CHROMEOS)
29 void TestShellDelegate::LockScreen() { 29 void TestShellDelegate::LockScreen() {
30 } 30 }
31 #endif 31 #endif
32 32
33 void TestShellDelegate::Exit() { 33 void TestShellDelegate::Exit() {
34 } 34 }
35 35
36 void TestShellDelegate::BuildAppListModel(AppListModel* model) {
37 }
38
39 AppListViewDelegate* TestShellDelegate::CreateAppListViewDelegate() { 36 AppListViewDelegate* TestShellDelegate::CreateAppListViewDelegate() {
40 return NULL; 37 return NULL;
41 } 38 }
42 39
43 std::vector<aura::Window*> TestShellDelegate::GetCycleWindowList( 40 std::vector<aura::Window*> TestShellDelegate::GetCycleWindowList(
44 CycleSource source, 41 CycleSource source,
45 CycleOrder order) const { 42 CycleOrder order) const {
46 // We just use the Shell's default container of windows, so tests can be 43 // We just use the Shell's default container of windows, so tests can be
47 // written with the usual CreateTestWindowWithId() calls. But window cycling 44 // written with the usual CreateTestWindowWithId() calls. But window cycling
48 // expects the topmost window at the front of the list, so reverse the order 45 // expects the topmost window at the front of the list, so reverse the order
(...skipping 15 matching lines...) Expand all
64 LauncherDelegate* TestShellDelegate::CreateLauncherDelegate( 61 LauncherDelegate* TestShellDelegate::CreateLauncherDelegate(
65 ash::LauncherModel* model) { 62 ash::LauncherModel* model) {
66 return NULL; 63 return NULL;
67 } 64 }
68 65
69 SystemTrayDelegate* TestShellDelegate::CreateSystemTrayDelegate() { 66 SystemTrayDelegate* TestShellDelegate::CreateSystemTrayDelegate() {
70 return NULL; 67 return NULL;
71 } 68 }
72 } // namespace test 69 } // namespace test
73 } // namespace ash 70 } // namespace ash
OLDNEW
« no previous file with comments | « ash/test/test_shell_delegate.h ('k') | chrome/app/generated_resources.grd » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698