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

Unified Diff: ui/views/animation/test/ink_drop_host_view_test_api.h

Issue 2070143003: Add MD ink drop ripple to app list button (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@b612539_shelf_button_ripple
Patch Set: Rebased 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: ui/views/animation/test/ink_drop_host_view_test_api.h
diff --git a/ui/views/animation/test/ink_drop_host_view_test_api.h b/ui/views/animation/test/ink_drop_host_view_test_api.h
index 9ec2f53bf5b9a92aa611f7c2799bfec332394275..fa873aad9ab1a250cd5fe44d5d67ebe6973385e3 100644
--- a/ui/views/animation/test/ink_drop_host_view_test_api.h
+++ b/ui/views/animation/test/ink_drop_host_view_test_api.h
@@ -18,11 +18,16 @@ namespace test {
// Test API to provide internal access to an InkDropHostView instance.
class InkDropHostViewTestApi {
public:
+ // Make the protected enum accessbile.
+ using InkDropMode = InkDropHostView::InkDropMode;
+
explicit InkDropHostViewTestApi(InkDropHostView* host_view);
~InkDropHostViewTestApi();
- void SetHasInkDrop(bool has_an_ink_drop);
+ void SetInkDropMode(InkDropMode ink_dorp_mode);
+ void SetInkDrop(std::unique_ptr<InkDrop> ink_drop,
+ bool handles_gesture_events);
void SetInkDrop(std::unique_ptr<InkDrop> ink_drop);
InkDrop* ink_drop() { return host_view_->ink_drop(); }
« no previous file with comments | « ui/views/animation/ink_drop_host_view_unittest.cc ('k') | ui/views/animation/test/ink_drop_host_view_test_api.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698