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

Unified Diff: ash/app_list/app_list_item_group_model.h

Issue 9479031: aura: Implement new app list mock. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: fix compilation error Created 8 years, 10 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 side-by-side diff with in-line comments
Download patch
« no previous file with comments | « ash/app_list/app_list_groups_view.cc ('k') | ash/app_list/app_list_item_group_model.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: ash/app_list/app_list_item_group_model.h
diff --git a/ash/app_list/app_list_item_group_model.h b/ash/app_list/app_list_item_group_model.h
deleted file mode 100644
index 665f4a1b41faf76c8c569600eeca1efab4bfbb15..0000000000000000000000000000000000000000
--- a/ash/app_list/app_list_item_group_model.h
+++ /dev/null
@@ -1,46 +0,0 @@
-// Copyright (c) 2011 The Chromium Authors. All rights reserved.
-// Use of this source code is governed by a BSD-style license that can be
-// found in the LICENSE file.
-
-#ifndef ASH_APP_LIST_APP_LIST_ITEM_GROUP_MODEL_H_
-#define ASH_APP_LIST_APP_LIST_ITEM_GROUP_MODEL_H_
-#pragma once
-
-#include <string>
-
-#include "ash/app_list/app_list_item_model.h"
-#include "base/basictypes.h"
-#include "ash/ash_export.h"
-#include "ui/base/models/list_model.h"
-
-namespace ash {
-
-// AppListItemGroupModel holds a list of AppListItemModels.
-class ASH_EXPORT AppListItemGroupModel {
- public:
- typedef ui::ListModel<AppListItemModel> Items;
-
- explicit AppListItemGroupModel(const std::string& title);
- virtual ~AppListItemGroupModel();
-
- void AddItem(AppListItemModel* item);
- AppListItemModel* GetItem(int index);
-
- const std::string& title() const {
- return title_;
- }
-
- int item_count() const {
- return items_.item_count();
- }
-
- private:
- const std::string title_;
- Items items_;
-
- DISALLOW_COPY_AND_ASSIGN(AppListItemGroupModel);
-};
-
-} // namespace ash
-
-#endif // ASH_APP_LIST_APP_LIST_ITEM_GROUP_MODEL_H_
« no previous file with comments | « ash/app_list/app_list_groups_view.cc ('k') | ash/app_list/app_list_item_group_model.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698