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

Unified Diff: webkit/port/platform/chromium/ClipboardChromium.cpp

Issue 11247: Remove cf_html from webdropdata.h. This is windows (Closed)
Patch Set: fix feedback Created 12 years, 1 month 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
Index: webkit/port/platform/chromium/ClipboardChromium.cpp
diff --git a/webkit/port/platform/chromium/ClipboardChromium.cpp b/webkit/port/platform/chromium/ClipboardChromium.cpp
index 663a341d134e535077896dd510448e54ffda6669..5087cdf63c47492c223dfbf232456b7b2a75933f 100644
--- a/webkit/port/platform/chromium/ClipboardChromium.cpp
+++ b/webkit/port/platform/chromium/ClipboardChromium.cpp
@@ -331,6 +331,7 @@ void ClipboardChromium::writeURL(const KURL& url, const String& title, Frame*)
// The URL can also be used as an HTML fragment.
m_dataObject->text_html = urlToMarkup(url, title);
+ m_dataObject->html_base_url = url;
}
void ClipboardChromium::writeRange(Range* selectedRange, Frame* frame)
@@ -341,6 +342,7 @@ void ClipboardChromium::writeRange(Range* selectedRange, Frame* frame)
m_dataObject->text_html = createMarkup(selectedRange, 0,
AnnotateForInterchange);
+ m_dataObject->html_base_url = frame->document()->url();
String str = frame->selectedText();
#if PLATFORM(WIN_OS)
« no previous file with comments | « webkit/port/platform/chromium/ChromiumDataObject.cpp ('k') | webkit/port/platform/chromium/DragDataChromium.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698