| 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/shell.h" | 9 #include "ash/shell.h" |
| 10 #include "ash/shell_window_ids.h" | 10 #include "ash/shell_window_ids.h" |
| 11 #include "grit/ui_resources.h" | 11 #include "grit/ui_resources.h" |
| 12 #include "ui/aura/window.h" | 12 #include "ui/aura/window.h" |
| 13 | 13 |
| 14 namespace ash { | 14 namespace ash { |
| 15 namespace test { | 15 namespace test { |
| 16 | 16 |
| 17 TestShellDelegate::TestShellDelegate() { | 17 TestShellDelegate::TestShellDelegate() { |
| 18 } | 18 } |
| 19 | 19 |
| 20 TestShellDelegate::~TestShellDelegate() { | 20 TestShellDelegate::~TestShellDelegate() { |
| 21 } | 21 } |
| 22 | 22 |
| 23 void TestShellDelegate::CreateNewWindow() { | 23 void TestShellDelegate::CreateNewWindow() { |
| 24 } | 24 } |
| 25 | 25 |
| 26 views::Widget* TestShellDelegate::CreateStatusArea() { | 26 views::Widget* TestShellDelegate::CreateStatusArea() { |
| 27 return NULL; | 27 return NULL; |
| 28 } | 28 } |
| 29 | 29 |
| 30 void TestShellDelegate::Exit() { |
| 31 } |
| 32 |
| 30 void TestShellDelegate::BuildAppListModel(AppListModel* model) { | 33 void TestShellDelegate::BuildAppListModel(AppListModel* model) { |
| 31 } | 34 } |
| 32 | 35 |
| 33 AppListViewDelegate* TestShellDelegate::CreateAppListViewDelegate() { | 36 AppListViewDelegate* TestShellDelegate::CreateAppListViewDelegate() { |
| 34 return NULL; | 37 return NULL; |
| 35 } | 38 } |
| 36 | 39 |
| 37 std::vector<aura::Window*> TestShellDelegate::GetCycleWindowList( | 40 std::vector<aura::Window*> TestShellDelegate::GetCycleWindowList( |
| 38 CycleSource source, | 41 CycleSource source, |
| 39 CycleOrder order) const { | 42 CycleOrder order) const { |
| (...skipping 13 matching lines...) Expand all Loading... |
| 53 bool TestShellDelegate::ConfigureLauncherItem(LauncherItem* item) { | 56 bool TestShellDelegate::ConfigureLauncherItem(LauncherItem* item) { |
| 54 return true; | 57 return true; |
| 55 } | 58 } |
| 56 | 59 |
| 57 int TestShellDelegate::GetBrowserShortcutResourceId() { | 60 int TestShellDelegate::GetBrowserShortcutResourceId() { |
| 58 return IDR_AURA_LAUNCHER_BROWSER_SHORTCUT; | 61 return IDR_AURA_LAUNCHER_BROWSER_SHORTCUT; |
| 59 } | 62 } |
| 60 | 63 |
| 61 } // namespace test | 64 } // namespace test |
| 62 } // namespace ash | 65 } // namespace ash |
| OLD | NEW |