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

Unified Diff: content/child/blink_platform_impl.cc

Issue 2767823002: Media Remoting: Add interstitial elements to media element shadow dom. (Closed)
Patch Set: Updated with new UX design. Created 3 years, 8 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 707f34a56f39c4947c052b2dd748cb2747b182e9..810c051db57124876fae572ffe48ba569fe842b9 100644
--- a/content/child/blink_platform_impl.cc
+++ b/content/child/blink_platform_impl.cc
@@ -135,6 +135,8 @@ static int ToMessageID(WebLocalizedString::Name name) {
return IDS_AX_MEDIA_CAST_ON_BUTTON;
case WebLocalizedString::kAXMediaDownloadButton:
return IDS_AX_MEDIA_DOWNLOAD_BUTTON;
+ case WebLocalizedString::kAXMediaRemotingCastIcon:
+ return IDS_AX_MEDIA_REMOTING_CAST_ICON;
case WebLocalizedString::kAXMediaOverflowButton:
return IDS_AX_MEDIA_OVERFLOW_BUTTON;
case WebLocalizedString::kAXMediaAudioElementHelp:
@@ -213,6 +215,10 @@ static int ToMessageID(WebLocalizedString::Name name) {
return IDS_FORM_INPUT_ALT;
case WebLocalizedString::kMissingPluginText:
return IDS_PLUGIN_INITIALIZATION_ERROR;
+ case WebLocalizedString::kMediaRemotingDisableText:
+ return IDS_MEDIA_REMOTING_DISABLE_TEXT;
+ case WebLocalizedString::kMediaRemotingCastText:
+ return IDS_MEDIA_REMOTING_CAST_TEXT;
case WebLocalizedString::kMultipleFileUploadText:
return IDS_FORM_FILE_MULTIPLE_UPLOAD;
case WebLocalizedString::kOtherColorLabel:
@@ -523,6 +529,8 @@ const DataResource kDataResources[] = {
ui::SCALE_FACTOR_100P, false},
{"mediaplayerOverlayPlay", IDR_MEDIAPLAYER_OVERLAY_PLAY_BUTTON,
ui::SCALE_FACTOR_100P, false},
+ {"mediaremotingCast", IDR_MEDIA_REMOTING_CAST_ICON, ui::SCALE_FACTOR_100P,
liberato (no reviews please) 2017/04/12 21:57:44 please alphabetize.
xjz 2017/04/13 00:08:48 Renamed it as mediaRemotingCastIcon
+ false},
{"mediaplayerTrackSelectionCheckmark",
IDR_MEDIAPLAYER_TRACKSELECTION_CHECKMARK, ui::SCALE_FACTOR_100P, false},
{"mediaplayerClosedCaptionsIcon", IDR_MEDIAPLAYER_CLOSEDCAPTIONS_ICON,

Powered by Google App Engine
This is Rietveld 408576698