From 89393d710d19b8cd6816d46628ab78d9550730c5 Mon Sep 17 00:00:00 2001 From: satorux Date: Sun, 7 Dec 2014 23:51:01 -0800 Subject: [PATCH] Split FileManagerPrivateGetStringsFunction::RunSync() To silence a compiler note caused by FileManagerPrivateGetStringsFunction::RunSync(), being very big: ../../chrome/browser/chromeos/extensions/file_manager/private_api_strings.cc: In member function 'virtual bool extensions::FileManagerPrivateGetStringsFunction::RunSync()': ../../chrome/browser/chromeos/extensions/file_manager/private_api_strings.cc:65:6: note: variable tracking size limit exceeded with -fvar-tracking-assignments, retrying without The compiler note is now gone with this splitting change. TEST=ninja -C out_squawks/Release -j500 chrome => the compiler note is gone BUG=438921 Review URL: https://codereview.chromium.org/784833002 Cr-Commit-Position: refs/heads/master@{#307209} --- .../extensions/file_manager/private_api_strings.cc | 273 +++++++++++---------- 1 file changed, 144 insertions(+), 129 deletions(-) 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 141d4be00d61..59cc6d139a42 100644 --- a/chrome/browser/chromeos/extensions/file_manager/private_api_strings.cc +++ b/chrome/browser/chromeos/extensions/file_manager/private_api_strings.cc @@ -51,23 +51,9 @@ const int kGoogleDriveErrorHelpNumber = 2649458; // Location of the help page about no-action-available files. const int kNoActionForFileHelpNumber = 1700055; -} // namespace - -namespace extensions { - -FileManagerPrivateGetStringsFunction::FileManagerPrivateGetStringsFunction() { -} - -FileManagerPrivateGetStringsFunction::~FileManagerPrivateGetStringsFunction() { -} - -bool FileManagerPrivateGetStringsFunction::RunSync() { - base::DictionaryValue* dict = new base::DictionaryValue(); - SetResult(dict); - #define SET_STRING(id, idr) dict->SetString(id, l10n_util::GetStringUTF16(idr)) - // File types +void AddStringsForFileTypes(base::DictionaryValue* dict) { // TODO(crbug.com/438921): Rename string IDs to something like // FILE_TYPE_WHATEVER. SET_STRING("AUDIO_FILE_TYPE", IDS_FILE_BROWSER_AUDIO_FILE_TYPE); @@ -108,6 +94,149 @@ bool FileManagerPrivateGetStringsFunction::RunSync() { SET_STRING("WORD_DOCUMENT_FILE_TYPE", IDS_FILE_BROWSER_WORD_DOCUMENT_FILE_TYPE); SET_STRING("ZIP_ARCHIVE_FILE_TYPE", IDS_FILE_BROWSER_ZIP_ARCHIVE_FILE_TYPE); +} + +void AddStringsForDrive(base::DictionaryValue* dict) { + SET_STRING("DRIVE_BUY_MORE_SPACE", IDS_FILE_BROWSER_DRIVE_BUY_MORE_SPACE); + SET_STRING("DRIVE_BUY_MORE_SPACE_LINK", + IDS_FILE_BROWSER_DRIVE_BUY_MORE_SPACE_LINK); + SET_STRING("DRIVE_CANNOT_REACH", IDS_FILE_BROWSER_DRIVE_CANNOT_REACH); + SET_STRING("DRIVE_DIRECTORY_LABEL", IDS_FILE_BROWSER_DRIVE_DIRECTORY_LABEL); + SET_STRING("DRIVE_LEARN_MORE", IDS_FILE_BROWSER_DRIVE_LEARN_MORE); + SET_STRING("DRIVE_LOADING", IDS_FILE_BROWSER_DRIVE_LOADING); + SET_STRING("DRIVE_MENU_HELP", IDS_FILE_BROWSER_DRIVE_MENU_HELP); + SET_STRING("DRIVE_MOBILE_CONNECTION_OPTION", + IDS_FILE_BROWSER_DRIVE_MOBILE_CONNECTION_OPTION); + SET_STRING("DRIVE_MY_DRIVE_LABEL", IDS_FILE_BROWSER_DRIVE_MY_DRIVE_LABEL); + SET_STRING("DRIVE_NOT_REACHED", IDS_FILE_BROWSER_DRIVE_NOT_REACHED); + SET_STRING("DRIVE_OFFLINE_COLLECTION_LABEL", + IDS_FILE_BROWSER_DRIVE_OFFLINE_COLLECTION_LABEL); + SET_STRING("DRIVE_OUT_OF_SPACE_HEADER", + IDS_FILE_BROWSER_DRIVE_OUT_OF_SPACE_HEADER); + SET_STRING("DRIVE_OUT_OF_SPACE_MESSAGE", + IDS_FILE_BROWSER_DRIVE_OUT_OF_SPACE_MESSAGE); + SET_STRING("DRIVE_RECENT_COLLECTION_LABEL", + IDS_FILE_BROWSER_DRIVE_RECENT_COLLECTION_LABEL); + SET_STRING("DRIVE_SERVER_OUT_OF_SPACE_HEADER", + IDS_FILE_BROWSER_DRIVE_SERVER_OUT_OF_SPACE_HEADER); + SET_STRING("DRIVE_SERVER_OUT_OF_SPACE_MESSAGE", + IDS_FILE_BROWSER_DRIVE_SERVER_OUT_OF_SPACE_MESSAGE); + SET_STRING("DRIVE_SHARED_WITH_ME_COLLECTION_LABEL", + IDS_FILE_BROWSER_DRIVE_SHARED_WITH_ME_COLLECTION_LABEL); + SET_STRING("DRIVE_SHARE_TYPE_CAN_COMMENT", + IDS_FILE_BROWSER_DRIVE_SHARE_TYPE_CAN_COMMENT); + SET_STRING("DRIVE_SHARE_TYPE_CAN_EDIT", + IDS_FILE_BROWSER_DRIVE_SHARE_TYPE_CAN_EDIT); + SET_STRING("DRIVE_SHARE_TYPE_CAN_VIEW", + IDS_FILE_BROWSER_DRIVE_SHARE_TYPE_CAN_VIEW); + SET_STRING("DRIVE_SHOW_HOSTED_FILES_OPTION", + IDS_FILE_BROWSER_DRIVE_SHOW_HOSTED_FILES_OPTION); + SET_STRING("DRIVE_SPACE_AVAILABLE_LONG", + IDS_FILE_BROWSER_DRIVE_SPACE_AVAILABLE_LONG); + SET_STRING("DRIVE_VISIT_DRIVE_GOOGLE_COM", + IDS_FILE_BROWSER_DRIVE_VISIT_DRIVE_GOOGLE_COM); + SET_STRING("DRIVE_WELCOME_CHECK_ELIGIBILITY", + IDS_FILE_BROWSER_DRIVE_WELCOME_CHECK_ELIGIBILITY); + SET_STRING("DRIVE_WELCOME_DISMISS", IDS_FILE_BROWSER_DRIVE_WELCOME_DISMISS); + SET_STRING("DRIVE_WELCOME_TEXT_LONG", + IDS_FILE_BROWSER_DRIVE_WELCOME_TEXT_LONG); + SET_STRING("DRIVE_WELCOME_TEXT_SHORT", + IDS_FILE_BROWSER_DRIVE_WELCOME_TEXT_SHORT); + SET_STRING("DRIVE_WELCOME_TITLE", IDS_FILE_BROWSER_DRIVE_WELCOME_TITLE); + SET_STRING("DRIVE_WELCOME_TITLE_ALTERNATIVE", + IDS_FILE_BROWSER_DRIVE_WELCOME_TITLE_ALTERNATIVE); + SET_STRING("DRIVE_WELCOME_TITLE_ALTERNATIVE_1TB", + IDS_FILE_BROWSER_DRIVE_WELCOME_TITLE_ALTERNATIVE_1TB); +} + +void AddStringsForGallery(base::DictionaryValue* dict) { + SET_STRING("GALLERY_ASPECT_RATIO_16_9", + IDS_FILE_BROWSER_GALLERY_ASPECT_RATIO_16_9); + SET_STRING("GALLERY_ASPECT_RATIO_1_1", + IDS_FILE_BROWSER_GALLERY_ASPECT_RATIO_1_1); + SET_STRING("GALLERY_ASPECT_RATIO_4_6", + IDS_FILE_BROWSER_GALLERY_ASPECT_RATIO_4_6); + SET_STRING("GALLERY_ASPECT_RATIO_5_7", + IDS_FILE_BROWSER_GALLERY_ASPECT_RATIO_5_7); + SET_STRING("GALLERY_ASPECT_RATIO_6_4", + IDS_FILE_BROWSER_GALLERY_ASPECT_RATIO_6_4); + SET_STRING("GALLERY_ASPECT_RATIO_7_5", + IDS_FILE_BROWSER_GALLERY_ASPECT_RATIO_7_5); + SET_STRING("GALLERY_ASPECT_RATIO_9_16", + IDS_FILE_BROWSER_GALLERY_ASPECT_RATIO_9_16); + SET_STRING("GALLERY_AUTOFIX", IDS_FILE_BROWSER_GALLERY_AUTOFIX); + SET_STRING("GALLERY_BRIGHTNESS", IDS_FILE_BROWSER_GALLERY_BRIGHTNESS); + SET_STRING("GALLERY_CANCEL_LABEL", IDS_FILE_BROWSER_CANCEL_LABEL); + SET_STRING("GALLERY_CONFIRM_DELETE_ONE", IDS_FILE_BROWSER_CONFIRM_DELETE_ONE); + SET_STRING("GALLERY_CONFIRM_DELETE_SOME", + IDS_FILE_BROWSER_CONFIRM_DELETE_SOME); + SET_STRING("GALLERY_CONTRAST", IDS_FILE_BROWSER_GALLERY_CONTRAST); + SET_STRING("GALLERY_CROP", IDS_FILE_BROWSER_GALLERY_CROP); + SET_STRING("GALLERY_DELETE", IDS_FILE_BROWSER_GALLERY_DELETE); + SET_STRING("GALLERY_EDIT", IDS_FILE_BROWSER_GALLERY_EDIT); + SET_STRING("GALLERY_ENTER_WHEN_DONE", + IDS_FILE_BROWSER_GALLERY_ENTER_WHEN_DONE); + SET_STRING("GALLERY_EXPOSURE", IDS_FILE_BROWSER_GALLERY_EXPOSURE); + SET_STRING("GALLERY_FILE_EXISTS", IDS_FILE_BROWSER_GALLERY_FILE_EXISTS); + SET_STRING("GALLERY_FILE_HIDDEN_NAME", IDS_FILE_BROWSER_ERROR_HIDDEN_NAME); + SET_STRING("GALLERY_FIXED", IDS_FILE_BROWSER_GALLERY_FIXED); + SET_STRING("GALLERY_IMAGE_ERROR", IDS_FILE_BROWSER_GALLERY_IMAGE_ERROR); + SET_STRING("GALLERY_IMAGE_OFFLINE", IDS_FILE_BROWSER_GALLERY_IMAGE_OFFLINE); + SET_STRING("GALLERY_IMAGE_TOO_BIG_ERROR", + IDS_FILE_BROWSER_GALLERY_IMAGE_TOO_BIG_ERROR); + SET_STRING("GALLERY_ITEMS_SELECTED", IDS_FILE_BROWSER_GALLERY_ITEMS_SELECTED); + SET_STRING("GALLERY_MOSAIC", IDS_FILE_BROWSER_GALLERY_MOSAIC); + SET_STRING("GALLERY_NO_IMAGES", IDS_FILE_BROWSER_GALLERY_NO_IMAGES); + SET_STRING("GALLERY_OK_LABEL", IDS_FILE_BROWSER_OK_LABEL); + SET_STRING("GALLERY_OVERWRITE_BUBBLE", + IDS_FILE_BROWSER_GALLERY_OVERWRITE_BUBBLE); + SET_STRING("GALLERY_OVERWRITE_ORIGINAL", + IDS_FILE_BROWSER_GALLERY_OVERWRITE_ORIGINAL); + SET_STRING("GALLERY_PRINT", IDS_FILE_BROWSER_GALLERY_PRINT); + SET_STRING("GALLERY_READONLY_WARNING", + IDS_FILE_BROWSER_GALLERY_READONLY_WARNING); + SET_STRING("GALLERY_REDO", IDS_FILE_BROWSER_GALLERY_REDO); + SET_STRING("GALLERY_ROTATE_LEFT", IDS_FILE_BROWSER_GALLERY_ROTATE_LEFT); + SET_STRING("GALLERY_ROTATE_RIGHT", IDS_FILE_BROWSER_GALLERY_ROTATE_RIGHT); + SET_STRING("GALLERY_SAVED", IDS_FILE_BROWSER_GALLERY_SAVED); + SET_STRING("GALLERY_SHARE", IDS_FILE_BROWSER_GALLERY_SHARE); + SET_STRING("GALLERY_SLIDE", IDS_FILE_BROWSER_GALLERY_SLIDE); + SET_STRING("GALLERY_SLIDESHOW", IDS_FILE_BROWSER_GALLERY_SLIDESHOW); + SET_STRING("GALLERY_UNDO", IDS_FILE_BROWSER_GALLERY_UNDO); + SET_STRING("GALLERY_VIDEO_OFFLINE", IDS_FILE_BROWSER_GALLERY_VIDEO_OFFLINE); +} + +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); + SET_STRING("VIDEO_PLAYER_PLAYING_ON", IDS_VIDEO_PLAYER_PLAYING_ON); + SET_STRING("VIDEO_PLAYER_PLAY_ON", IDS_VIDEO_PLAYER_PLAY_ON); + SET_STRING("VIDEO_PLAYER_PLAY_THIS_COMPUTER", + IDS_VIDEO_PLAYER_PLAY_THIS_COMPUTER); + SET_STRING("VIDEO_PLAYER_VIDEO_FILE_UNSUPPORTED", + IDS_VIDEO_PLAYER_VIDEO_FILE_UNSUPPORTED); + SET_STRING("VIDEO_PLAYER_VIDEO_FILE_UNSUPPORTED_FOR_CAST", + IDS_VIDEO_PLAYER_VIDEO_FILE_UNSUPPORTED_FOR_CAST); +} + +} // namespace + +namespace extensions { + +FileManagerPrivateGetStringsFunction::FileManagerPrivateGetStringsFunction() { +} + +FileManagerPrivateGetStringsFunction::~FileManagerPrivateGetStringsFunction() { +} + +bool FileManagerPrivateGetStringsFunction::RunSync() { + base::DictionaryValue* dict = new base::DictionaryValue(); + SetResult(dict); + + AddStringsForDrive(dict); + AddStringsForFileTypes(dict); + AddStringsForGallery(dict); + AddStringsForVideoPlayer(dict); SET_STRING("ACTION_LISTEN", IDS_FILE_BROWSER_ACTION_LISTEN); SET_STRING("ACTION_OPEN", IDS_FILE_BROWSER_ACTION_OPEN); @@ -193,56 +322,6 @@ bool FileManagerPrivateGetStringsFunction::RunSync() { IDS_FILE_BROWSER_DOWNLOADS_DIRECTORY_WARNING); SET_STRING("DRAGGING_MULTIPLE_ITEMS", IDS_FILE_BROWSER_DRAGGING_MULTIPLE_ITEMS); - SET_STRING("DRIVE_BUY_MORE_SPACE", IDS_FILE_BROWSER_DRIVE_BUY_MORE_SPACE); - SET_STRING("DRIVE_BUY_MORE_SPACE_LINK", - IDS_FILE_BROWSER_DRIVE_BUY_MORE_SPACE_LINK); - SET_STRING("DRIVE_CANNOT_REACH", IDS_FILE_BROWSER_DRIVE_CANNOT_REACH); - SET_STRING("DRIVE_DIRECTORY_LABEL", IDS_FILE_BROWSER_DRIVE_DIRECTORY_LABEL); - SET_STRING("DRIVE_LEARN_MORE", IDS_FILE_BROWSER_DRIVE_LEARN_MORE); - SET_STRING("DRIVE_LOADING", IDS_FILE_BROWSER_DRIVE_LOADING); - SET_STRING("DRIVE_MENU_HELP", IDS_FILE_BROWSER_DRIVE_MENU_HELP); - SET_STRING("DRIVE_MOBILE_CONNECTION_OPTION", - IDS_FILE_BROWSER_DRIVE_MOBILE_CONNECTION_OPTION); - SET_STRING("DRIVE_MY_DRIVE_LABEL", IDS_FILE_BROWSER_DRIVE_MY_DRIVE_LABEL); - SET_STRING("DRIVE_NOT_REACHED", IDS_FILE_BROWSER_DRIVE_NOT_REACHED); - SET_STRING("DRIVE_OFFLINE_COLLECTION_LABEL", - IDS_FILE_BROWSER_DRIVE_OFFLINE_COLLECTION_LABEL); - SET_STRING("DRIVE_OUT_OF_SPACE_HEADER", - IDS_FILE_BROWSER_DRIVE_OUT_OF_SPACE_HEADER); - SET_STRING("DRIVE_OUT_OF_SPACE_MESSAGE", - IDS_FILE_BROWSER_DRIVE_OUT_OF_SPACE_MESSAGE); - SET_STRING("DRIVE_RECENT_COLLECTION_LABEL", - IDS_FILE_BROWSER_DRIVE_RECENT_COLLECTION_LABEL); - SET_STRING("DRIVE_SERVER_OUT_OF_SPACE_HEADER", - IDS_FILE_BROWSER_DRIVE_SERVER_OUT_OF_SPACE_HEADER); - SET_STRING("DRIVE_SERVER_OUT_OF_SPACE_MESSAGE", - IDS_FILE_BROWSER_DRIVE_SERVER_OUT_OF_SPACE_MESSAGE); - SET_STRING("DRIVE_SHARED_WITH_ME_COLLECTION_LABEL", - IDS_FILE_BROWSER_DRIVE_SHARED_WITH_ME_COLLECTION_LABEL); - SET_STRING("DRIVE_SHARE_TYPE_CAN_COMMENT", - IDS_FILE_BROWSER_DRIVE_SHARE_TYPE_CAN_COMMENT); - SET_STRING("DRIVE_SHARE_TYPE_CAN_EDIT", - IDS_FILE_BROWSER_DRIVE_SHARE_TYPE_CAN_EDIT); - SET_STRING("DRIVE_SHARE_TYPE_CAN_VIEW", - IDS_FILE_BROWSER_DRIVE_SHARE_TYPE_CAN_VIEW); - SET_STRING("DRIVE_SHOW_HOSTED_FILES_OPTION", - IDS_FILE_BROWSER_DRIVE_SHOW_HOSTED_FILES_OPTION); - SET_STRING("DRIVE_SPACE_AVAILABLE_LONG", - IDS_FILE_BROWSER_DRIVE_SPACE_AVAILABLE_LONG); - SET_STRING("DRIVE_VISIT_DRIVE_GOOGLE_COM", - IDS_FILE_BROWSER_DRIVE_VISIT_DRIVE_GOOGLE_COM); - SET_STRING("DRIVE_WELCOME_CHECK_ELIGIBILITY", - IDS_FILE_BROWSER_DRIVE_WELCOME_CHECK_ELIGIBILITY); - SET_STRING("DRIVE_WELCOME_DISMISS", IDS_FILE_BROWSER_DRIVE_WELCOME_DISMISS); - SET_STRING("DRIVE_WELCOME_TEXT_LONG", - IDS_FILE_BROWSER_DRIVE_WELCOME_TEXT_LONG); - SET_STRING("DRIVE_WELCOME_TEXT_SHORT", - IDS_FILE_BROWSER_DRIVE_WELCOME_TEXT_SHORT); - SET_STRING("DRIVE_WELCOME_TITLE", IDS_FILE_BROWSER_DRIVE_WELCOME_TITLE); - SET_STRING("DRIVE_WELCOME_TITLE_ALTERNATIVE", - IDS_FILE_BROWSER_DRIVE_WELCOME_TITLE_ALTERNATIVE); - SET_STRING("DRIVE_WELCOME_TITLE_ALTERNATIVE_1TB", - IDS_FILE_BROWSER_DRIVE_WELCOME_TITLE_ALTERNATIVE_1TB); SET_STRING("ERROR_CREATING_FOLDER", IDS_FILE_BROWSER_ERROR_CREATING_FOLDER); SET_STRING("ERROR_HIDDEN_NAME", IDS_FILE_BROWSER_ERROR_HIDDEN_NAME); SET_STRING("ERROR_INVALID_CHARACTER", @@ -288,60 +367,6 @@ bool FileManagerPrivateGetStringsFunction::RunSync() { SET_STRING("FORMATTING_WARNING", IDS_FILE_BROWSER_FORMATTING_WARNING); SET_STRING("FORMAT_DEVICE_BUTTON_LABEL", IDS_FILE_BROWSER_FORMAT_DEVICE_BUTTON_LABEL); - SET_STRING("GALLERY_ASPECT_RATIO_16_9", - IDS_FILE_BROWSER_GALLERY_ASPECT_RATIO_16_9); - SET_STRING("GALLERY_ASPECT_RATIO_1_1", - IDS_FILE_BROWSER_GALLERY_ASPECT_RATIO_1_1); - SET_STRING("GALLERY_ASPECT_RATIO_4_6", - IDS_FILE_BROWSER_GALLERY_ASPECT_RATIO_4_6); - SET_STRING("GALLERY_ASPECT_RATIO_5_7", - IDS_FILE_BROWSER_GALLERY_ASPECT_RATIO_5_7); - SET_STRING("GALLERY_ASPECT_RATIO_6_4", - IDS_FILE_BROWSER_GALLERY_ASPECT_RATIO_6_4); - SET_STRING("GALLERY_ASPECT_RATIO_7_5", - IDS_FILE_BROWSER_GALLERY_ASPECT_RATIO_7_5); - SET_STRING("GALLERY_ASPECT_RATIO_9_16", - IDS_FILE_BROWSER_GALLERY_ASPECT_RATIO_9_16); - SET_STRING("GALLERY_AUTOFIX", IDS_FILE_BROWSER_GALLERY_AUTOFIX); - SET_STRING("GALLERY_BRIGHTNESS", IDS_FILE_BROWSER_GALLERY_BRIGHTNESS); - SET_STRING("GALLERY_CANCEL_LABEL", IDS_FILE_BROWSER_CANCEL_LABEL); - SET_STRING("GALLERY_CONFIRM_DELETE_ONE", IDS_FILE_BROWSER_CONFIRM_DELETE_ONE); - SET_STRING("GALLERY_CONFIRM_DELETE_SOME", - IDS_FILE_BROWSER_CONFIRM_DELETE_SOME); - SET_STRING("GALLERY_CONTRAST", IDS_FILE_BROWSER_GALLERY_CONTRAST); - SET_STRING("GALLERY_CROP", IDS_FILE_BROWSER_GALLERY_CROP); - SET_STRING("GALLERY_DELETE", IDS_FILE_BROWSER_GALLERY_DELETE); - SET_STRING("GALLERY_EDIT", IDS_FILE_BROWSER_GALLERY_EDIT); - SET_STRING("GALLERY_ENTER_WHEN_DONE", - IDS_FILE_BROWSER_GALLERY_ENTER_WHEN_DONE); - SET_STRING("GALLERY_EXPOSURE", IDS_FILE_BROWSER_GALLERY_EXPOSURE); - SET_STRING("GALLERY_FILE_EXISTS", IDS_FILE_BROWSER_GALLERY_FILE_EXISTS); - SET_STRING("GALLERY_FILE_HIDDEN_NAME", IDS_FILE_BROWSER_ERROR_HIDDEN_NAME); - SET_STRING("GALLERY_FIXED", IDS_FILE_BROWSER_GALLERY_FIXED); - SET_STRING("GALLERY_IMAGE_ERROR", IDS_FILE_BROWSER_GALLERY_IMAGE_ERROR); - SET_STRING("GALLERY_IMAGE_OFFLINE", IDS_FILE_BROWSER_GALLERY_IMAGE_OFFLINE); - SET_STRING("GALLERY_IMAGE_TOO_BIG_ERROR", - IDS_FILE_BROWSER_GALLERY_IMAGE_TOO_BIG_ERROR); - SET_STRING("GALLERY_ITEMS_SELECTED", IDS_FILE_BROWSER_GALLERY_ITEMS_SELECTED); - SET_STRING("GALLERY_MOSAIC", IDS_FILE_BROWSER_GALLERY_MOSAIC); - SET_STRING("GALLERY_NO_IMAGES", IDS_FILE_BROWSER_GALLERY_NO_IMAGES); - SET_STRING("GALLERY_OK_LABEL", IDS_FILE_BROWSER_OK_LABEL); - SET_STRING("GALLERY_OVERWRITE_BUBBLE", - IDS_FILE_BROWSER_GALLERY_OVERWRITE_BUBBLE); - SET_STRING("GALLERY_OVERWRITE_ORIGINAL", - IDS_FILE_BROWSER_GALLERY_OVERWRITE_ORIGINAL); - SET_STRING("GALLERY_PRINT", IDS_FILE_BROWSER_GALLERY_PRINT); - SET_STRING("GALLERY_READONLY_WARNING", - IDS_FILE_BROWSER_GALLERY_READONLY_WARNING); - SET_STRING("GALLERY_REDO", IDS_FILE_BROWSER_GALLERY_REDO); - SET_STRING("GALLERY_ROTATE_LEFT", IDS_FILE_BROWSER_GALLERY_ROTATE_LEFT); - SET_STRING("GALLERY_ROTATE_RIGHT", IDS_FILE_BROWSER_GALLERY_ROTATE_RIGHT); - SET_STRING("GALLERY_SAVED", IDS_FILE_BROWSER_GALLERY_SAVED); - SET_STRING("GALLERY_SHARE", IDS_FILE_BROWSER_GALLERY_SHARE); - SET_STRING("GALLERY_SLIDE", IDS_FILE_BROWSER_GALLERY_SLIDE); - SET_STRING("GALLERY_SLIDESHOW", IDS_FILE_BROWSER_GALLERY_SLIDESHOW); - SET_STRING("GALLERY_UNDO", IDS_FILE_BROWSER_GALLERY_UNDO); - SET_STRING("GALLERY_VIDEO_OFFLINE", IDS_FILE_BROWSER_GALLERY_VIDEO_OFFLINE); SET_STRING("GEAR_BUTTON_TOOLTIP", IDS_FILE_BROWSER_GEAR_BUTTON_TOOLTIP); SET_STRING("HOSTED_OFFLINE_MESSAGE", IDS_FILE_BROWSER_HOSTED_OFFLINE_MESSAGE); SET_STRING("HOSTED_OFFLINE_MESSAGE_PLURAL", @@ -468,16 +493,6 @@ bool FileManagerPrivateGetStringsFunction::RunSync() { SET_STRING("UNSUPPORTED_FILESYSTEM_WARNING", IDS_FILE_BROWSER_UNSUPPORTED_FILESYSTEM_WARNING); SET_STRING("UPLOAD_LABEL", IDS_FILE_BROWSER_UPLOAD_LABEL); - SET_STRING("VIDEO_PLAYER_LOOPED_MODE", IDS_VIDEO_PLAYER_LOOPED_MODE); - SET_STRING("VIDEO_PLAYER_PLAYBACK_ERROR", IDS_VIDEO_PLAYER_PLAYBACK_ERROR); - SET_STRING("VIDEO_PLAYER_PLAYING_ON", IDS_VIDEO_PLAYER_PLAYING_ON); - SET_STRING("VIDEO_PLAYER_PLAY_ON", IDS_VIDEO_PLAYER_PLAY_ON); - SET_STRING("VIDEO_PLAYER_PLAY_THIS_COMPUTER", - IDS_VIDEO_PLAYER_PLAY_THIS_COMPUTER); - SET_STRING("VIDEO_PLAYER_VIDEO_FILE_UNSUPPORTED", - 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("VIEW_TYPE_LABEL", IDS_FILE_BROWSER_VIEW_TYPE_LABEL); SET_STRING("VISIT_DESKTOP_OF_USER", IDS_VISIT_DESKTOP_OF_LRU_USER); SET_STRING("WAITING_FOR_SPACE_INFO", IDS_FILE_BROWSER_WAITING_FOR_SPACE_INFO); -- 2.11.4.GIT