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

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

Issue 1018953002: [Audio Player] Remove durationChanged hander in 'control-panel' element (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 5 years, 9 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 | « no previous file | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: ui/file_manager/audio_player/elements/control_panel.js
diff --git a/ui/file_manager/audio_player/elements/control_panel.js b/ui/file_manager/audio_player/elements/control_panel.js
index 877f26eeafccb9c8047c25b641434d9ff1514f92..e4de2f68a077ac742d1dd27c04524ea519e76412 100644
--- a/ui/file_manager/audio_player/elements/control_panel.js
+++ b/ui/file_manager/audio_player/elements/control_panel.js
@@ -115,16 +115,6 @@
playing: false,
/**
- * Invoked when the 'duration' property is changed.
- * @param {number} oldValue old value.
- * @param {number} newValue new value.
- */
- durationChanged: function(oldValue, newValue) {
- // Reset the current playback position.
- this.time = 0;
- },
-
- /**
* Invoked when the next button is clicked.
*/
nextClick: function() {
« no previous file with comments | « no previous file | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698