Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(3200)

Unified Diff: ash/test/shelf_view_test_api.h

Issue 2178163002: Add ink drop ripple to shelf overflow button (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Addressed review comments Created 4 years, 3 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
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();

Powered by Google App Engine
This is Rietveld 408576698