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

Issue 11247: Remove cf_html from webdropdata.h. This is windows (Closed)

Created:
12 years, 1 month ago by tony
Modified:
9 years, 7 months ago
Reviewers:
sky, Evan Stade
CC:
chromium-reviews_googlegroups.com
Visibility:
Public.

Description

Remove cf_html from webdropdata.h. This is windows specific code so we should handle it before we get to webkit. CF_HTML needs the source URL to resolve relative URLs so I added that to the format and plumb it through from webcore. I also did some small refactoring so we only have one implementation of converting to/from CF_HTML and regular markup. We can tweak these converters (and add unit tests) in follow up changes.

Patch Set 1 #

Patch Set 2 : fix unittests #

Patch Set 3 : undo moves #

Patch Set 4 : fix feedback #

Unified diffs Side-by-side diffs Delta from patch set Stats (+224 lines, -291 lines) Patch
M base/clipboard.h View 1 chunk +0 lines, -8 lines 0 comments Download
M base/clipboard_util.h View 1 chunk +9 lines, -3 lines 0 comments Download
M base/clipboard_util.cc View 1 2 3 chunks +128 lines, -19 lines 0 comments Download
M base/clipboard_win.cc View 3 chunks +6 lines, -103 lines 0 comments Download
M base/scoped_clipboard_writer.cc View 1 chunk +1 line, -1 line 0 comments Download
M chrome/browser/web_contents_view_win.cc View 1 chunk +2 lines, -2 lines 0 comments Download
M chrome/common/os_exchange_data.h View 3 chunks +4 lines, -4 lines 0 comments Download
M chrome/common/os_exchange_data.cc View 1 2 3 2 chunks +18 lines, -5 lines 0 comments Download
M chrome/common/os_exchange_data_unittest.cc View 2 chunks +24 lines, -6 lines 0 comments Download
M chrome/common/render_messages.h View 2 chunks +2 lines, -2 lines 0 comments Download
M webkit/glue/clipboard_conversion.cc View 1 2 3 chunks +2 lines, -114 lines 0 comments Download
M webkit/glue/webdropdata.h View 1 2 3 1 chunk +4 lines, -7 lines 0 comments Download
M webkit/glue/webdropdata.cc View 1 chunk +5 lines, -2 lines 0 comments Download
M webkit/port/platform/chromium/ChromiumDataObject.h View 1 chunk +1 line, -0 lines 0 comments Download
M webkit/port/platform/chromium/ChromiumDataObject.cpp View 1 chunk +1 line, -0 lines 0 comments Download
M webkit/port/platform/chromium/ClipboardChromium.cpp View 2 chunks +2 lines, -0 lines 0 comments Download
M webkit/port/platform/chromium/DragDataChromium.cpp View 1 chunk +15 lines, -15 lines 0 comments Download

Messages

Total messages: 5 (0 generated)
tony
12 years, 1 month ago (2008-11-18 23:31:11 UTC) #1
Evan Stade
base/ changes look good to me http://codereview.chromium.org/11247/diff/201/35 File base/clipboard_util.cc (right): http://codereview.chromium.org/11247/diff/201/35#newcode473 Line 473: // -->". ...
12 years, 1 month ago (2008-11-18 23:58:15 UTC) #2
sky
http://codereview.chromium.org/11247/diff/201/40 File chrome/common/os_exchange_data.cc (right): http://codereview.chromium.org/11247/diff/201/40#newcode45 Line 45: source->ptd = I see this code is just ...
12 years, 1 month ago (2008-11-19 00:05:37 UTC) #3
tony
I think I addressed all the comments from Evan and Scott. I moved the CloneFormatEtc ...
12 years, 1 month ago (2008-11-19 00:31:06 UTC) #4
sky
12 years, 1 month ago (2008-11-19 00:41:46 UTC) #5
LGTM

Powered by Google App Engine
This is Rietveld 408576698