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

Side by Side Diff: chrome/browser/resources/file_manager/js/metadata/exif_parser.js

Issue 9583009: [File Manager] Cleanup: Moving js/css/html files to dedicated directories (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: 2011->2012 Created 8 years, 9 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 const EXIF_MARK_SOI = 0xffd8; // Start of image data. 5 const EXIF_MARK_SOI = 0xffd8; // Start of image data.
6 const EXIF_MARK_SOS = 0xffda; // Start of "stream" (the actual image data). 6 const EXIF_MARK_SOS = 0xffda; // Start of "stream" (the actual image data).
7 const EXIF_MARK_SOF = 0xffc0; // Start of "frame" 7 const EXIF_MARK_SOF = 0xffc0; // Start of "frame"
8 const EXIF_MARK_EXIF = 0xffe1; // Start of exif block. 8 const EXIF_MARK_EXIF = 0xffe1; // Start of exif block.
9 9
10 const EXIF_ALIGN_LITTLE = 0x4949; // Indicates little endian exif data. 10 const EXIF_ALIGN_LITTLE = 0x4949; // Indicates little endian exif data.
(...skipping 345 matching lines...) Expand 10 before | Expand all | Expand 10 after
356 return { 356 return {
357 scaleX: ExifParser.SCALEX[index], 357 scaleX: ExifParser.SCALEX[index],
358 scaleY: ExifParser.SCALEY[index], 358 scaleY: ExifParser.SCALEY[index],
359 rotate90: ExifParser.ROTATE90[index] 359 rotate90: ExifParser.ROTATE90[index]
360 } 360 }
361 } 361 }
362 return null; 362 return null;
363 }; 363 };
364 364
365 MetadataDispatcher.registerParserClass(ExifParser); 365 MetadataDispatcher.registerParserClass(ExifParser);
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698