Chromium Code Reviews| Index: ui/file_manager/gallery/js/gallery.js |
| diff --git a/ui/file_manager/gallery/js/gallery.js b/ui/file_manager/gallery/js/gallery.js |
| index 899b7fffc553302fe1b5994297a379cc0d4280a1..97ac5ab21a6a4dfa8f6595dc759eb29ce374dbc6 100644 |
| --- a/ui/file_manager/gallery/js/gallery.js |
| +++ b/ui/file_manager/gallery/js/gallery.js |
| @@ -879,6 +879,13 @@ Gallery.prototype.updateButtons_ = function() { |
| }; |
| /** |
| + * Enters the debug mode. |
| + */ |
| +Gallery.prototype.debugMe = function() { |
| + this.mosaicMode_.debugMe(); |
| +}; |
| + |
| +/** |
| * Singleton gallery. |
| * @type {Gallery} |
| */ |
| @@ -901,3 +908,10 @@ window.initialize = function(backgroundComponents) { |
| window.loadEntries = function(entries, selectedEntries) { |
| gallery.load(entries, selectedEntries); |
| }; |
| + |
| +/** |
| + * Entres the debug mode. |
|
fukino
2015/01/09 11:29:03
typo: Entres
hirono
2015/01/13 03:13:13
Done.
|
| + */ |
| +window.debugMe = function() { |
| + gallery.debugMe(); |
| +}; |