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

Unified Diff: app/gfx/codec/jpeg_codec.h

Issue 243076: Move the JPEG and PNG codecs from base/gfx to app/gfx/codec. Move the classes... (Closed) Base URL: svn://chrome-svn/chrome/trunk/src/
Patch Set: '' Created 11 years, 3 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 side-by-side diff with in-line comments
Download patch
Index: app/gfx/codec/jpeg_codec.h
===================================================================
--- app/gfx/codec/jpeg_codec.h (revision 0)
+++ app/gfx/codec/jpeg_codec.h (working copy)
@@ -1,14 +1,16 @@
-// Copyright (c) 2006-2008 The Chromium Authors. All rights reserved.
+// Copyright (c) 2009 The Chromium Authors. All rights reserved.
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.
-#ifndef BASE_GFX_JPEG_CODEC_H_
-#define BASE_GFX_JPEG_CODEC_H_
+#ifndef APP_GFX_CODEC_JPEG_CODEC_H_
+#define APP_GFX_CODEC_JPEG_CODEC_H_
#include <vector>
class SkBitmap;
+namespace gfx {
+
// Interface for encoding/decoding JPEG data. This is a wrapper around libjpeg,
// which has an inconvenient interface for callers. This is only used for UI
// elements, WebKit has its own more complicated JPEG decoder which handles,
@@ -56,4 +58,6 @@
static SkBitmap* Decode(const unsigned char* input, size_t input_size);
};
-#endif // BASE_GFX_JPEG_CODEC_H_
+} // namespace gfx
+
+#endif // APP_GFX_CODEC_JPEG_CODEC_H_
Property changes on: app/gfx/codec/jpeg_codec.h
___________________________________________________________________
Added: svn:mergeinfo
Merged /branches/chrome_webkit_merge_branch/base/gfx/jpeg_codec.h:r69-2775
« no previous file with comments | « app/gfx/codec/DEPS ('k') | app/gfx/codec/jpeg_codec.cc » ('j') | build/common.gypi » ('J')

Powered by Google App Engine
This is Rietveld 408576698