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

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

Issue 676633002: Remove file-level 'use strict' from file_manager. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 6 years, 1 month 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';
6
7 /** 5 /**
8 * 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
9 * but do not modify the image dimensions. 7 * but do not modify the image dimensions.
10 * @constructor 8 * @constructor
11 * @extends {ImageEditor.Mode} 9 * @extends {ImageEditor.Mode}
12 */ 10 */
13 ImageEditor.Mode.Adjust = function() { 11 ImageEditor.Mode.Adjust = function() {
14 ImageEditor.Mode.apply(this, arguments); 12 ImageEditor.Mode.apply(this, arguments);
15 this.implicitCommit = true; 13 this.implicitCommit = true;
16 this.doneMessage_ = null; 14 this.doneMessage_ = null;
(...skipping 222 matching lines...) Expand 10 before | Expand all | Expand 10 after
239 {__proto__: ImageEditor.Mode.Adjust.prototype}; 237 {__proto__: ImageEditor.Mode.Adjust.prototype};
240 238
241 /** 239 /**
242 * TODO(JSDOC) 240 * TODO(JSDOC)
243 * @param {ImageEditor.Toolbar} toolbar The toolbar to populate. 241 * @param {ImageEditor.Toolbar} toolbar The toolbar to populate.
244 */ 242 */
245 ImageEditor.Mode.Sharpen.prototype.createTools = function(toolbar) { 243 ImageEditor.Mode.Sharpen.prototype.createTools = function(toolbar) {
246 toolbar.addRange('strength', 'GALLERY_STRENGTH', 0, 0, 1, 100); 244 toolbar.addRange('strength', 'GALLERY_STRENGTH', 0, 0, 1, 100);
247 toolbar.addRange('radius', 'GALLERY_RADIUS', 1, 1, 3); 245 toolbar.addRange('radius', 'GALLERY_RADIUS', 1, 1, 3);
248 }; 246 };
OLDNEW
« no previous file with comments | « ui/file_manager/gallery/js/image_editor/filter.js ('k') | ui/file_manager/gallery/js/image_editor/image_buffer.js » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698