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

Unified Diff: ash/system/tray/system_tray.h

Issue 380943002: Added battery level and time to the status tray's accessible name. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: 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
Index: ash/system/tray/system_tray.h
diff --git a/ash/system/tray/system_tray.h b/ash/system/tray/system_tray.h
index 99f5de033c561d39838ad425abd351a95a22a1d0..e541d75e38b08de20d5b1fb8b53fa7453f2a9b10 100644
--- a/ash/system/tray/system_tray.h
+++ b/ash/system/tray/system_tray.h
@@ -121,6 +121,10 @@ class ASH_EXPORT SystemTray : public TrayBackgroundView,
// Returns true if the bubble exists.
bool CloseNotificationBubbleForTest() const;
+ // Returns a string with the current time for accessiblity on the status
Daniel Erat 2014/07/09 23:10:24 nit: accessibility
evy 2014/07/10 17:19:57 Done.
+ // tray bar.
+ base::string16 GetAccessibleTimeString(const base::Time& now) const;
+
// Overridden from TrayBackgroundView.
virtual void SetShelfAlignment(ShelfAlignment alignment) OVERRIDE;
virtual void AnchorUpdated() OVERRIDE;

Powered by Google App Engine
This is Rietveld 408576698