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

Unified Diff: ash/accessibility_delegate.h

Issue 410783002: Corner Passthrough for Accessibility (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@side-gestures
Patch Set: Rebase off Master Created 6 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/ash_touch_exploration_manager_chromeos.h » ('j') | ash/default_accessibility_delegate.h » ('J')
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: ash/accessibility_delegate.h
diff --git a/ash/accessibility_delegate.h b/ash/accessibility_delegate.h
index 7dc2826e352796f6687366304c3b4260c48abfa3..1252068b121a1f0b51ec17ce077c1f0c71f3bf1d 100644
--- a/ash/accessibility_delegate.h
+++ b/ash/accessibility_delegate.h
@@ -8,6 +8,7 @@
#include "ash/ash_export.h"
#include "ash/magnifier/magnifier_constants.h"
#include "base/time/time.h"
+#include "media/audio/sounds/sounds_manager.h"
namespace ash {
@@ -92,6 +93,10 @@ class ASH_EXPORT AccessibilityDelegate {
// Gets the last accessibility alert that was triggered.
virtual AccessibilityAlert GetLastAccessibilityAlert() = 0;
+ // Plays an earcon. Earcons are brief and distinctive sounds that indicate
+ // when their mapped event has occurred.
+ virtual void PlayEarcon(media::SoundsManager::SoundKey sound_key) = 0;
James Cook 2014/07/29 04:27:24 I would prefer you keep this an "int". I prefer in
dmazzoni 2014/07/29 05:47:49 That's a good reason. How about a comment here spe
lisayin 2014/07/30 15:32:51 Done.
+
// Initiates play of shutdown sound and returns it's duration.
virtual base::TimeDelta PlayShutdownSound() const = 0;
};
« no previous file with comments | « no previous file | ash/ash_touch_exploration_manager_chromeos.h » ('j') | ash/default_accessibility_delegate.h » ('J')

Powered by Google App Engine
This is Rietveld 408576698