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

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

Issue 2034963002: Rename InkDropHover to InkDropHighlight (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: fix gyp file 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/test_ink_drop_host.h
diff --git a/ui/views/animation/test/test_ink_drop_host.h b/ui/views/animation/test/test_ink_drop_host.h
index 9379c5d0039037f5e16c0f20b700643142928f76..6b4643077a7bb5c6b6bbc093014bb01a20556188 100644
--- a/ui/views/animation/test/test_ink_drop_host.h
+++ b/ui/views/animation/test/test_ink_drop_host.h
@@ -19,8 +19,8 @@ class TestInkDropHost : public InkDropHost {
int num_ink_drop_layers() const { return num_ink_drop_layers_; }
- void set_should_show_hover(bool should_show_hover) {
- should_show_hover_ = should_show_hover;
+ void set_should_show_highlight(bool should_show_highlight) {
+ should_show_highlight_ = should_show_highlight;
}
void set_disable_timers_for_test(bool disable_timers_for_test) {
@@ -31,14 +31,14 @@ class TestInkDropHost : public InkDropHost {
void AddInkDropLayer(ui::Layer* ink_drop_layer) override;
void RemoveInkDropLayer(ui::Layer* ink_drop_layer) override;
std::unique_ptr<InkDropRipple> CreateInkDropRipple() const override;
- std::unique_ptr<InkDropHover> CreateInkDropHover() const override;
+ std::unique_ptr<InkDropHighlight> CreateInkDropHighlight() const override;
private:
int num_ink_drop_layers_;
- bool should_show_hover_;
+ bool should_show_highlight_;
- // When true, the InkDropRipple/InkDropHover instances will have their
+ // When true, the InkDropRipple/InkDropHighlight instances will have their
// timers disabled after creation.
bool disable_timers_for_test_;
« no previous file with comments | « ui/views/animation/test/test_ink_drop_highlight_observer.cc ('k') | ui/views/animation/test/test_ink_drop_host.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698