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

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

Issue 9559005: aura: Implement app list M19 mock. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: use a better way to get ceiling Created 8 years, 9 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
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 22 matching lines...) Expand all
33 } 33 }
34 34
35 #if defined(OS_CHROMEOS) 35 #if defined(OS_CHROMEOS)
36 void TestShellDelegate::LockScreen() { 36 void TestShellDelegate::LockScreen() {
37 } 37 }
38 #endif 38 #endif
39 39
40 void TestShellDelegate::Exit() { 40 void TestShellDelegate::Exit() {
41 } 41 }
42 42
43 void TestShellDelegate::BuildAppListModel(AppListModel* model) {
44 }
45
46 AppListViewDelegate* TestShellDelegate::CreateAppListViewDelegate() { 43 AppListViewDelegate* TestShellDelegate::CreateAppListViewDelegate() {
47 return NULL; 44 return NULL;
48 } 45 }
49 46
50 std::vector<aura::Window*> TestShellDelegate::GetCycleWindowList( 47 std::vector<aura::Window*> TestShellDelegate::GetCycleWindowList(
51 CycleSource source, 48 CycleSource source,
52 CycleOrder order) const { 49 CycleOrder order) const {
53 // We just use the Shell's default container of windows, so tests can be 50 // We just use the Shell's default container of windows, so tests can be
54 // written with the usual CreateTestWindowWithId() calls. But window cycling 51 // written with the usual CreateTestWindowWithId() calls. But window cycling
55 // expects the topmost window at the front of the list, so reverse the order 52 // expects the topmost window at the front of the list, so reverse the order
(...skipping 25 matching lines...) Expand all
81 bool TestShellDelegate::GetOverrideWindowMode(Shell::WindowMode* window_mode) { 78 bool TestShellDelegate::GetOverrideWindowMode(Shell::WindowMode* window_mode) {
82 if (override_window_mode_) { 79 if (override_window_mode_) {
83 *window_mode = window_mode_; 80 *window_mode = window_mode_;
84 return true; 81 return true;
85 } 82 }
86 return false; 83 return false;
87 } 84 }
88 85
89 } // namespace test 86 } // namespace test
90 } // namespace ash 87 } // namespace ash
OLDNEW
« no previous file with comments | « ash/test/test_shell_delegate.h ('k') | chrome/browser/ui/views/aura/app_list/app_list_model_builder.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698