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

Unified Diff: content/child/blink_platform_impl.cc

Issue 1079323002: Support text track selection in video controls (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 5 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
« no previous file with comments | « content/app/strings/content_strings.grd ('k') | mojo/services/html_viewer/blink_resource_constants.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: content/child/blink_platform_impl.cc
diff --git a/content/child/blink_platform_impl.cc b/content/child/blink_platform_impl.cc
index 2c71a251fcc9e844bf7babe5fd2bbfdc86288099..84ca540213eac64a6b976271c1774a7ff41b4321 100644
--- a/content/child/blink_platform_impl.cc
+++ b/content/child/blink_platform_impl.cc
@@ -404,6 +404,14 @@ static int ToMessageID(WebLocalizedString::Name name) {
return IDS_FORM_INPUT_WEEK_TEMPLATE;
case WebLocalizedString::WeekNumberLabel:
return IDS_FORM_WEEK_NUMBER_LABEL;
+ case WebLocalizedString::TextTracksNoLabel:
+ return IDS_MEDIA_TRACKS_NO_LABEL;
+ case WebLocalizedString::TextTracksOff:
+ return IDS_MEDIA_TRACKS_OFF;
+ case WebLocalizedString::TextTracksSubtitlesCC:
+ return IDS_MEDIA_TRACKS_SUBTITLES_CC;
+ case WebLocalizedString::TextTracksCaptionsMarker:
+ return IDS_MEDIA_TRACKS_CAPTIONS_MARKER;
// This "default:" line exists to avoid compile warnings about enum
// coverage when we add a new symbol to WebLocalizedString.h in WebKit.
// After a planned WebKit patch is landed, we need to add a case statement
@@ -854,6 +862,9 @@ const DataResource kDataResources[] = {
{"mediaplayerOverlayPlay",
IDR_MEDIAPLAYER_OVERLAY_PLAY_BUTTON,
ui::SCALE_FACTOR_100P},
+ { "mediaplayerTrackSelectionCheckmark",
Avi (use Gerrit) 2015/04/13 21:10:39 No space after { to match context
srivats 2015/04/16 23:39:27 Done.
+ IDR_MEDIAPLAYER_TRACKSELECTION_CHECKMARK,
+ ui::SCALE_FACTOR_100P},
{"panIcon", IDR_PAN_SCROLL_ICON, ui::SCALE_FACTOR_100P},
{"searchCancel", IDR_SEARCH_CANCEL, ui::SCALE_FACTOR_100P},
{"searchCancelPressed", IDR_SEARCH_CANCEL_PRESSED, ui::SCALE_FACTOR_100P},
« no previous file with comments | « content/app/strings/content_strings.grd ('k') | mojo/services/html_viewer/blink_resource_constants.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698