OLD | NEW |
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 '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 |
(...skipping 228 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
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 }; |
OLD | NEW |