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

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

Issue 1432393003: Revert of AudioPlayer: Update volume controls. (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 a050d3cbdb5d55e8292a1157066a5176e5fc274a..7b6cab4d7cfd521fa08d9c5739709061ef579766 100644
--- a/ui/file_manager/audio_player/elements/audio_player.js
+++ b/ui/file_manager/audio_player/elements/audio_player.js
@@ -57,14 +57,6 @@
},
/**
- * Whether the volume slider is shown.
- */
- volumeSliderShown: {
- type: Boolean,
- observer: 'volumeSliderShownChanged'
- },
-
- /**
* Track index of the current track.
*/
currentTrackIndex: {
@@ -140,14 +132,6 @@
expandedChanged: function(expanded) {
if (this.model)
this.model.expanded = expanded;
- },
-
- /**
- * Handles change event for volumeSliderShown state.
- */
- volumeSliderShownChanged: function(volumeSliderShown) {
- if (this.model)
- this.model.volumeSliderShown = volumeSliderShown;
},
/**
@@ -238,7 +222,6 @@
this.repeat = newModel.repeat;
this.volume = newModel.volume;
this.expanded = newModel.expanded;
- this.volumeSliderShown = newModel.volumeSliderShown;
}
},
« no previous file with comments | « ui/file_manager/audio_player/elements/audio_player.html ('k') | ui/file_manager/audio_player/elements/compiled_resources.gyp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698