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

Side by Side Diff: ash/app_list/app_list_item_group_model.cc

Issue 9033007: Rename the aura_shell namespace to ash (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src/
Patch Set: 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
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 "ash/app_list/app_list_item_group_model.h" 5 #include "ash/app_list/app_list_item_group_model.h"
6 6
7 namespace aura_shell { 7 namespace ash {
8 8
9 AppListItemGroupModel::AppListItemGroupModel(const std::string& title) 9 AppListItemGroupModel::AppListItemGroupModel(const std::string& title)
10 : title_(title) { 10 : title_(title) {
11 } 11 }
12 12
13 AppListItemGroupModel::~AppListItemGroupModel() { 13 AppListItemGroupModel::~AppListItemGroupModel() {
14 } 14 }
15 15
16 void AppListItemGroupModel::AddItem(AppListItemModel* item) { 16 void AppListItemGroupModel::AddItem(AppListItemModel* item) {
17 items_.Add(item); 17 items_.Add(item);
18 } 18 }
19 19
20 AppListItemModel* AppListItemGroupModel::GetItem(int index) { 20 AppListItemModel* AppListItemGroupModel::GetItem(int index) {
21 DCHECK(index >= 0 && index < item_count()); 21 DCHECK(index >= 0 && index < item_count());
22 return items_.item_at(index); 22 return items_.item_at(index);
23 } 23 }
24 24
25 } // namespace aura_shell 25 } // namespace ash
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698