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

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

Issue 9559005: aura: Implement app list M19 mock. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: use a better way to get ceiling Created 8 years, 9 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/app_list/app_list_item_group_model.h ('k') | ash/app_list/app_list_item_group_view.h » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
(Empty)
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
3 // found in the LICENSE file.
4
5 #include "ash/app_list/app_list_item_group_model.h"
6
7 namespace ash {
8
9 AppListItemGroupModel::AppListItemGroupModel(const std::string& title)
10 : title_(title) {
11 }
12
13 AppListItemGroupModel::~AppListItemGroupModel() {
14 }
15
16 void AppListItemGroupModel::AddItem(AppListItemModel* item) {
17 items_.Add(item);
18 }
19
20 AppListItemModel* AppListItemGroupModel::GetItem(int index) {
21 DCHECK(index >= 0 && index < item_count());
22 return items_.item_at(index);
23 }
24
25 } // namespace ash
OLDNEW
« no previous file with comments | « ash/app_list/app_list_item_group_model.h ('k') | ash/app_list/app_list_item_group_view.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698