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

Unified Diff: chrome/browser/chromeos/extensions/file_manager/private_api_strings.cc

Issue 1415953006: Fix accessibility issues in AudioPlayer and VideoPlayer. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Fix query for repeat button. Created 5 years, 1 month 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 | « chrome/app/chromeos_strings.grdp ('k') | ui/file_manager/audio_player/elements/audio_player.html » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: chrome/browser/chromeos/extensions/file_manager/private_api_strings.cc
diff --git a/chrome/browser/chromeos/extensions/file_manager/private_api_strings.cc b/chrome/browser/chromeos/extensions/file_manager/private_api_strings.cc
index 6a9c6b7d331323780da1f3b5bea33b7215326e9b..87684e5e318fed9226ff1307c7b7b82930cb47a6 100644
--- a/chrome/browser/chromeos/extensions/file_manager/private_api_strings.cc
+++ b/chrome/browser/chromeos/extensions/file_manager/private_api_strings.cc
@@ -208,6 +208,25 @@ void AddStringsForGallery(base::DictionaryValue* dict) {
SET_STRING("GALLERY_DONE", IDS_FILE_BROWSER_GALLERY_DONE);
}
+void AddStringsForMediaPlayer(base::DictionaryValue* dict) {
+ SET_STRING("MEDIA_PLAYER_PLAY_BUTTON_LABEL",
+ IDS_MEDIA_PLAYER_PLAY_BUTTON_LABEL);
+ SET_STRING("MEDIA_PLAYER_PAUSE_BUTTON_LABEL",
+ IDS_MEDIA_PLAYER_PAUSE_BUTTON_LABEL);
+ SET_STRING("MEDIA_PLAYER_MUTE_BUTTON_LABEL",
+ IDS_MEDIA_PLAYER_MUTE_BUTTON_LABEL);
+ SET_STRING("MEDIA_PLAYER_UNMUTE_BUTTON_LABEL",
+ IDS_MEDIA_PLAYER_UNMUTE_BUTTON_LABEL);
+ SET_STRING("MEDIA_PLAYER_PREVIOUS_BUTTON_LABEL",
+ IDS_MEDIA_PLAYER_PREVIOUS_BUTTON_LABEL);
+ SET_STRING("MEDIA_PLAYER_NEXT_BUTTON_LABEL",
+ IDS_MEDIA_PLAYER_NEXT_BUTTON_LABEL);
+ SET_STRING("MEDIA_PLAYER_SEEK_SLIDER_LABEL",
+ IDS_MEDIA_PLAYER_SEEK_SLIDER_LABEL);
+ SET_STRING("MEDIA_PLAYER_VOLUME_SLIDER_LABEL",
+ IDS_MEDIA_PLAYER_VOLUME_SLIDER_LABEL);
+}
+
void AddStringsForVideoPlayer(base::DictionaryValue* dict) {
SET_STRING("VIDEO_PLAYER_LOOPED_MODE", IDS_VIDEO_PLAYER_LOOPED_MODE);
SET_STRING("VIDEO_PLAYER_PLAYBACK_ERROR", IDS_VIDEO_PLAYER_PLAYBACK_ERROR);
@@ -219,6 +238,10 @@ void AddStringsForVideoPlayer(base::DictionaryValue* dict) {
IDS_VIDEO_PLAYER_VIDEO_FILE_UNSUPPORTED);
SET_STRING("VIDEO_PLAYER_VIDEO_FILE_UNSUPPORTED_FOR_CAST",
IDS_VIDEO_PLAYER_VIDEO_FILE_UNSUPPORTED_FOR_CAST);
+ SET_STRING("VIDEO_PLAYER_FULL_SCREEN_BUTTON_LABEL",
+ IDS_VIDEO_PLAYER_FULL_SCREEN_BUTTON_LABEL);
+ SET_STRING("VIDEO_PLAYER_EXIT_FULL_SCREEN_BUTTON_LABEL",
+ IDS_VIDEO_PLAYER_EXIT_FULL_SCREEN_BUTTON_LABEL);
}
void AddStringsForAudioPlayer(base::DictionaryValue* dict) {
@@ -227,6 +250,14 @@ void AddStringsForAudioPlayer(base::DictionaryValue* dict) {
SET_STRING("AUDIO_PLAYER_DEFAULT_ARTIST",
IDS_FILE_BROWSER_AUDIO_PLAYER_DEFAULT_ARTIST);
SET_STRING("AUDIO_PLAYER_TITLE", IDS_FILE_BROWSER_AUDIO_PLAYER_TITLE);
+ SET_STRING("AUDIO_PLAYER_SHUFFLE_BUTTON_LABEL",
+ IDS_AUDIO_PLAYER_SHUFFLE_BUTTON_LABEL);
+ SET_STRING("AUDIO_PLAYER_REPEAT_BUTTON_LABEL",
+ IDS_AUDIO_PLAYER_REPEAT_BUTTON_LABEL);
+ SET_STRING("AUDIO_PLAYER_OPEN_VOLUME_SLIDER_BUTTON_LABEL",
+ IDS_AUDIO_PLAYER_OPEN_VOLUME_SLIDER_BUTTON_LABEL);
+ SET_STRING("AUDIO_PLAYER_OPEN_PLAY_LIST_BUTTON_LABEL",
+ IDS_AUDIO_PLAYER_OPEN_PLAY_LIST_BUTTON_LABEL);
}
void AddStringsForCloudImport(base::DictionaryValue* dict) {
@@ -315,6 +346,7 @@ bool FileManagerPrivateGetStringsFunction::RunSync() {
AddStringsForDrive(dict);
AddStringsForFileTypes(dict);
AddStringsForGallery(dict);
+ AddStringsForMediaPlayer(dict);
AddStringsForVideoPlayer(dict);
AddStringsForAudioPlayer(dict);
AddStringsForCloudImport(dict);
« no previous file with comments | « chrome/app/chromeos_strings.grdp ('k') | ui/file_manager/audio_player/elements/audio_player.html » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698