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

Unified Diff: ui/file_manager/audio_player/elements/audio_player.js

Issue 1435223003: Revert of AudioPlayer: Start playing a track when play icon on the track list is clicked. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 5 years, 1 month 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: ui/file_manager/audio_player/elements/audio_player.js
diff --git a/ui/file_manager/audio_player/elements/audio_player.js b/ui/file_manager/audio_player/elements/audio_player.js
index d1da4d0cb2ef458721435ff1fdf33f65fbe2aac1..7b6cab4d7cfd521fa08d9c5739709061ef579766 100644
--- a/ui/file_manager/audio_player/elements/audio_player.js
+++ b/ui/file_manager/audio_player/elements/audio_player.js
@@ -281,13 +281,6 @@
this.time = (this.lastAudioUpdateTime_ = this.$.audio.currentTime * 1000);
this.duration = this.$.audio.duration * 1000;
this.playing = !this.$.audio.paused;
- },
-
- /**
- * Invoked when receivig a request to start playing the current music.
- */
- onPlayCurrentTrack: function() {
- this.$.audio.play();
},
/**
« no previous file with comments | « ui/file_manager/audio_player/elements/audio_player.html ('k') | ui/file_manager/audio_player/elements/track_list.css » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698