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

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

Issue 246543002: Add script files of the separated Gallery.app. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Rebased. Created 6 years, 7 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
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 'use strict'; 5 'use strict';
6 6
7 /** 7 /**
8 * A namespace class for image encoding functions. All methods are static. 8 * A namespace class for image encoding functions. All methods are static.
9 */ 9 */
10 function ImageEncoder() {} 10 function ImageEncoder() {}
(...skipping 208 matching lines...) Expand 10 before | Expand all | Expand 10 after
219 findInsertionRange = function(encodedImage) { return {from: 0, to: 0} }; 219 findInsertionRange = function(encodedImage) { return {from: 0, to: 0} };
220 220
221 /** 221 /**
222 * Return serialized metadata ready to write to an image file. 222 * Return serialized metadata ready to write to an image file.
223 * The return type is optimized for passing to Blob.append. 223 * The return type is optimized for passing to Blob.append.
224 * @return {ArrayBuffer} // TODO(JSDOC). 224 * @return {ArrayBuffer} // TODO(JSDOC).
225 */ 225 */
226 ImageEncoder.MetadataEncoder.prototype.encode = function() { 226 ImageEncoder.MetadataEncoder.prototype.encode = function() {
227 return new Uint8Array(0).buffer; 227 return new Uint8Array(0).buffer;
228 }; 228 };
OLDNEW
« no previous file with comments | « ui/file_manager/gallery/js/image_editor/image_editor.js ('k') | ui/file_manager/gallery/js/image_editor/image_transform.js » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698