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

Side by Side Diff: chrome/browser/resources/file_manager/js/image_editor/image_adjust.js

Issue 12212160: [Cleanup] Files.app: Fill 'TODO' comments to missing descriptions in @return annotation. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Created 7 years, 10 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 unified diff | Download patch | Annotate | Revision Log
« no previous file with comments | « no previous file | chrome/browser/resources/file_manager/js/metadata/id3_parser.js » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
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 /** 5 /**
6 * The base class for simple filters that only modify the image content 6 * The base class for simple filters that only modify the image content
7 * but do not modify the image dimensions. 7 * but do not modify the image dimensions.
8 * @constructor 8 * @constructor
9 * @extends ImageEditor.Mode 9 * @extends ImageEditor.Mode
10 */ 10 */
(...skipping 153 matching lines...) Expand 10 before | Expand all | Expand 10 after
164 * TODO(JSDOC) 164 * TODO(JSDOC)
165 * @param {ImageEditor.Toolbar} toolbar The toolbar to populate. 165 * @param {ImageEditor.Toolbar} toolbar The toolbar to populate.
166 */ 166 */
167 ImageEditor.Mode.Autofix.prototype.createTools = function(toolbar) { 167 ImageEditor.Mode.Autofix.prototype.createTools = function(toolbar) {
168 var self = this; 168 var self = this;
169 toolbar.addButton('Apply', this.apply.bind(this)); 169 toolbar.addButton('Apply', this.apply.bind(this));
170 }; 170 };
171 171
172 /** 172 /**
173 * TODO(JSDOC) 173 * TODO(JSDOC)
174 * @return {boolean} //TODO(JSDOC) 174 * @return {boolean} //TODO(JSDOC).
175 */ 175 */
176 ImageEditor.Mode.Autofix.prototype.isApplicable = function() { 176 ImageEditor.Mode.Autofix.prototype.isApplicable = function() {
177 return this.getImageView().hasValidImage() && 177 return this.getImageView().hasValidImage() &&
178 filter.autofix.isApplicable(this.getHistogram()); 178 filter.autofix.isApplicable(this.getHistogram());
179 }; 179 };
180 180
181 /** 181 /**
182 * TODO(JSDOC) 182 * TODO(JSDOC)
183 */ 183 */
184 ImageEditor.Mode.Autofix.prototype.apply = function() { 184 ImageEditor.Mode.Autofix.prototype.apply = function() {
(...skipping 52 matching lines...) Expand 10 before | Expand all | Expand 10 after
237 {__proto__: ImageEditor.Mode.Adjust.prototype}; 237 {__proto__: ImageEditor.Mode.Adjust.prototype};
238 238
239 /** 239 /**
240 * TODO(JSDOC) 240 * TODO(JSDOC)
241 * @param {ImageEditor.Toolbar} toolbar The toolbar to populate. 241 * @param {ImageEditor.Toolbar} toolbar The toolbar to populate.
242 */ 242 */
243 ImageEditor.Mode.Sharpen.prototype.createTools = function(toolbar) { 243 ImageEditor.Mode.Sharpen.prototype.createTools = function(toolbar) {
244 toolbar.addRange('strength', 0, 0, 1, 100); 244 toolbar.addRange('strength', 0, 0, 1, 100);
245 toolbar.addRange('radius', 1, 1, 3); 245 toolbar.addRange('radius', 1, 1, 3);
246 }; 246 };
OLDNEW
« no previous file with comments | « no previous file | chrome/browser/resources/file_manager/js/metadata/id3_parser.js » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698