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

Unified Diff: ash/test/shelf_view_test_api.h

Issue 2033553003: Add MD ink drop ripple to shelf app items (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Added tests Created 4 years, 6 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 acb4e40149ff7966174f4331e92a61f28400ff4f..6651f9a69e0d6b200461355bbdd65f82353690ee 100644
--- a/ash/test/shelf_view_test_api.h
+++ b/ash/test/shelf_view_test_api.h
@@ -20,6 +20,7 @@ class Event;
namespace views {
class Button;
+class InkDrop;
}
namespace ash {
@@ -66,6 +67,9 @@ class ShelfViewTestAPI {
// Runs message loop and waits until all add/remove animations are done.
void RunMessageLoopUntilAnimationsDone();
+ // Closes the app list or context menu if it is running.
+ void CloseMenu();
+
// An accessor for |shelf_view|.
ShelfView* shelf_view() { return shelf_view_; }
@@ -85,7 +89,9 @@ class ShelfViewTestAPI {
int GetButtonSpacing();
// Wrapper for ShelfView::ButtonPressed.
- void ButtonPressed(views::Button* sender, const ui::Event& event);
+ void ButtonPressed(views::Button* sender,
+ const ui::Event& event,
+ views::InkDrop* ink_drop);
// Wrapper for ShelfView::SameDragType.
bool SameDragType(ShelfItemType typea, ShelfItemType typeb) const;

Powered by Google App Engine
This is Rietveld 408576698