Home | History | Annotate | Download | only in shelf

Lines Matching defs:ShelfModel

47 ShelfModel::ShelfModel() : next_id_(1), status_(STATUS_NORMAL) {
50 ShelfModel::~ShelfModel() {
53 int ShelfModel::Add(const ShelfItem& item) {
57 int ShelfModel::AddAt(int index, const ShelfItem& item) {
65 void ShelfModel::RemoveItemAt(int index) {
76 void ShelfModel::Move(int index, int target_index) {
87 void ShelfModel::Set(int index, const ShelfItem& item) {
113 int ShelfModel::ItemIndexByID(ShelfID id) const {
118 int ShelfModel::GetItemIndexForType(ShelfItemType type) {
126 ShelfItems::const_iterator ShelfModel::ItemByID(int id) const {
135 int ShelfModel::FirstRunningAppIndex() const {
146 int ShelfModel::FirstPanelIndex() const {
153 void ShelfModel::SetStatus(Status status) {
161 void ShelfModel::AddObserver(ShelfModelObserver* observer) {
165 void ShelfModel::RemoveObserver(ShelfModelObserver* observer) {
169 int ShelfModel::ValidateInsertionIndex(ShelfItemType type, int index) const {