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

Side by Side Diff: ash/shelf/app_list_shelf_item_delegate.cc

Issue 224113005: Eliminate ash::internal namespace (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Created 6 years, 8 months 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 | « ash/shelf/app_list_shelf_item_delegate.h ('k') | ash/shelf/background_animator.h » ('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 2013 The Chromium Authors. All rights reserved. 1 // Copyright 2013 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/shelf/app_list_shelf_item_delegate.h" 5 #include "ash/shelf/app_list_shelf_item_delegate.h"
6 6
7 #include "ash/shelf/shelf_model.h" 7 #include "ash/shelf/shelf_model.h"
8 #include "ash/shell.h" 8 #include "ash/shell.h"
9 #include "ash/shell_delegate.h" 9 #include "ash/shell_delegate.h"
10 #include "grit/ash_strings.h" 10 #include "grit/ash_strings.h"
11 #include "ui/base/l10n/l10n_util.h" 11 #include "ui/base/l10n/l10n_util.h"
12 12
13 namespace ash { 13 namespace ash {
14 namespace internal {
15 14
16 AppListShelfItemDelegate::AppListShelfItemDelegate() { 15 AppListShelfItemDelegate::AppListShelfItemDelegate() {
17 ShelfItem app_list; 16 ShelfItem app_list;
18 app_list.type = TYPE_APP_LIST; 17 app_list.type = TYPE_APP_LIST;
19 Shell::GetInstance()->shelf_model()->Add(app_list); 18 Shell::GetInstance()->shelf_model()->Add(app_list);
20 } 19 }
21 20
22 AppListShelfItemDelegate::~AppListShelfItemDelegate() { 21 AppListShelfItemDelegate::~AppListShelfItemDelegate() {
23 // ShelfItemDelegateManager owns and destroys this class. 22 // ShelfItemDelegateManager owns and destroys this class.
24 } 23 }
(...skipping 29 matching lines...) Expand all
54 return false; 53 return false;
55 } 54 }
56 55
57 bool AppListShelfItemDelegate::ShouldShowTooltip() { 56 bool AppListShelfItemDelegate::ShouldShowTooltip() {
58 return true; 57 return true;
59 } 58 }
60 59
61 void AppListShelfItemDelegate::Close() { 60 void AppListShelfItemDelegate::Close() {
62 } 61 }
63 62
64 } // namespace internal
65 } // namespace ash 63 } // namespace ash
OLDNEW
« no previous file with comments | « ash/shelf/app_list_shelf_item_delegate.h ('k') | ash/shelf/background_animator.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698