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

Unified Diff: content/child/blink_platform_impl.cc

Issue 2243473002: Adding overflow menu to media player (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: rebased Created 4 years, 3 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') | third_party/WebKit/LayoutTests/TestExpectations » ('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 2b04ce8edcc06dd40708591d6016ac4054f8be08..c65fc9b23a312eb663cf93da0e3b06e4e538b66d 100644
--- a/content/child/blink_platform_impl.cc
+++ b/content/child/blink_platform_impl.cc
@@ -244,6 +244,26 @@ static int ToMessageID(WebLocalizedString::Name name) {
return IDS_FORM_OTHER_TIME_LABEL;
case WebLocalizedString::OtherWeekLabel:
return IDS_FORM_OTHER_WEEK_LABEL;
+ case WebLocalizedString::AxMediaOverflowButton:
+ return IDS_AX_MEDIA_OVERFLOW_BUTTON;
+ case WebLocalizedString::OverflowMenuCaptions:
+ return IDS_MEDIA_OVERFLOW_MENU_CLOSED_CAPTIONS;
+ case WebLocalizedString::OverflowMenuCast:
+ return IDS_MEDIA_OVERFLOW_MENU_CAST;
+ case WebLocalizedString::OverflowMenuEnterFullscreen:
+ return IDS_MEDIA_OVERFLOW_MENU_ENTER_FULLSCREEN;
+ case WebLocalizedString::OverflowMenuExitFullscreen:
+ return IDS_MEDIA_OVERFLOW_MENU_EXIT_FULLSCREEN;
+ case WebLocalizedString::OverflowMenuStopCast:
+ return IDS_MEDIA_OVERFLOW_MENU_STOP_CAST;
+ case WebLocalizedString::OverflowMenuMute:
+ return IDS_MEDIA_OVERFLOW_MENU_MUTE;
+ case WebLocalizedString::OverflowMenuUnmute:
+ return IDS_MEDIA_OVERFLOW_MENU_UNMUTE;
+ case WebLocalizedString::OverflowMenuPlay:
+ return IDS_MEDIA_OVERFLOW_MENU_PLAY;
+ case WebLocalizedString::OverflowMenuPause:
+ return IDS_MEDIA_OVERFLOW_MENU_PAUSE;
case WebLocalizedString::PlaceholderForDayOfMonthField:
return IDS_FORM_PLACEHOLDER_FOR_DAY_OF_MONTH_FIELD;
case WebLocalizedString::PlaceholderForMonthField:
@@ -626,6 +646,9 @@ const DataResource kDataResources[] = {
{"mediaplayerSubtitlesIconNew",
IDR_MEDIAPLAYER_SUBTITLES_ICON_NEW,
ui::SCALE_FACTOR_100P},
+ {"mediaplayerOverflowMenu",
+ IDR_MEDIAPLAYER_OVERFLOW_MENU_ICON,
+ ui::SCALE_FACTOR_100P},
{"searchCancel", IDR_SEARCH_CANCEL, ui::SCALE_FACTOR_100P},
{"searchCancelPressed", IDR_SEARCH_CANCEL_PRESSED, ui::SCALE_FACTOR_100P},
{"textAreaResizeCorner", IDR_TEXTAREA_RESIZER, ui::SCALE_FACTOR_100P},
« no previous file with comments | « content/app/strings/content_strings.grd ('k') | third_party/WebKit/LayoutTests/TestExpectations » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698