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

Unified Diff: ui/gfx/codec/tiff_codec.h

Issue 6849030: Add support for multi resolution icons (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Created 9 years, 8 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: ui/gfx/codec/tiff_codec.h
diff --git a/ui/gfx/codec/tiff_codec.h b/ui/gfx/codec/tiff_codec.h
new file mode 100644
index 0000000000000000000000000000000000000000..88926da9ed4961ceeef124e415ca8f19e1aacea1
--- /dev/null
+++ b/ui/gfx/codec/tiff_codec.h
@@ -0,0 +1,28 @@
+// Copyright (c) 2011 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 UI_GFX_CODEC_TIFF_CODEC_H_
+#define UI_GFX_CODEC_TIFF_CODEC_H_
+#pragma once
+
+#include <vector>
+
+#include "base/basictypes.h"
+
+class SkBitmap;
+
+namespace gfx {
+
+class TIFFCodec {
+ public:
+ static bool Decode(const unsigned char* input, size_t input_size,
+ std::vector<SkBitmap>& bitmaps);
+
+ private:
+ DISALLOW_COPY_AND_ASSIGN(TIFFCodec);
+};
+
+} // namespace gfx
+
+#endif // UI_GFX_CODEC_TIFF_CODEC_H_

Powered by Google App Engine
This is Rietveld 408576698