OLD | NEW |
1 // Copyright (c) 2012 The Chromium Authors. All rights reserved. | 1 // Copyright (c) 2012 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'; | 5 'use strict'; |
6 | 6 |
7 /** | 7 /** |
8 * Display error message. | 8 * Display error message. |
9 * @param {string} message Message id. | 9 * @param {string} message Message id. |
10 */ | 10 */ |
(...skipping 259 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
270 selectedItemFilesystemPath = null; | 270 selectedItemFilesystemPath = null; |
271 webkitResolveLocalFileSystemURL(src, | 271 webkitResolveLocalFileSystemURL(src, |
272 function(entry) { | 272 function(entry) { |
273 if (video && video.src != src) return; | 273 if (video && video.src != src) return; |
274 selectedItemFilesystemPath = entry.fullPath; | 274 selectedItemFilesystemPath = entry.fullPath; |
275 }); | 275 }); |
276 }); | 276 }); |
277 } | 277 } |
278 | 278 |
279 util.addPageLoadHandler(loadVideoPlayer); | 279 util.addPageLoadHandler(loadVideoPlayer); |
OLD | NEW |