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

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

Issue 1408533002: Turn on verbose flag for compiling file_manager. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Rebase and address review comments. Created 5 years, 2 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
Index: ui/file_manager/gallery/js/image_editor/image_adjust.js
diff --git a/ui/file_manager/gallery/js/image_editor/image_adjust.js b/ui/file_manager/gallery/js/image_editor/image_adjust.js
index 5592c61fb9eaa16ec7ea7df251aa5805bc1bdb46..8c1b1c6953eca83a108261252b4625178898d19f 100644
--- a/ui/file_manager/gallery/js/image_editor/image_adjust.js
+++ b/ui/file_manager/gallery/js/image_editor/image_adjust.js
@@ -33,7 +33,7 @@ ImageEditor.Mode.Adjust = function(name, title) {
this.viewportGeneration_ = 0;
/**
- * @type {?string}
+ * @type {?function(!ImageData,!ImageData,number,number)}
* @private
*/
this.filter_ = null;
@@ -232,12 +232,6 @@ ImageEditor.Mode.Autofix.prototype =
{__proto__: ImageEditor.Mode.ColorFilter.prototype};
/** @override */
-ImageEditor.Mode.Autofix.prototype.createTools = function(toolbar) {
- var self = this;
- toolbar.addButton('Apply', 'Apply', this.apply.bind(this));
Dan Beam 2015/10/20 00:33:38 i have very little clue what this did, but you're
fukino 2015/10/20 04:13:07 Yeah, this code was wrong, but this function is no
-};
-
-/** @override */
ImageEditor.Mode.Autofix.prototype.isApplicable = function() {
return this.getImageView().hasValidImage() &&
filter.autofix.isApplicable(this.getHistogram());

Powered by Google App Engine
This is Rietveld 408576698