Upstream version 5.34.104.0
[platform/framework/web/crosswalk.git] / src / ui / app_list / app_list_item.cc
index 9d35f87..56fcdfb 100644 (file)
@@ -11,6 +11,7 @@ namespace app_list {
 
 AppListItem::AppListItem(const std::string& id)
     : id_(id),
+      has_shadow_(false),
       highlighted_(false),
       is_installing_(false),
       percent_downloaded_(-1) {
@@ -85,9 +86,19 @@ ui::MenuModel* AppListItem::GetContextMenuModel() {
   return NULL;
 }
 
+AppListItem* AppListItem::FindChildItem(const std::string& id) {
+  return NULL;
+}
+
+size_t AppListItem::ChildItemCount() const {
+  return 0;
+}
+
 bool AppListItem::CompareForTest(const AppListItem* other) const {
   return id_ == other->id_ &&
+      folder_id_ == other->folder_id_ &&
       title_ == other->title_ &&
+      GetItemType() == other->GetItemType() &&
       position_.Equals(other->position_);
 }