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

Side by Side Diff: ui/file_manager/gallery/js/image_editor/exif_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 // TODO:(kaznacheev) Share the EXIF constants with exif_parser.js 7 // TODO:(kaznacheev) Share the EXIF constants with exif_parser.js
8 var EXIF_MARK_SOS = 0xffda; // Start of "stream" (the actual image data). 8 var EXIF_MARK_SOS = 0xffda; // Start of "stream" (the actual image data).
9 var EXIF_MARK_SOI = 0xffd8; // Start of image data. 9 var EXIF_MARK_SOI = 0xffd8; // Start of image data.
10 var EXIF_MARK_EOI = 0xffd9; // End of image data. 10 var EXIF_MARK_EOI = 0xffd9; // End of image data.
(...skipping 549 matching lines...) Expand 10 before | Expand all | Expand 10 after
560 }; 560 };
561 561
562 /** 562 /**
563 * Check if every forward has been resolved, throw and error if not. 563 * Check if every forward has been resolved, throw and error if not.
564 */ 564 */
565 ByteWriter.prototype.checkResolved = function() { 565 ByteWriter.prototype.checkResolved = function() {
566 for (var key in this.forwards_) { 566 for (var key in this.forwards_) {
567 throw new Error('Unresolved forward pointer ' + key.toString(16)); 567 throw new Error('Unresolved forward pointer ' + key.toString(16));
568 } 568 }
569 }; 569 };
OLDNEW
« no previous file with comments | « ui/file_manager/gallery/js/image_editor/commands.js ('k') | ui/file_manager/gallery/js/image_editor/filter.js » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698