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

Side by Side Diff: webkit/support/webkit_support_gfx.h

Issue 10202008: Add EncodeRGBAPNGWithChecksum method. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src/
Patch Set: Created 8 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 unified diff | Download patch | Annotate | Revision Log
« no previous file with comments | « no previous file | webkit/support/webkit_support_gfx.cc » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
1 // Copyright (c) 2011 The Chromium Authors. All rights reserved. 1 // Copyright (c) 2011 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 #ifndef WEBKIT_SUPPORT_WEBKIT_SUPPORT_GFX_H_ 5 #ifndef WEBKIT_SUPPORT_WEBKIT_SUPPORT_GFX_H_
6 #define WEBKIT_SUPPORT_WEBKIT_SUPPORT_GFX_H_ 6 #define WEBKIT_SUPPORT_WEBKIT_SUPPORT_GFX_H_
7 7
8 #include <string> 8 #include <string>
9 #include <vector> 9 #include <vector>
10 10
(...skipping 20 matching lines...) Expand all
31 std::vector<unsigned char>* output); 31 std::vector<unsigned char>* output);
32 32
33 bool EncodeBGRAPNGWithChecksum(const unsigned char* input, 33 bool EncodeBGRAPNGWithChecksum(const unsigned char* input,
34 int width, 34 int width,
35 int height, 35 int height,
36 int row_byte_width, 36 int row_byte_width,
37 bool discard_transparency, 37 bool discard_transparency,
38 const std::string& checksum, 38 const std::string& checksum,
39 std::vector<unsigned char>* output); 39 std::vector<unsigned char>* output);
40 40
41 bool EncodeRGBAPNGWithChecksum(const unsigned char* input,
42 int width,
43 int height,
44 int row_byte_width,
45 bool discard_transparency,
46 const std::string& checksum,
47 std::vector<unsigned char>* output);
48
41 } // namespace webkit_support 49 } // namespace webkit_support
42 50
43 #endif // WEBKIT_SUPPORT_WEBKIT_SUPPORT_GFX_H_ 51 #endif // WEBKIT_SUPPORT_WEBKIT_SUPPORT_GFX_H_
OLDNEW
« no previous file with comments | « no previous file | webkit/support/webkit_support_gfx.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698