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

Unified Diff: ui/file_manager/gallery/js/gallery.js

Issue 809803006: Gallery: Add debugMe method to Gallery. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 5 years, 11 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 side-by-side diff with in-line comments
Download patch
« no previous file with comments | « ui/file_manager/gallery/css/gallery.css ('k') | ui/file_manager/gallery/js/mosaic_mode.js » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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..37fe5e3cb5ca4f06cf0d3e6abbad63c61727cca2 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);
};
+
+/**
+ * Enteres the debug mode.
+ */
+window.debugMe = function() {
+ gallery.debugMe();
+};
« no previous file with comments | « ui/file_manager/gallery/css/gallery.css ('k') | ui/file_manager/gallery/js/mosaic_mode.js » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698