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

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

Issue 2622133008: mediaview: Implement UI. (Closed)
Patch Set: Fix typo and add logging. Created 3 years, 11 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
« no previous file with comments | « no previous file | tools/metrics/histograms/histograms.xml » ('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 2bfa997f3a5a3ab4e6ef13e27e0fe9358c7ffddd..8f9fcf3fc8a65df7736e5627550baf5f84c8f34e 100644
--- a/chrome/browser/chromeos/extensions/file_manager/private_api_strings.cc
+++ b/chrome/browser/chromeos/extensions/file_manager/private_api_strings.cc
@@ -160,6 +160,15 @@ void AddStringsForDrive(base::DictionaryValue* dict) {
IDS_FILE_BROWSER_SYNC_SERVICE_UNAVAILABLE_ERROR);
}
+void AddStringsForMediaView(base::DictionaryValue* dict) {
+ SET_STRING("MEDIA_VIEW_AUDIO_ROOT_LABEL",
+ IDS_FILE_BROWSER_MEDIA_VIEW_AUDIO_ROOT_LABEL);
+ SET_STRING("MEDIA_VIEW_IMAGES_ROOT_LABEL",
+ IDS_FILE_BROWSER_MEDIA_VIEW_IMAGES_ROOT_LABEL);
+ SET_STRING("MEDIA_VIEW_VIDEOS_ROOT_LABEL",
+ IDS_FILE_BROWSER_MEDIA_VIEW_VIDEOS_ROOT_LABEL);
+}
+
void AddStringsForGallery(base::DictionaryValue* dict) {
SET_STRING("GALLERY_ASPECT_RATIO_16_9",
IDS_FILE_BROWSER_GALLERY_ASPECT_RATIO_16_9);
@@ -357,6 +366,7 @@ ExtensionFunction::ResponseAction FileManagerPrivateGetStringsFunction::Run() {
std::unique_ptr<base::DictionaryValue> dict(new base::DictionaryValue());
AddStringsForDrive(dict.get());
+ AddStringsForMediaView(dict.get());
AddStringsForFileTypes(dict.get());
AddStringsForGallery(dict.get());
AddStringsForMediaPlayer(dict.get());
« no previous file with comments | « no previous file | tools/metrics/histograms/histograms.xml » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698