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

Unified Diff: ui/views/animation/ink_drop_impl.h

Issue 2720183002: [Views] Update ink drop for omnibox icons (Closed)
Patch Set: Update the behavior Created 3 years, 9 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/ink_drop_impl.h
diff --git a/ui/views/animation/ink_drop_impl.h b/ui/views/animation/ink_drop_impl.h
index 961f80b0cfbd37373bf8bced5f2e82e2b95ade4e..96d131f773d75b17fd4746edd7c68767fed4c566 100644
--- a/ui/views/animation/ink_drop_impl.h
+++ b/ui/views/animation/ink_drop_impl.h
@@ -72,6 +72,7 @@ class VIEWS_EXPORT InkDropImpl : public InkDrop,
void SnapToActivated() override;
void SetHovered(bool is_hovered) override;
void SetFocused(bool is_focused) override;
+ bool ShouldHighlight() const override;
bruthig 2017/03/08 18:58:24 If we decide to keep ShouldHighlight() as a virtua
spqchan 2017/03/14 00:07:52 Used IsHighlightFadingInOrVisible() instead. Let m
private:
friend class InkDropImplTest;
@@ -245,10 +246,6 @@ class VIEWS_EXPORT InkDropImpl : public InkDrop,
base::TimeDelta animation_duration,
bool explode);
- // Returns true if |this| the highlight should be visible based on the
- // hover/focus status.
- bool ShouldHighlight() const;
-
// Returns true if |this| the hilight should be visible based on the focus
// status.
bool ShouldHighlightBasedOnFocus() const;

Powered by Google App Engine
This is Rietveld 408576698