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

Side by Side Diff: ui/file_manager/audio_player/elements/track_list.js

Issue 641283002: Separate the audio player app from Files.app Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Clean up Created 6 years, 2 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 unified diff | Download patch
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 (function() { 5 (function() {
6 'use strict'; 6 'use strict';
7 7
8 Polymer('track-list', { 8 Polymer('track-list', {
9 /** 9 /**
10 * Initializes an element. This method is called automatically when the 10 * Initializes an element. This method is called automatically when the
(...skipping 277 matching lines...) Expand 10 before | Expand all | Expand 10 after
288 288
289 var newTrackIndex = this.playOrder[newPlayOrder]; 289 var newTrackIndex = this.playOrder[newPlayOrder];
290 console.assert( 290 console.assert(
291 (0 <= newTrackIndex && newTrackIndex < this.tracks.length), 291 (0 <= newTrackIndex && newTrackIndex < this.tracks.length),
292 'Insufficient TrackList.playOrder. New Play Order: ' + newPlayOrder); 292 'Insufficient TrackList.playOrder. New Play Order: ' + newPlayOrder);
293 293
294 return newTrackIndex; 294 return newTrackIndex;
295 }, 295 },
296 }); // Polymer('track-list') block 296 }); // Polymer('track-list') block
297 })(); // Anonymous closure 297 })(); // Anonymous closure
OLDNEW
« no previous file with comments | « ui/file_manager/audio_player/elements/track_list.css ('k') | ui/file_manager/audio_player/elements/volume_controller.css » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698