Lines Matching defs:ShelfView

316 class ShelfView::FadeOutAnimationDelegate : public gfx::AnimationDelegate {
318 FadeOutAnimationDelegate(ShelfView* host, views::View* view)
335 ShelfView* shelf_view_;
344 class ShelfView::StartFadeAnimationDelegate : public gfx::AnimationDelegate {
346 StartFadeAnimationDelegate(ShelfView* host,
361 ShelfView* shelf_view_;
367 ShelfView::ShelfView(ShelfModel* model,
403 ShelfView::~ShelfView() {
412 void ShelfView::Init() {
430 void ShelfView::OnShelfAlignmentChanged() {
442 void ShelfView::SchedulePaintForAllButtons() {
451 gfx::Rect ShelfView::GetIdealBoundsOfItemIcon(ShelfID id) {
474 void ShelfView::UpdatePanelIconPosition(ShelfID id,
504 bool ShelfView::IsShowingMenu() const {
509 bool ShelfView::IsShowingOverflowBubble() const {
513 views::View* ShelfView::GetAppListButtonView() const {
524 // ShelfView, FocusTraversable implementation:
526 views::FocusSearch* ShelfView::GetFocusSearch() {
530 views::FocusTraversable* ShelfView::GetFocusTraversableParent() {
534 View* ShelfView::GetFocusTraversableParentView() {
538 void ShelfView::CreateDragIconProxy(
561 void ShelfView::UpdateDragIconProxy(
571 void ShelfView::DestroyDragIconProxy() {
576 bool ShelfView::StartDrag(const std::string& app_id,
585 // button, ShelfView dragging operations are locked and we have to unlock.
633 bool ShelfView::Drag(const gfx::Point& location_in_screen_coordinates) {
653 void ShelfView::EndDrag(bool cancel) {
679 void ShelfView::LayoutToIdealBounds() {
691 void ShelfView::UpdateAllButtonsVisibilityInOverflowMode() {
708 void ShelfView::CalculateIdealBounds(IdealBounds* bounds) const {
738 const_cast<ShelfView*>(this)->UpdateAllButtonsVisibilityInOverflowMode();
823 int ShelfView::DetermineLastVisibleIndex(int max_value) const {
834 int ShelfView::DetermineFirstVisiblePanelIndex(int min_value) const {
845 void ShelfView::AddIconObserver(ShelfIconObserver* observer) {
849 void ShelfView::RemoveIconObserver(ShelfIconObserver* observer) {
853 void ShelfView::AnimateToIdealBounds() {
867 views::View* ShelfView::CreateViewForItem(const ShelfItem& item) {
898 void ShelfView::FadeIn(views::View* view) {
907 void ShelfView::PrepareForDrag(Pointer pointer, const ui::LocatedEvent& event) {
931 void ShelfView::ContinueDrag(const ui::LocatedEvent& event) {
1006 bool ShelfView::HandleRipOffDrag(const ui::LocatedEvent& event) {
1101 void ShelfView::FinalizeRipOffDrag(bool cancel) {
1169 ShelfView::RemovableState ShelfView::RemovableByRipOff(int index) const {
1181 bool ShelfView::SameDragType(ShelfItemType typea, ShelfItemType typeb) const {
1200 std::pair<int, int> ShelfView::GetDragRange(int index) {
1214 void ShelfView::ConfigureChildView(views::View* view) {
1219 void ShelfView::ToggleOverflowBubble() {
1228 ShelfView* overflow_view =
1229 new ShelfView(model_, delegate_, layout_manager_);
1242 void ShelfView::OnFadeOutAnimationEnded() {
1247 void ShelfView::StartFadeInLastVisibleItem() {
1260 void ShelfView::UpdateOverflowRange(ShelfView* overflow_view) const {
1270 bool ShelfView::ShouldHideTooltip(const gfx::Point& cursor_location) {
1287 gfx::Rect ShelfView::GetVisibleItemsBoundsInScreen() {
1294 gfx::Rect ShelfView::GetBoundsForDragInsertInScreen() {
1324 // occurred in OverflowBubble, the bounds of ShelfView in OverflowBubble can
1334 int ShelfView::CancelDrag(int modified_index) {
1363 gfx::Size ShelfView::GetPreferredSize() const {
1394 void ShelfView::OnBoundsChanged(const gfx::Rect& previous_bounds) {
1409 views::FocusTraversable* ShelfView::GetPaneFocusTraversable() {
1413 void ShelfView::GetAccessibleState(ui::AXViewState* state) {
1418 void ShelfView::OnGestureEvent(ui::GestureEvent* event) {
1423 void ShelfView::ShelfItemAdded(int model_index) {
1461 void ShelfView::ShelfItemRemoved(int model_index, ShelfID id) {
1503 void ShelfView::ShelfItemChanged(int model_index, const ShelfItem& old_item) {
1548 void ShelfView::ShelfItemMoved(int start_index, int target_index) {
1558 void ShelfView::ShelfStatusChanged() {
1562 void ShelfView::PointerPressedOnButton(views::View* view,
1588 void ShelfView::PointerDraggedOnButton(views::View* view,
1602 void ShelfView::PointerReleasedOnButton(views::View* view,
1618 void ShelfView::MouseMovedOverButton(views::View* view) {
1626 void ShelfView::MouseEnteredButton(views::View* view) {
1637 void ShelfView::MouseExitedButton(views::View* view) {
1642 base::string16 ShelfView::GetAccessibleName(const views::View* view) {
1653 void ShelfView::ButtonPressed(views::Button* sender, const ui::Event& event) {
1714 bool ShelfView::ShowListMenuForView(const ShelfItem& item,
1734 void ShelfView::ShowContextMenuForView(views::View* source,
1761 void ShelfView::ShowMenu(ui::MenuModel* menu_model,
1848 void ShelfView::OnBoundsAnimatorProgressed(views::BoundsAnimator* animator) {
1854 void ShelfView::OnBoundsAnimatorDone(views::BoundsAnimator* animator) {
1874 bool ShelfView::IsUsableEvent(const ui::Event& event) {
1886 const ShelfItem* ShelfView::ShelfItemForView(const views::View* view) const {
1893 bool ShelfView::ShouldShowTooltipForView(const views::View* view) const {
1905 int ShelfView::CalculateShelfDistance(const gfx::Point& coordinate) const {