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

Side by Side Diff: ui/file_manager/video_player/js/cast/cast_video_element.js

Issue 676633002: Remove file-level 'use strict' from file_manager. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 6 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 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 'use strict';
6
7 /** 5 /**
8 * Interval for updating media info (in ms). 6 * Interval for updating media info (in ms).
9 * @type {number} 7 * @type {number}
10 * @const 8 * @const
11 */ 9 */
12 var MEDIA_UPDATE_INTERVAL = 250; 10 var MEDIA_UPDATE_INTERVAL = 250;
13 11
14 /** 12 /**
15 * The namespace for communication between the cast and the player. 13 * The namespace for communication between the cast and the player.
16 * @type {string} 14 * @type {string}
(...skipping 475 matching lines...) Expand 10 before | Expand all | Expand 10 after
492 this.dispatchEvent(new Event('durationchange')); 490 this.dispatchEvent(new Event('durationchange'));
493 } 491 }
494 492
495 // Media is being unloaded. 493 // Media is being unloaded.
496 if (!alive) { 494 if (!alive) {
497 this.unloadMedia_(); 495 this.unloadMedia_();
498 return; 496 return;
499 } 497 }
500 }, 498 },
501 }; 499 };
OLDNEW
« no previous file with comments | « ui/file_manager/video_player/js/cast/cast_extension_discoverer.js ('k') | ui/file_manager/video_player/js/cast/caster.js » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698