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 | |
9 namespace aura_shell { | 7 namespace aura_shell { |
10 namespace test { | 8 namespace test { |
11 | 9 |
12 TestShellDelegate::TestShellDelegate() { | 10 TestShellDelegate::TestShellDelegate() { |
13 } | 11 } |
14 | 12 |
15 TestShellDelegate::~TestShellDelegate() { | 13 TestShellDelegate::~TestShellDelegate() { |
16 } | 14 } |
17 | 15 |
18 void TestShellDelegate::CreateNewWindow() { | 16 void TestShellDelegate::CreateNewWindow() { |
19 } | 17 } |
20 | 18 |
21 views::Widget* TestShellDelegate::CreateStatusArea() { | 19 views::Widget* TestShellDelegate::CreateStatusArea() { |
22 return NULL; | 20 return NULL; |
23 } | 21 } |
24 | 22 |
25 void TestShellDelegate::RequestAppListWidget( | 23 void TestShellDelegate::RequestAppListWidget( |
26 const gfx::Rect& bounds, | 24 const gfx::Rect& bounds, |
27 const SetWidgetCallback& callback) { | 25 const SetWidgetCallback& callback) { |
28 } | 26 } |
29 | 27 |
30 void TestShellDelegate::LauncherItemClicked(const LauncherItem& item) { | 28 void TestShellDelegate::LauncherItemClicked(const LauncherItem& item) { |
31 } | 29 } |
32 | 30 |
33 bool TestShellDelegate::ConfigureLauncherItem(LauncherItem* item) { | 31 bool TestShellDelegate::ConfigureLauncherItem(LauncherItem* item) { |
34 return true; | 32 return true; |
35 } | 33 } |
36 | 34 |
37 int TestShellDelegate::GetResourceIDForNewBrowserWindow() { | |
38 return IDR_AURA_LAUNCHER_ICON_CHROME; | |
39 } | |
40 | |
41 } // namespace test | 35 } // namespace test |
42 } // namespace aura_shell | 36 } // namespace aura_shell |
OLD | NEW |