| OLD | NEW |
| 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 * Called from the main frame when unloading. | 6 * Called from the main frame when unloading. |
| 9 * @param {boolean=} opt_exiting True if the app is exiting. | 7 * @param {boolean=} opt_exiting True if the app is exiting. |
| 10 */ | 8 */ |
| 11 function unload(opt_exiting) { Gallery.instance.onUnload(opt_exiting); } | 9 function unload(opt_exiting) { Gallery.instance.onUnload(opt_exiting); } |
| 12 | 10 |
| 13 /** | 11 /** |
| 14 * Overrided metadata worker's path. | 12 * Overrided metadata worker's path. |
| 15 * @type {string} | 13 * @type {string} |
| 16 * @const | 14 * @const |
| (...skipping 1023 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 1040 }; | 1038 }; |
| 1041 | 1039 |
| 1042 /** | 1040 /** |
| 1043 * Loads entries. | 1041 * Loads entries. |
| 1044 * @param {!Array.<Entry>} entries Array of entries. | 1042 * @param {!Array.<Entry>} entries Array of entries. |
| 1045 * @param {!Array.<Entry>} selectedEntries Array of selected entries. | 1043 * @param {!Array.<Entry>} selectedEntries Array of selected entries. |
| 1046 */ | 1044 */ |
| 1047 window.loadEntries = function(entries, selectedEntries) { | 1045 window.loadEntries = function(entries, selectedEntries) { |
| 1048 gallery.load(entries, selectedEntries); | 1046 gallery.load(entries, selectedEntries); |
| 1049 }; | 1047 }; |
| OLD | NEW |