Lines Matching refs:shelf_view_
41 : shelf_view_(shelf_view) {}
47 return shelf_view_->view_model_->view_size();
52 if (shelf_view_->model_->items()[index].type == ash::TYPE_APP_LIST)
55 return static_cast<ShelfButton*>(shelf_view_->view_model_->view_at(index));
59 return shelf_view_->first_visible_index_;
63 return shelf_view_->last_visible_index_;
67 return shelf_view_->overflow_button_->visible();
71 if (!shelf_view_->IsShowingOverflowBubble())
72 shelf_view_->ToggleOverflowBubble();
76 return shelf_view_->view_model_->view_at(index)->bounds();
80 return shelf_view_->view_model_->ideal_bounds(index);
84 shelf_view_->bounds_animator_->SetAnimationDuration(duration_ms);
88 if (!shelf_view_->bounds_animator_->IsAnimating())
92 shelf_view_->bounds_animator_->AddObserver(observer.get());
98 shelf_view_->bounds_animator_->RemoveObserver(observer.get());
102 return shelf_view_->overflow_bubble_.get();
106 return shelf_view_->GetPreferredSize();
119 return shelf_view_->SameDragType(typea, typeb);
123 shelf_view_->delegate_ = delegate;
127 return shelf_view_->GetBoundsForDragInsertInScreen();
131 return shelf_view_->dragged_off_shelf_;
135 return shelf_view_->dragged_off_from_overflow_to_shelf_;