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

Side by Side Diff: content/child/blink_platform_impl.cc

Issue 728223004: Add string resources for media time sliders. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Rebase Created 6 years 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 unified diff | Download patch
« no previous file with comments | « content/app/strings/content_strings.grd ('k') | no next file » | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
1 // Copyright 2014 The Chromium Authors. All rights reserved. 1 // Copyright 2014 The Chromium Authors. All rights reserved.
2 // Use of this source code is governed by a BSD-style license that can be 2 // Use of this source code is governed by a BSD-style license that can be
3 // found in the LICENSE file. 3 // found in the LICENSE file.
4 4
5 #include "content/child/blink_platform_impl.h" 5 #include "content/child/blink_platform_impl.h"
6 6
7 #include <math.h> 7 #include <math.h>
8 8
9 #include <vector> 9 #include <vector>
10 10
(...skipping 221 matching lines...) Expand 10 before | Expand all | Expand 10 after
232 case WebLocalizedString::AXMediaVideoElementHelp: 232 case WebLocalizedString::AXMediaVideoElementHelp:
233 return IDS_AX_MEDIA_VIDEO_ELEMENT_HELP; 233 return IDS_AX_MEDIA_VIDEO_ELEMENT_HELP;
234 case WebLocalizedString::AXMediaMuteButtonHelp: 234 case WebLocalizedString::AXMediaMuteButtonHelp:
235 return IDS_AX_MEDIA_MUTE_BUTTON_HELP; 235 return IDS_AX_MEDIA_MUTE_BUTTON_HELP;
236 case WebLocalizedString::AXMediaUnMuteButtonHelp: 236 case WebLocalizedString::AXMediaUnMuteButtonHelp:
237 return IDS_AX_MEDIA_UNMUTE_BUTTON_HELP; 237 return IDS_AX_MEDIA_UNMUTE_BUTTON_HELP;
238 case WebLocalizedString::AXMediaPlayButtonHelp: 238 case WebLocalizedString::AXMediaPlayButtonHelp:
239 return IDS_AX_MEDIA_PLAY_BUTTON_HELP; 239 return IDS_AX_MEDIA_PLAY_BUTTON_HELP;
240 case WebLocalizedString::AXMediaPauseButtonHelp: 240 case WebLocalizedString::AXMediaPauseButtonHelp:
241 return IDS_AX_MEDIA_PAUSE_BUTTON_HELP; 241 return IDS_AX_MEDIA_PAUSE_BUTTON_HELP;
242 case WebLocalizedString::AXMediaSliderHelp: 242 case WebLocalizedString::AXMediaAudioSliderHelp:
243 return IDS_AX_MEDIA_SLIDER_HELP; 243 return IDS_AX_MEDIA_AUDIO_SLIDER_HELP;
244 case WebLocalizedString::AXMediaVideoSliderHelp:
245 return IDS_AX_MEDIA_VIDEO_SLIDER_HELP;
244 case WebLocalizedString::AXMediaSliderThumbHelp: 246 case WebLocalizedString::AXMediaSliderThumbHelp:
245 return IDS_AX_MEDIA_SLIDER_THUMB_HELP; 247 return IDS_AX_MEDIA_SLIDER_THUMB_HELP;
246 case WebLocalizedString::AXMediaCurrentTimeDisplayHelp: 248 case WebLocalizedString::AXMediaCurrentTimeDisplayHelp:
247 return IDS_AX_MEDIA_CURRENT_TIME_DISPLAY_HELP; 249 return IDS_AX_MEDIA_CURRENT_TIME_DISPLAY_HELP;
248 case WebLocalizedString::AXMediaTimeRemainingDisplayHelp: 250 case WebLocalizedString::AXMediaTimeRemainingDisplayHelp:
249 return IDS_AX_MEDIA_TIME_REMAINING_DISPLAY_HELP; 251 return IDS_AX_MEDIA_TIME_REMAINING_DISPLAY_HELP;
250 case WebLocalizedString::AXMediaStatusDisplayHelp: 252 case WebLocalizedString::AXMediaStatusDisplayHelp:
251 return IDS_AX_MEDIA_STATUS_DISPLAY_HELP; 253 return IDS_AX_MEDIA_STATUS_DISPLAY_HELP;
252 case WebLocalizedString::AXMediaEnterFullscreenButtonHelp: 254 case WebLocalizedString::AXMediaEnterFullscreenButtonHelp:
253 return IDS_AX_MEDIA_ENTER_FULL_SCREEN_BUTTON_HELP; 255 return IDS_AX_MEDIA_ENTER_FULL_SCREEN_BUTTON_HELP;
(...skipping 958 matching lines...) Expand 10 before | Expand all | Expand 10 after
1212 } 1214 }
1213 1215
1214 // static 1216 // static
1215 void BlinkPlatformImpl::DestroyCurrentThread(void* thread) { 1217 void BlinkPlatformImpl::DestroyCurrentThread(void* thread) {
1216 WebThreadImplForMessageLoop* impl = 1218 WebThreadImplForMessageLoop* impl =
1217 static_cast<WebThreadImplForMessageLoop*>(thread); 1219 static_cast<WebThreadImplForMessageLoop*>(thread);
1218 delete impl; 1220 delete impl;
1219 } 1221 }
1220 1222
1221 } // namespace content 1223 } // namespace content
OLDNEW
« no previous file with comments | « content/app/strings/content_strings.grd ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698