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

Unified Diff: ash/shelf/app_list_button.h

Issue 2972923002: Update voice interaction burst animation (Closed)
Patch Set: fix comments Created 3 years, 5 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
« no previous file with comments | « no previous file | ash/shelf/app_list_button.cc » ('j') | ash/shelf/voice_interaction_overlay.cc » ('J')
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: ash/shelf/app_list_button.h
diff --git a/ash/shelf/app_list_button.h b/ash/shelf/app_list_button.h
index 6ad539601bbd6235fd9bed9a63f4a9a679b34ef7..732d36180350365aa08ac3ede4baaa7470d4c5fe 100644
--- a/ash/shelf/app_list_button.h
+++ b/ash/shelf/app_list_button.h
@@ -67,6 +67,8 @@ class ASH_EXPORT AppListButton : public views::ImageButton,
aura::Window* root_window) override;
void OnVoiceInteractionStatusChanged(bool running) override;
+ void StartVoiceInteractionAnimation();
+
// True if the app list is currently showing for this display.
// This is useful because other IsApplistVisible functions aren't per-display.
bool is_showing_app_list_;
@@ -80,6 +82,8 @@ class ASH_EXPORT AppListButton : public views::ImageButton,
VoiceInteractionOverlay* voice_interaction_overlay_;
std::unique_ptr<base::OneShotTimer> voice_interaction_animation_delay_timer_;
+ std::unique_ptr<base::OneShotTimer>
+ voice_interaction_animation_hide_delay_timer_;
bool voice_interaction_running_ = false;
« no previous file with comments | « no previous file | ash/shelf/app_list_button.cc » ('j') | ash/shelf/voice_interaction_overlay.cc » ('J')

Powered by Google App Engine
This is Rietveld 408576698