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

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

Issue 2456783005: [ash-md] Changed the style of ink drop applied to system menu icon buttons. (Closed)
Patch Set: Created 4 years, 2 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_highlight.h
diff --git a/ui/views/animation/ink_drop_highlight.h b/ui/views/animation/ink_drop_highlight.h
index 18a80b4a631e825f3fe28027e8cac1704207e11d..306d56500843d25cb411989cc85024ee8a17a841 100644
--- a/ui/views/animation/ink_drop_highlight.h
+++ b/ui/views/animation/ink_drop_highlight.h
@@ -59,6 +59,10 @@ class VIEWS_EXPORT InkDropHighlight {
void set_explode_size(const gfx::Size& size) { explode_size_ = size; }
+ void set_visible_opacity(float visible_opacity) {
+ visible_opacity_ = visible_opacity;
+ }
+
// Returns true if the highlight animation is either in the process of fading
// in or is fully visible.
bool IsFadingInOrVisible() const;
« ash/common/system/tray/system_menu_button.cc ('K') | « ash/common/system/tray/tray_constants.cc ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698