diff options
author | jennyz@chromium.org <jennyz@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2012-11-28 18:52:02 +0000 |
---|---|---|
committer | jennyz@chromium.org <jennyz@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2012-11-28 18:52:02 +0000 |
commit | b98beffa82d993442c9750d70e48e49047e22f23 (patch) | |
tree | a0d6bd2e3e7a0e38823bcd9ee0efee267c8b13aa /ash/shell_delegate.h | |
parent | 0094420ef319a688c61fd155dae2ccf0f2182d2a (diff) | |
download | chromium_src-b98beffa82d993442c9750d70e48e49047e22f23.zip chromium_src-b98beffa82d993442c9750d70e48e49047e22f23.tar.gz chromium_src-b98beffa82d993442c9750d70e48e49047e22f23.tar.bz2 |
Fix the battery voice feedback issue in accessibility.
BUG=153596
TBR=sky
Review URL: https://codereview.chromium.org/11299055
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@170004 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'ash/shell_delegate.h')
-rw-r--r-- | ash/shell_delegate.h | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/ash/shell_delegate.h b/ash/shell_delegate.h index 8555e17..7a94be4 100644 --- a/ash/shell_delegate.h +++ b/ash/shell_delegate.h @@ -172,11 +172,14 @@ class ASH_EXPORT ShellDelegate { // Handles the Previous Track Media shortcut key. virtual void HandleMediaPrevTrack() = 0; - // Produces l10n-ed text of remaining time, e.g.: "13 mins left" or + // Produces l10n-ed text of remaining time, e.g.: "13 minutes left" or // "13 Minuten übrig". // Used, for example, to display the remaining battery life. virtual string16 GetTimeRemainingString(base::TimeDelta delta) = 0; + // Produces l10n-ed text for time duration, e.g.: "13 minutes" or "2 hours". + virtual string16 GetTimeDurationLongString(base::TimeDelta delta) = 0; + // Saves the zoom scale of the full screen magnifier. virtual void SaveScreenMagnifierScale(double scale) = 0; |