summaryrefslogtreecommitdiffstats
path: root/ash/shell_delegate.h
diff options
context:
space:
mode:
authormukai@chromium.org <mukai@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2013-08-08 01:07:29 +0000
committermukai@chromium.org <mukai@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2013-08-08 01:07:29 +0000
commit9d613a9648147494794110b3336b869c1f742fcf (patch)
treefbd36f942ca4b153a14fdfb9ba8368acec695c80 /ash/shell_delegate.h
parent6a906456c7d0f8fdd921dec21424240ec50c072a (diff)
downloadchromium_src-9d613a9648147494794110b3336b869c1f742fcf.zip
chromium_src-9d613a9648147494794110b3336b869c1f742fcf.tar.gz
chromium_src-9d613a9648147494794110b3336b869c1f742fcf.tar.bz2
Removes unnecessary methods from ash::ShellDelegate
Those two methods are the bridge to TimeFormat. Now chrome/common/time_format is moved to ui/base/l10n, ash code can directly call them, there's no need to be in ShellDelegate. BUG=268688 R=jamescook@chromium.org TEST=build succeeds Review URL: https://chromiumcodereview.appspot.com/22391006 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@216341 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'ash/shell_delegate.h')
-rw-r--r--ash/shell_delegate.h9
1 files changed, 0 insertions, 9 deletions
diff --git a/ash/shell_delegate.h b/ash/shell_delegate.h
index 2bf08c1..38164f2 100644
--- a/ash/shell_delegate.h
+++ b/ash/shell_delegate.h
@@ -12,7 +12,6 @@
#include "ash/shell.h"
#include "base/callback.h"
#include "base/strings/string16.h"
-#include "base/time/time.h"
namespace app_list {
class AppListViewDelegate;
@@ -235,14 +234,6 @@ 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 minutes left" or
- // "13 Minuten links".
- // Used, for example, to display the remaining battery life.
- virtual base::string16 GetTimeRemainingString(base::TimeDelta delta) = 0;
-
- // Produces l10n-ed text for time duration, e.g.: "13 minutes" or "2 hours".
- virtual base::string16 GetTimeDurationLongString(base::TimeDelta delta) = 0;
-
// Saves the zoom scale of the full screen magnifier.
virtual void SaveScreenMagnifierScale(double scale) = 0;