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

Unified Diff: include/images/SkImageDecoder.h

Issue 14298010: Updates to images project. (Closed) Base URL: https://skia.googlecode.com/svn/trunk
Patch Set: Name changes Created 7 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
« no previous file with comments | « gyp/images.gyp ('k') | include/images/SkImageEncoder.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: include/images/SkImageDecoder.h
diff --git a/include/images/SkImageDecoder.h b/include/images/SkImageDecoder.h
index 33802ed03cc86530c6943b454887d4082e29940c..38e77f4df765e7139f0f2507f57fbd4e0c00ae23 100644
--- a/include/images/SkImageDecoder.h
+++ b/include/images/SkImageDecoder.h
@@ -26,7 +26,7 @@ class SkImageDecoder {
public:
virtual ~SkImageDecoder();
- // Should be consistent with kFormatName
+ // Should be consistent with sFormatName
enum Format {
kUnknown_Format,
kBMP_Format,
@@ -40,11 +40,12 @@ public:
kLastKnownFormat = kWEBP_Format
};
- /** Return the compressed data's format (see Format enum)
+ /** Return the format of image this decoder can decode. If this decoder can decode multiple
+ formats, kUnknown_Format will be returned.
*/
virtual Format getFormat() const;
- /** Return the compressed data's format name.
+ /** Return a readable string of the value returned by getFormat().
*/
const char* getFormatName() const;
« no previous file with comments | « gyp/images.gyp ('k') | include/images/SkImageEncoder.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698