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

Side by Side Diff: third_party/WebKit/public/web/WebImageDecoder.h

Issue 2388103002: reflow comments in public/web (Closed)
Patch Set: Created 4 years, 2 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
OLDNEW
1 /* 1 /*
2 * Copyright (C) 2010 Google Inc. All rights reserved. 2 * Copyright (C) 2010 Google Inc. All rights reserved.
3 * 3 *
4 * Redistribution and use in source and binary forms, with or without 4 * Redistribution and use in source and binary forms, with or without
5 * modification, are permitted provided that the following conditions are 5 * modification, are permitted provided that the following conditions are
6 * met: 6 * met:
7 * 7 *
8 * * Redistributions of source code must retain the above copyright 8 * * Redistributions of source code must retain the above copyright
9 * notice, this list of conditions and the following disclaimer. 9 * notice, this list of conditions and the following disclaimer.
10 * * Redistributions in binary form must reproduce the above 10 * * Redistributions in binary form must reproduce the above
(...skipping 47 matching lines...) Expand 10 before | Expand all | Expand 10 after
58 58
59 // Returns true if image decoding failed. 59 // Returns true if image decoding failed.
60 BLINK_EXPORT bool isFailed() const; 60 BLINK_EXPORT bool isFailed() const;
61 61
62 // Returns true if size information is available for the decoder. 62 // Returns true if size information is available for the decoder.
63 BLINK_EXPORT bool isSizeAvailable() const; 63 BLINK_EXPORT bool isSizeAvailable() const;
64 64
65 // Returns the size of the image. 65 // Returns the size of the image.
66 BLINK_EXPORT WebSize size() const; 66 BLINK_EXPORT WebSize size() const;
67 67
68 // Gives frame count for the image. For multiple frames, decoder scans the ima ge data for the count. 68 // Gives frame count for the image. For multiple frames, decoder scans the
69 // image data for the count.
69 BLINK_EXPORT size_t frameCount() const; 70 BLINK_EXPORT size_t frameCount() const;
70 71
71 // Returns if the frame at given index is completely decoded. 72 // Returns if the frame at given index is completely decoded.
72 BLINK_EXPORT bool isFrameCompleteAtIndex(int index) const; 73 BLINK_EXPORT bool isFrameCompleteAtIndex(int index) const;
73 74
74 // Creates and returns WebImage from buffer at the index. 75 // Creates and returns WebImage from buffer at the index.
75 BLINK_EXPORT WebImage getFrameAtIndex(int index) const; 76 BLINK_EXPORT WebImage getFrameAtIndex(int index) const;
76 77
77 private: 78 private:
78 // Creates type-specific decoder. 79 // Creates type-specific decoder.
79 BLINK_EXPORT void init(Type type); 80 BLINK_EXPORT void init(Type type);
80 81
81 WebImageDecoderPrivate* m_private; 82 WebImageDecoderPrivate* m_private;
82 }; 83 };
83 84
84 } // namespace blink 85 } // namespace blink
85 86
86 #endif 87 #endif
OLDNEW
« no previous file with comments | « third_party/WebKit/public/web/WebHitTestResult.h ('k') | third_party/WebKit/public/web/WebLocalFrame.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698