| OLD | NEW |
| 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 Loading... |
| 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 Loading... |
| 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 |
| OLD | NEW |