Chromium Code Reviews

Unified Diff: content/child/blink_platform_impl.cc

Issue 2767823002: Media Remoting: Add interstitial elements to media element shadow dom. (Closed)
Patch Set: Addressed mlamouri's comments. Created 3 years, 8 months ago
Use n/p to move between diff chunks; N/P to move between comments.
Jump to:
View side-by-side diff with in-line comments
Index: content/child/blink_platform_impl.cc
diff --git a/content/child/blink_platform_impl.cc b/content/child/blink_platform_impl.cc
index f7d4d2976d1a96e90fe3538caa8a01411c31bac0..460d534ef08436b0e17ebcdf38073d4cfae641be 100644
--- a/content/child/blink_platform_impl.cc
+++ b/content/child/blink_platform_impl.cc
@@ -133,6 +133,8 @@ static int ToMessageID(WebLocalizedString::Name name) {
return IDS_AX_MEDIA_CAST_OFF_BUTTON;
case WebLocalizedString::AXMediaCastOnButton:
return IDS_AX_MEDIA_CAST_ON_BUTTON;
+ case WebLocalizedString::AXMediaRemotingCastIcon:
+ return IDS_AX_MEDIA_REMOTING_CAST_ICON;
case WebLocalizedString::AXMediaDownloadButton:
return IDS_AX_MEDIA_DOWNLOAD_BUTTON;
case WebLocalizedString::AXMediaOverflowButton:
@@ -173,6 +175,8 @@ static int ToMessageID(WebLocalizedString::Name name) {
return IDS_AX_MEDIA_CAST_OFF_BUTTON_HELP;
case WebLocalizedString::AXMediaCastOnButtonHelp:
return IDS_AX_MEDIA_CAST_ON_BUTTON_HELP;
+ case WebLocalizedString::AXMediaRemotingCastIconHelp:
+ return IDS_AX_MEDIA_REMOTING_CAST_ICON_HELP;
case WebLocalizedString::AXMediaOverflowButtonHelp:
return IDS_AX_MEDIA_OVERFLOW_BUTTON_HELP;
case WebLocalizedString::AXMillisecondFieldText:
@@ -211,6 +215,8 @@ static int ToMessageID(WebLocalizedString::Name name) {
return IDS_FORM_FILE_NO_FILE_LABEL;
case WebLocalizedString::InputElementAltText:
return IDS_FORM_INPUT_ALT;
+ case WebLocalizedString::MediaRemotingDisableText:
+ return IDS_MEDIA_REMOTING_DISABLE_TEXT;
case WebLocalizedString::MissingPluginText:
return IDS_PLUGIN_INITIALIZATION_ERROR;
case WebLocalizedString::MultipleFileUploadText:
@@ -522,7 +528,8 @@ const DataResource kDataResources[] = {
{"mediaplayerOverlayCastOff", IDR_MEDIAPLAYER_OVERLAY_CAST_BUTTON_OFF,
ui::SCALE_FACTOR_100P, false},
{"mediaplayerOverlayPlay", IDR_MEDIAPLAYER_OVERLAY_PLAY_BUTTON,
- ui::SCALE_FACTOR_100P, false},
+ ui::SCALE_FACTOR_100P},
+ {"mediaremotingCast", IDR_MEDIA_REMOTING_CAST_ICON, ui::SCALE_FACTOR_100P},
{"mediaplayerTrackSelectionCheckmark",
IDR_MEDIAPLAYER_TRACKSELECTION_CHECKMARK, ui::SCALE_FACTOR_100P, false},
{"mediaplayerClosedCaptionsIcon", IDR_MEDIAPLAYER_CLOSEDCAPTIONS_ICON,

Powered by Google App Engine