Index: ash/test/shelf_view_test_api.h |
diff --git a/ash/test/shelf_view_test_api.h b/ash/test/shelf_view_test_api.h |
index 445088bbe2cd1edf53f98517204fe1d47d616bc3..52aa27a031570456727fba57a47f727d78f54159 100644 |
--- a/ash/test/shelf_view_test_api.h |
+++ b/ash/test/shelf_view_test_api.h |
@@ -25,6 +25,7 @@ class InkDrop; |
namespace ash { |
class OverflowBubble; |
+class OverflowButton; |
class ShelfButton; |
class ShelfButtonPressedMetricTracker; |
class ShelfDelegate; |
@@ -61,6 +62,12 @@ class ShelfViewTestAPI { |
// Makes shelf view show its overflow bubble. |
void ShowOverflowBubble(); |
+ // Makes shelf view hide its overflow bubble. |
+ void HideOverflowBubble(); |
+ |
+ // Returns true if the overflow bubble is visible. |
+ bool IsShowingOverflowBubble() const; |
James Cook
2016/09/14 21:50:05
Nice, makes tests easier to read.
|
+ |
// Sets animation duration in milliseconds for test. |
void SetAnimationDuration(int duration_ms); |
@@ -79,6 +86,9 @@ class ShelfViewTestAPI { |
// An accessor for overflow bubble. |
OverflowBubble* overflow_bubble(); |
+ // An accessor for overflow button. |
+ OverflowButton* overflow_button() const; |
+ |
// Returns the preferred size of |shelf_view_|. |
gfx::Size GetPreferredSize(); |