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