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

Issue 6696085: Add the ability to write comments to PNGCodec::Encode. (Closed)

Created:
9 years, 9 months ago by tony
Modified:
9 years, 5 months ago
CC:
chromium-reviews, darin-cc_chromium.org, pam+watch_chromium.org, Paweł Hajdan Jr.
Visibility:
Public.

Description

Add the ability to write comments to PNGCodec::Encode. I'm going to use this to write layout test checksums to the expected png files. Committed: http://src.chromium.org/viewvc/chrome?view=rev&revision=79592

Patch Set 1 #

Patch Set 2 : with webkit_support function #

Total comments: 6

Patch Set 3 : brett's comments #

Patch Set 4 : enable PNG_TEXT_SUPPORTED #

Patch Set 5 : strdup #

Total comments: 1
Unified diffs Side-by-side diffs Delta from patch set Stats (+213 lines, -52 lines) Patch
M chrome/browser/ui/window_snapshot/window_snapshot_win.cc View 2 chunks +3 lines, -1 line 0 comments Download
M printing/image.cc View 1 chunk +2 lines, -2 lines 0 comments Download
M skia/ext/image_operations_unittest.cc View 2 chunks +3 lines, -2 lines 0 comments Download
M skia/ext/vector_canvas_unittest.cc View 2 chunks +3 lines, -2 lines 0 comments Download
M third_party/libpng/pngusr.h View 1 2 3 1 chunk +0 lines, -1 line 0 comments Download
M tools/imagediff/DEPS View 1 2 3 1 chunk +1 line, -1 line 0 comments Download
M tools/imagediff/image_diff.cc View 3 chunks +5 lines, -3 lines 0 comments Download
M ui/gfx/codec/png_codec.h View 1 2 6 chunks +20 lines, -4 lines 0 comments Download
M ui/gfx/codec/png_codec.cc View 1 2 3 4 9 chunks +82 lines, -9 lines 0 comments Download
M ui/gfx/codec/png_codec_unittest.cc View 8 chunks +63 lines, -18 lines 0 comments Download
M webkit/support/webkit_support_gfx.h View 1 2 chunks +31 lines, -9 lines 1 comment Download

Messages

Total messages: 5 (0 generated)
tony
9 years, 9 months ago (2011-03-24 22:04:23 UTC) #1
brettw
LGTM http://codereview.chromium.org/6696085/diff/3001/ui/gfx/codec/png_codec.cc File ui/gfx/codec/png_codec.cc (right): http://codereview.chromium.org/6696085/diff/3001/ui/gfx/codec/png_codec.cc#newcode554 ui/gfx/codec/png_codec.cc:554: : comments_(comments), png_text_(new png_text[comments.size()]) { Style guide implies ...
9 years, 9 months ago (2011-03-25 00:06:09 UTC) #2
tony
Can you take another look? I had to remove PNG_NO_WRITE_TEXT from pnguser.h to enable this ...
9 years, 9 months ago (2011-03-25 01:04:44 UTC) #3
brettw
LGTM. Why don't you ping the binary size reduction task force to tell them about ...
9 years, 9 months ago (2011-03-26 18:33:20 UTC) #4
darin (slow to review)
9 years, 5 months ago (2011-07-09 06:24:45 UTC) #5
http://codereview.chromium.org/6696085/diff/1020/webkit/support/webkit_suppor...
File webkit/support/webkit_support_gfx.h (right):

http://codereview.chromium.org/6696085/diff/1020/webkit/support/webkit_suppor...
webkit/support/webkit_support_gfx.h:31: gfx::Size(width, height),
row_byte_width, false,
FYI: this had the side effect of making DumpRenderTree need to link to the Size
constructor and destructor, which means for the DLL build, DumpRenderTree now
needs to link to ui.dll (containing gfx::Size).  Instead, I plan on making these
non-inline.

Powered by Google App Engine
This is Rietveld 408576698