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

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: no longer adding strings, time now says 'current time' 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..c4e69dabe2dbf90368fc28a8da079ff97e4e2f5c 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 accessibility on the status
+ // tray bar.
+ base::string16 GetAccessibleTimeString(const base::Time& now) const;
dmazzoni 2014/07/10 17:28:21 This should be private.
evy 2014/07/10 18:57:40 Done.
+
// Overridden from TrayBackgroundView.
virtual void SetShelfAlignment(ShelfAlignment alignment) OVERRIDE;
virtual void AnchorUpdated() OVERRIDE;

Powered by Google App Engine
This is Rietveld 408576698