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

Side by Side Diff: ui/file_manager/gallery/js/image_editor/image_adjust.js

Issue 571453002: Correct indentation, JSDoc, etc... to comply with closure linter. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Rebase Created 6 years, 3 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
OLDNEW
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'; 5 'use strict';
6 6
7 /** 7 /**
8 * The base class for simple filters that only modify the image content 8 * The base class for simple filters that only modify the image content
9 * but do not modify the image dimensions. 9 * but do not modify the image dimensions.
10 * @constructor 10 * @constructor
11 * @extends ImageEditor.Mode 11 * @extends {ImageEditor.Mode}
12 */ 12 */
13 ImageEditor.Mode.Adjust = function() { 13 ImageEditor.Mode.Adjust = function() {
14 ImageEditor.Mode.apply(this, arguments); 14 ImageEditor.Mode.apply(this, arguments);
15 this.implicitCommit = true; 15 this.implicitCommit = true;
16 this.doneMessage_ = null; 16 this.doneMessage_ = null;
17 this.viewportGeneration_ = 0; 17 this.viewportGeneration_ = 0;
18 }; 18 };
19 19
20 ImageEditor.Mode.Adjust.prototype = {__proto__: ImageEditor.Mode.prototype}; 20 ImageEditor.Mode.Adjust.prototype = {__proto__: ImageEditor.Mode.prototype};
21 21
(...skipping 217 matching lines...) Expand 10 before | Expand all | Expand 10 after
239 {__proto__: ImageEditor.Mode.Adjust.prototype}; 239 {__proto__: ImageEditor.Mode.Adjust.prototype};
240 240
241 /** 241 /**
242 * TODO(JSDOC) 242 * TODO(JSDOC)
243 * @param {ImageEditor.Toolbar} toolbar The toolbar to populate. 243 * @param {ImageEditor.Toolbar} toolbar The toolbar to populate.
244 */ 244 */
245 ImageEditor.Mode.Sharpen.prototype.createTools = function(toolbar) { 245 ImageEditor.Mode.Sharpen.prototype.createTools = function(toolbar) {
246 toolbar.addRange('strength', 'GALLERY_STRENGTH', 0, 0, 1, 100); 246 toolbar.addRange('strength', 'GALLERY_STRENGTH', 0, 0, 1, 100);
247 toolbar.addRange('radius', 'GALLERY_RADIUS', 1, 1, 3); 247 toolbar.addRange('radius', 'GALLERY_RADIUS', 1, 1, 3);
248 }; 248 };
OLDNEW
« no previous file with comments | « ui/file_manager/gallery/js/image_editor/filter.js ('k') | ui/file_manager/gallery/js/image_editor/image_editor.js » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698