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

Side by Side Diff: ui/aura_shell/test/test_shell_delegate.cc

Issue 8914023: Relands fixes for 106432, 107287 and 107401. These got reverted (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Da fix Created 9 years 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
« no previous file with comments | « ui/aura_shell/test/test_shell_delegate.h ('k') | ui/aura_shell/toplevel_layout_manager.cc » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
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
OLDNEW
« no previous file with comments | « ui/aura_shell/test/test_shell_delegate.h ('k') | ui/aura_shell/toplevel_layout_manager.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698