Home
last modified time | relevance | path

Searched refs:cf_html (Results 1 – 5 of 5) sorted by relevance

/external/chromium_org/ui/base/clipboard/
Dclipboard_util_win.cc435 void ClipboardUtil::CFHtmlToHtml(const std::string& cf_html, in CFHtmlToHtml() argument
442 cf_html, base_url, NULL, &fragment_start, &fragment_end); in CFHtmlToHtml()
447 *html = cf_html.substr(fragment_start, fragment_end - fragment_start); in CFHtmlToHtml()
452 void ClipboardUtil::CFHtmlExtractMetadata(const std::string& cf_html, in CFHtmlExtractMetadata() argument
460 size_t line_start = cf_html.find(src_url_str); in CFHtmlExtractMetadata()
462 size_t src_end = cf_html.find("\n", line_start); in CFHtmlExtractMetadata()
465 *base_url = cf_html.substr(src_start, src_end - src_start); in CFHtmlExtractMetadata()
475 std::string cf_html_lower = base::StringToLowerASCII(cf_html); in CFHtmlExtractMetadata()
480 size_t tag_start = cf_html.find("<!--StartFragment", markup_start); in CFHtmlExtractMetadata()
483 size_t start_fragment_start = cf_html.find(start_fragment_str); in CFHtmlExtractMetadata()
[all …]
Dclipboard_util_win.h64 static void CFHtmlToHtml(const std::string& cf_html,
67 static void CFHtmlExtractMetadata(const std::string& cf_html,
Dclipboard_win.cc501 std::string cf_html(static_cast<const char*>(::GlobalLock(data))); in ReadHTML()
507 ClipboardUtil::CFHtmlExtractMetadata(cf_html, src_url, &html_start, in ReadHTML()
523 markup->assign(base::UTF8ToUTF16AndAdjustOffsets(cf_html.data() + html_start, in ReadHTML()
Dclipboard_unittest.cc645 void HtmlTestHelper(const std::string& cf_html, in HtmlTestHelper() argument
648 ClipboardUtil::CFHtmlToHtml(cf_html, &html, NULL); in HtmlTestHelper()
/external/chromium_org/ui/base/dragdrop/
Dos_exchange_data_provider_win.cc392 std::string cf_html = ClipboardUtil::HtmlToCFHtml(utf8_html, url); in SetHtml() local
393 STGMEDIUM* storage = GetStorageForBytes(cf_html.c_str(), cf_html.size()); in SetHtml()