Lines Matching refs:shelf_view_
288 ShelfViewTest() : model_(NULL), shelf_view_(NULL), browser_index_(1) {}
296 shelf_view_ = ShelfTestAPI(shelf).shelf_view();
299 shelf_view_->SetBounds(0, 0, 500, kShelfSize);
301 test_api_.reset(new ShelfViewTestAPI(shelf_view_));
412 gfx::Rect shelf_view_bounds = shelf_view_->GetLocalBounds();
424 ShelfButtonHost* button_host = shelf_view_;
435 ShelfButtonHost* button_host = shelf_view_;
444 ShelfButtonHost* button_host = shelf_view_;
478 return shelf_view_->tooltip_manager()->anchor_;
491 shelf_view_->tooltip_manager()->ShowInternal();
597 ShelfView* shelf_view_;
660 gfx::Rect ideal_bounds = shelf_view_->GetIdealBoundsOfItemIcon(id);
662 views::View::ConvertPointToScreen(shelf_view_, &screen_origin);
683 gfx::Rect first_bounds = shelf_view_->GetIdealBoundsOfItemIcon(first_id);
685 shelf_view_->GetIdealBoundsOfItemIcon(overflow_id);
686 gfx::Rect last_bounds = shelf_view_->GetIdealBoundsOfItemIcon(last_id);
934 ShelfButtonHost* button_host = shelf_view_;
995 ShelfButtonHost* button_host = shelf_view_;
1040 ShelfButtonHost* button_host = shelf_view_;
1152 shelf_view_->shelf_layout_manager()->SetAutoHideBehavior(
1156 shelf_view_->shelf_layout_manager()->SetAutoHideBehavior(
1173 ShelfButtonHost* button_host = shelf_view_;
1174 ShelfTooltipManager* tooltip_manager = shelf_view_->tooltip_manager();
1210 ShelfButtonHost* button_host = shelf_view_;
1211 ShelfTooltipManager* tooltip_manager = shelf_view_->tooltip_manager();
1234 ShelfButtonHost* button_host = shelf_view_;
1235 ShelfTooltipManager* tooltip_manager = shelf_view_->tooltip_manager();
1262 EXPECT_FALSE(shelf_view_->ShouldHideTooltip(
1268 views::View* app_list_button = shelf_view_->GetAppListButtonView();
1269 EXPECT_FALSE(shelf_view_->ShouldHideTooltip(
1277 EXPECT_FALSE(shelf_view_->ShouldHideTooltip(
1289 all_area.Union(shelf_view_->GetAppListButtonView()->GetMirroredBounds());
1290 EXPECT_FALSE(shelf_view_->ShouldHideTooltip(all_area.origin()));
1291 EXPECT_FALSE(shelf_view_->ShouldHideTooltip(
1293 EXPECT_TRUE(shelf_view_->ShouldHideTooltip(
1295 EXPECT_TRUE(shelf_view_->ShouldHideTooltip(
1297 EXPECT_TRUE(shelf_view_->ShouldHideTooltip(
1299 EXPECT_TRUE(shelf_view_->ShouldHideTooltip(
1313 EXPECT_FALSE(shelf_view_->ShouldHideTooltip(
1319 views::View* app_list_button = shelf_view_->GetAppListButtonView();
1320 EXPECT_TRUE(shelf_view_->ShouldHideTooltip(
1327 ShelfTooltipManager* tooltip_manager = shelf_view_->tooltip_manager();
1336 views::View* app_list_button = shelf_view_->GetAppListButtonView();
1384 gfx::Rect bounds = shelf_view_->bounds();
1386 shelf_view_->SetBoundsRect(bounds);
1635 gfx::Rect visible_bounds = shelf_view_->GetVisibleItemsBoundsInScreen();
1636 gfx::Rect shelf_bounds = shelf_view_->GetBoundsInScreen();
1645 gfx::Rect visible_bounds = shelf_view_->GetVisibleItemsBoundsInScreen();
1646 gfx::Rect app_list_button_bounds = shelf_view_->GetAppListButtonView()->