| 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);
|
|
|