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

Unified Diff: content/child/blink_platform_impl.cc

Issue 1780043002: Add download button to MediaDocument on Android. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: use base::Feature instead of switches Created 4 years, 9 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
Index: content/child/blink_platform_impl.cc
diff --git a/content/child/blink_platform_impl.cc b/content/child/blink_platform_impl.cc
index ed43c6ba7698695620d2501df450489b9365a34e..7df488a47e76c198ef6236d1b369f13646b9b2d0 100644
--- a/content/child/blink_platform_impl.cc
+++ b/content/child/blink_platform_impl.cc
@@ -226,6 +226,8 @@ static int ToMessageID(WebLocalizedString::Name name) {
return IDS_FORM_DATE_FORMAT_YEAR;
case WebLocalizedString::DetailsLabel:
return IDS_DETAILS_WITHOUT_SUMMARY_LABEL;
+ case WebLocalizedString::DownloadButtonLabel:
+ return IDS_DOWNLOAD_BUTTON_LABEL;
case WebLocalizedString::FileButtonChooseFileLabel:
return IDS_FORM_FILE_BUTTON_LABEL;
case WebLocalizedString::FileButtonChooseMultipleFilesLabel:

Powered by Google App Engine
This is Rietveld 408576698