Searched refs:item_list_ (Results 1 – 5 of 5) sorted by relevance
71 item_list_.AddObserver(&observer_); in SetUp()75 item_list_.RemoveObserver(&observer_); in TearDown()80 return item_list_.FindItem(id); in FindItem()84 return item_list_.FindItemIndex(id, index); in FindItemIndex()89 size_t nitems = item_list_.item_count(); in CreateItem()94 position = item_list_.item_at(nitems - 1)->position().CreateAfter(); in CreateItem()101 return item_list_.AddItem(item.Pass()); in CreateAndAddItem()105 return item_list_.RemoveItem(id); in RemoveItem()109 return item_list_.RemoveItemAt(index); in RemoveItemAt()114 return item_list_.CreatePositionBefore(position); in CreatePositionBefore()[all …]
86 item_list_(new AppListItemList) { in AppListFolderItem()87 item_list_->AddObserver(this); in AppListFolderItem()93 item_list_->RemoveObserver(this); in ~AppListFolderItem()178 return item_list_->FindItem(id); in FindChildItem()182 return item_list_->item_count(); in ChildItemCount()186 for (size_t i = 0; i < item_list_->item_count(); ++i) in OnExtensionPreferenceChanged()187 item_list_->item_at(i)->OnExtensionPreferenceChanged(); in OnExtensionPreferenceChanged()195 if (other_folder->item_list()->item_count() != item_list_->item_count()) in CompareForTest()197 for (size_t i = 0; i < item_list_->item_count(); ++i) { in CompareForTest()238 i < kNumFolderTopItems && i < item_list_->item_count(); ++i) { in UpdateTopItems()[all …]
56 AppListItemList* item_list() { return item_list_.get(); } in item_list()57 const AppListItemList* item_list() const { return item_list_.get(); } in item_list()96 scoped_ptr<AppListItemList> item_list_; variable
359 item_list_(NULL), in AppsGridView()415 if (item_list_) in ~AppsGridView()416 item_list_->RemoveObserver(this); in ~AppsGridView()444 CHECK_EQ(item_list_->item_count(), in ResetForShowApps()460 if (item_list_) in SetItemList()461 item_list_->RemoveObserver(this); in SetItemList()462 item_list_ = item_list; in SetItemList()463 if (item_list_) in SetItemList()464 item_list_->AddObserver(this); in SetItemList()1031 if (!item_list_ || !item_list_->item_count()) in Update()[all …]
463 AppListItemList* item_list_; // Not owned. variable