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

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

Issue 1435253002: VideoPlayer: Fix accessibility issues. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: 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
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..1e6fe656ea14f16179f87c1aa112b3004150f3a0 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) {
@@ -315,6 +338,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/file_manager/foreground/elements/files_icon_button.html » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698