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

Side by Side Diff: ui/app_list/app_list_item_model.cc

Issue 25859005: Elim ActivateAppListItem, ChromeAppListItem (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Fix static cast in AppModelBuilder, add AppType 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 unified diff | Download patch | Annotate | Revision Log
OLDNEW
1 // Copyright (c) 2012 The Chromium Authors. All rights reserved. 1 // Copyright (c) 2012 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 "ui/app_list/app_list_item_model.h" 5 #include "ui/app_list/app_list_item_model.h"
6 6
7 #include "base/logging.h" 7 #include "base/logging.h"
8 #include "ui/app_list/app_list_item_model_observer.h" 8 #include "ui/app_list/app_list_item_model_observer.h"
9 9
10 namespace app_list { 10 namespace app_list {
(...skipping 54 matching lines...) Expand 10 before | Expand all | Expand 10 after
65 } 65 }
66 66
67 void AppListItemModel::AddObserver(AppListItemModelObserver* observer) { 67 void AppListItemModel::AddObserver(AppListItemModelObserver* observer) {
68 observers_.AddObserver(observer); 68 observers_.AddObserver(observer);
69 } 69 }
70 70
71 void AppListItemModel::RemoveObserver(AppListItemModelObserver* observer) { 71 void AppListItemModel::RemoveObserver(AppListItemModelObserver* observer) {
72 observers_.RemoveObserver(observer); 72 observers_.RemoveObserver(observer);
73 } 73 }
74 74
75 std::string AppListItemModel::AppType() const {
76 return "";
77 }
78
79 void AppListItemModel::Activate(int event_flags) {
80 }
81
82 void AppListItemModel::Update() {
83 }
84
75 ui::MenuModel* AppListItemModel::GetContextMenuModel() { 85 ui::MenuModel* AppListItemModel::GetContextMenuModel() {
76 return NULL; 86 return NULL;
77 } 87 }
78 88
79 } // namespace app_list 89 } // namespace app_list
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698