OLD | NEW |
1 // Copyright (c) 2011 The Chromium Authors. All rights reserved. | 1 // Copyright (c) 2011 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 "ui/aura_shell/test/test_shell_delegate.h" | 5 #include "ui/aura_shell/test/test_shell_delegate.h" |
6 | 6 |
| 7 #include "grit/ui_resources.h" |
| 8 |
7 namespace aura_shell { | 9 namespace aura_shell { |
8 namespace test { | 10 namespace test { |
9 | 11 |
10 TestShellDelegate::TestShellDelegate() { | 12 TestShellDelegate::TestShellDelegate() { |
11 } | 13 } |
12 | 14 |
13 TestShellDelegate::~TestShellDelegate() { | 15 TestShellDelegate::~TestShellDelegate() { |
14 } | 16 } |
15 | 17 |
16 void TestShellDelegate::CreateNewWindow() { | 18 void TestShellDelegate::CreateNewWindow() { |
17 } | 19 } |
18 | 20 |
19 views::Widget* TestShellDelegate::CreateStatusArea() { | 21 views::Widget* TestShellDelegate::CreateStatusArea() { |
20 return NULL; | 22 return NULL; |
21 } | 23 } |
22 | 24 |
23 void TestShellDelegate::RequestAppListWidget( | 25 void TestShellDelegate::RequestAppListWidget( |
24 const gfx::Rect& bounds, | 26 const gfx::Rect& bounds, |
25 const SetWidgetCallback& callback) { | 27 const SetWidgetCallback& callback) { |
26 } | 28 } |
27 | 29 |
28 void TestShellDelegate::LauncherItemClicked(const LauncherItem& item) { | 30 void TestShellDelegate::LauncherItemClicked(const LauncherItem& item) { |
29 } | 31 } |
30 | 32 |
31 bool TestShellDelegate::ConfigureLauncherItem(LauncherItem* item) { | 33 bool TestShellDelegate::ConfigureLauncherItem(LauncherItem* item) { |
32 return true; | 34 return true; |
33 } | 35 } |
34 | 36 |
| 37 int TestShellDelegate::GetResourceIDForNewBrowserWindow() { |
| 38 return IDR_AURA_LAUNCHER_ICON_CHROME; |
| 39 } |
| 40 |
35 } // namespace test | 41 } // namespace test |
36 } // namespace aura_shell | 42 } // namespace aura_shell |
OLD | NEW |