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

Unified Diff: chrome/browser/resources/mediaplayer.html

Issue 1759007: Refactor parts of the NTP to split things into more managable chunks.... (Closed) Base URL: svn://chrome-svn/chrome/trunk/src/
Patch Set: Revert class/tag name changes in html file Created 10 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: chrome/browser/resources/mediaplayer.html
===================================================================
--- chrome/browser/resources/mediaplayer.html (revision 45471)
+++ chrome/browser/resources/mediaplayer.html (working copy)
@@ -259,7 +259,7 @@
}
</style>
-<script src='local_strings.js'></script>
+<script src="shared/js/local_strings.js"></script>
<script>
function $(o) {
@@ -326,7 +326,7 @@
mediaElement.removeEventListener("play", onMediaPlay, true);
mediaElement.removeEventListener("pause", onMediaPause, true);
currentItem ++;
-
+
if (currentItem >= currentPlaylist.length) {
currentItem = -1;
return;
@@ -346,7 +346,7 @@
var pausebutton = $('pausebutton');
var playbutton = $('playbutton');
playbutton.style.display = 'block';
- pausebutton.style.display = 'none';
+ pausebutton.style.display = 'none';
};
function setupMediaEvents(element) {
@@ -444,8 +444,8 @@
playbutton.className = controlsclass + ' playbutton';
playbutton.onclick = playPauseButtonClick;
element.appendChild(playbutton);
-
+
var pausebutton = document.createElement('div');
pausebutton.id = 'pausebutton';
pausebutton.className = controlsclass + ' pausebutton';
@@ -480,7 +480,7 @@
var sliderback = document.createElement('div');
sliderback.className = 'sliderback';
element.appendChild(sliderback);
-
+
var loaded = document.createElement('div');
loaded.id = 'sliderloaded';
loaded.className = 'sliderloaded';

Powered by Google App Engine
This is Rietveld 408576698