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

Side by Side Diff: chrome/browser/chromeos/extensions/file_manager/private_api_strings.cc

Issue 1458733003: Reland MD Audio Player. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: forcePlay -> forceToPlay 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 unified diff | Download patch
OLDNEW
1 // Copyright 2013 The Chromium Authors. All rights reserved. 1 // Copyright 2013 The Chromium Authors. All rights reserved.
2 // Use of this source code is governed by a BSD-style license that can be 2 // Use of this source code is governed by a BSD-style license that can be
3 // found in the LICENSE file. 3 // found in the LICENSE file.
4 4
5 #include "chrome/browser/chromeos/extensions/file_manager/private_api_strings.h" 5 #include "chrome/browser/chromeos/extensions/file_manager/private_api_strings.h"
6 6
7 #include "base/strings/stringprintf.h" 7 #include "base/strings/stringprintf.h"
8 #include "base/sys_info.h" 8 #include "base/sys_info.h"
9 #include "chrome/browser/browser_process.h" 9 #include "chrome/browser/browser_process.h"
10 #include "chrome/browser/chromeos/file_manager/open_with_browser.h" 10 #include "chrome/browser/chromeos/file_manager/open_with_browser.h"
(...skipping 232 matching lines...) Expand 10 before | Expand all | Expand 10 after
243 SET_STRING("VIDEO_PLAYER_EXIT_FULL_SCREEN_BUTTON_LABEL", 243 SET_STRING("VIDEO_PLAYER_EXIT_FULL_SCREEN_BUTTON_LABEL",
244 IDS_VIDEO_PLAYER_EXIT_FULL_SCREEN_BUTTON_LABEL); 244 IDS_VIDEO_PLAYER_EXIT_FULL_SCREEN_BUTTON_LABEL);
245 } 245 }
246 246
247 void AddStringsForAudioPlayer(base::DictionaryValue* dict) { 247 void AddStringsForAudioPlayer(base::DictionaryValue* dict) {
248 SET_STRING("AUDIO_ERROR", IDS_FILE_BROWSER_AUDIO_ERROR); 248 SET_STRING("AUDIO_ERROR", IDS_FILE_BROWSER_AUDIO_ERROR);
249 SET_STRING("AUDIO_OFFLINE", IDS_FILE_BROWSER_AUDIO_OFFLINE); 249 SET_STRING("AUDIO_OFFLINE", IDS_FILE_BROWSER_AUDIO_OFFLINE);
250 SET_STRING("AUDIO_PLAYER_DEFAULT_ARTIST", 250 SET_STRING("AUDIO_PLAYER_DEFAULT_ARTIST",
251 IDS_FILE_BROWSER_AUDIO_PLAYER_DEFAULT_ARTIST); 251 IDS_FILE_BROWSER_AUDIO_PLAYER_DEFAULT_ARTIST);
252 SET_STRING("AUDIO_PLAYER_TITLE", IDS_FILE_BROWSER_AUDIO_PLAYER_TITLE); 252 SET_STRING("AUDIO_PLAYER_TITLE", IDS_FILE_BROWSER_AUDIO_PLAYER_TITLE);
253 SET_STRING("AUDIO_PLAYER_SHUFFLE_BUTTON_LABEL",
254 IDS_AUDIO_PLAYER_SHUFFLE_BUTTON_LABEL);
255 SET_STRING("AUDIO_PLAYER_REPEAT_BUTTON_LABEL",
256 IDS_AUDIO_PLAYER_REPEAT_BUTTON_LABEL);
257 SET_STRING("AUDIO_PLAYER_OPEN_VOLUME_SLIDER_BUTTON_LABEL",
258 IDS_AUDIO_PLAYER_OPEN_VOLUME_SLIDER_BUTTON_LABEL);
259 SET_STRING("AUDIO_PLAYER_OPEN_PLAY_LIST_BUTTON_LABEL",
260 IDS_AUDIO_PLAYER_OPEN_PLAY_LIST_BUTTON_LABEL);
253 } 261 }
254 262
255 void AddStringsForCloudImport(base::DictionaryValue* dict) { 263 void AddStringsForCloudImport(base::DictionaryValue* dict) {
256 SET_STRING("CLOUD_IMPORT_TITLE", IDS_FILE_BROWSER_CLOUD_IMPORT_TITLE); 264 SET_STRING("CLOUD_IMPORT_TITLE", IDS_FILE_BROWSER_CLOUD_IMPORT_TITLE);
257 SET_STRING("CLOUD_IMPORT_DESTINATION_FOLDER", 265 SET_STRING("CLOUD_IMPORT_DESTINATION_FOLDER",
258 IDS_FILE_BROWSER_CLOUD_DESTINATION_FOLDER); 266 IDS_FILE_BROWSER_CLOUD_DESTINATION_FOLDER);
259 SET_STRING("CLOUD_IMPORT_DESCRIPTION", 267 SET_STRING("CLOUD_IMPORT_DESCRIPTION",
260 IDS_FILE_BROWSER_CLOUD_IMPORT_DESCRIPTION); 268 IDS_FILE_BROWSER_CLOUD_IMPORT_DESCRIPTION);
261 SET_STRING("CLOUD_IMPORT_START", IDS_FILE_BROWSER_CLOUD_IMPORT_START); 269 SET_STRING("CLOUD_IMPORT_START", IDS_FILE_BROWSER_CLOUD_IMPORT_START);
262 SET_STRING("CLOUD_IMPORT_SHOW_DETAILS", 270 SET_STRING("CLOUD_IMPORT_SHOW_DETAILS",
(...skipping 353 matching lines...) Expand 10 before | Expand all | Expand 10 after
616 base::StringPrintf(kHelpURLFormat, kNoActionForFileHelpNumber)); 624 base::StringPrintf(kHelpURLFormat, kNoActionForFileHelpNumber));
617 dict->SetString("UI_LOCALE", extension_l10n_util::CurrentLocaleOrDefault()); 625 dict->SetString("UI_LOCALE", extension_l10n_util::CurrentLocaleOrDefault());
618 626
619 const std::string& app_locale = g_browser_process->GetApplicationLocale(); 627 const std::string& app_locale = g_browser_process->GetApplicationLocale();
620 webui::SetLoadTimeDataDefaults(app_locale, dict); 628 webui::SetLoadTimeDataDefaults(app_locale, dict);
621 629
622 return true; 630 return true;
623 } 631 }
624 632
625 } // namespace extensions 633 } // namespace extensions
OLDNEW
« no previous file with comments | « chrome/app/chromeos_strings.grdp ('k') | ui/file_manager/audio_player/assets/100/player_button_next.png » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698