Index: ash/test/shelf_view_test_api.cc |
diff --git a/ash/test/shelf_view_test_api.cc b/ash/test/shelf_view_test_api.cc |
index e42d96dacee95dc3534bf96c4ce7b2177c344230..855c843f6e256de8d5ce887b79967c1e68cee28d 100644 |
--- a/ash/test/shelf_view_test_api.cc |
+++ b/ash/test/shelf_view_test_api.cc |
@@ -71,6 +71,11 @@ void ShelfViewTestAPI::ShowOverflowBubble() { |
shelf_view_->ToggleOverflowBubble(); |
} |
+void ShelfViewTestAPI::HideOverflowBubble() { |
+ if (shelf_view_->IsShowingOverflowBubble()) |
+ shelf_view_->ToggleOverflowBubble(); |
+} |
+ |
const gfx::Rect& ShelfViewTestAPI::GetBoundsByIndex(int index) { |
return shelf_view_->view_model_->view_at(index)->bounds(); |
} |
@@ -109,6 +114,10 @@ OverflowBubble* ShelfViewTestAPI::overflow_bubble() { |
return shelf_view_->overflow_bubble_.get(); |
} |
+OverflowButton* ShelfViewTestAPI::overflow_button() const { |
+ return shelf_view_->overflow_button_; |
+} |
+ |
ShelfTooltipManager* ShelfViewTestAPI::tooltip_manager() { |
return &shelf_view_->tooltip_; |
} |