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

Unified Diff: chrome/browser/ui/app_list/chrome_app_list_item.h

Issue 25859005: Elim ActivateAppListItem, ChromeAppListItem (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Compile fixes Created 7 years, 2 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 | « chrome/browser/ui/app_list/apps_model_builder.cc ('k') | chrome/browser/ui/app_list/extension_app_item.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: chrome/browser/ui/app_list/chrome_app_list_item.h
diff --git a/chrome/browser/ui/app_list/chrome_app_list_item.h b/chrome/browser/ui/app_list/chrome_app_list_item.h
deleted file mode 100644
index 4a4b5e7ca232b44e4451f20cbb22c9f633473bd4..0000000000000000000000000000000000000000
--- a/chrome/browser/ui/app_list/chrome_app_list_item.h
+++ /dev/null
@@ -1,36 +0,0 @@
-// Copyright (c) 2012 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 CHROME_BROWSER_UI_APP_LIST_CHROME_APP_LIST_ITEM_H_
-#define CHROME_BROWSER_UI_APP_LIST_CHROME_APP_LIST_ITEM_H_
-
-#include "ui/app_list/app_list_item_model.h"
-
-// Base class of all chrome app list items. Chrome's AppListViewDelegate assumes
-// all items are derived from this class and calls Activate when an item is
-// activated.
-class ChromeAppListItem : public app_list::AppListItemModel {
- public:
- enum Type {
- TYPE_APP,
- TYPE_OTHER,
- };
-
- // Activates the item. |event_flags| holds flags of a mouse/keyboard event
- // associated with this activation.
- virtual void Activate(int event_flags) = 0;
-
- Type type() const { return type_; }
-
- protected:
- explicit ChromeAppListItem(Type type) : type_(type) {}
- virtual ~ChromeAppListItem() {}
-
- private:
- Type type_;
-
- DISALLOW_COPY_AND_ASSIGN(ChromeAppListItem);
-};
-
-#endif // CHROME_BROWSER_UI_APP_LIST_CHROME_APP_LIST_ITEM_H_
« no previous file with comments | « chrome/browser/ui/app_list/apps_model_builder.cc ('k') | chrome/browser/ui/app_list/extension_app_item.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698