diff options
author | The Android Open Source Project <initial-contribution@android.com> | 2008-10-21 07:00:00 -0700 |
---|---|---|
committer | The Android Open Source Project <initial-contribution@android.com> | 2008-10-21 07:00:00 -0700 |
commit | 9364f22aed35e1a1e9d07c121510f80be3ab0502 (patch) | |
tree | d49911209b132da58d838efa852daf28d516df21 /WebCore/platform/win/ClipboardUtilitiesWin.h | |
parent | 87eb0cb35bad8784770ebc807e6c982432e47107 (diff) | |
download | external_webkit-9364f22aed35e1a1e9d07c121510f80be3ab0502.zip external_webkit-9364f22aed35e1a1e9d07c121510f80be3ab0502.tar.gz external_webkit-9364f22aed35e1a1e9d07c121510f80be3ab0502.tar.bz2 |
Initial Contribution
Diffstat (limited to 'WebCore/platform/win/ClipboardUtilitiesWin.h')
-rw-r--r-- | WebCore/platform/win/ClipboardUtilitiesWin.h | 22 |
1 files changed, 12 insertions, 10 deletions
diff --git a/WebCore/platform/win/ClipboardUtilitiesWin.h b/WebCore/platform/win/ClipboardUtilitiesWin.h index a92a4bf..49898ea 100644 --- a/WebCore/platform/win/ClipboardUtilitiesWin.h +++ b/WebCore/platform/win/ClipboardUtilitiesWin.h @@ -31,12 +31,14 @@ namespace WebCore { +class CString; +class DeprecatedCString; class Document; class KURL; class String; -HGLOBAL createGlobalData(const String&); -HGLOBAL createGlobalData(const Vector<char>&); +HGLOBAL createGlobalData(String str); +HGLOBAL createGlobalData(CString str); HGLOBAL createGlobalData(const KURL& url, const String& title); FORMATETC* urlWFormat(); @@ -49,21 +51,21 @@ FORMATETC* htmlFormat(); FORMATETC* cfHDropFormat(); FORMATETC* smartPasteFormat(); -void markupToCF_HTML(const String& markup, const String& srcURL, Vector<char>& result); +DeprecatedCString markupToCF_HTML(const String& markup, const String& srcURL); String urlToMarkup(const KURL& url, const String& title); -void replaceNewlinesWithWindowsStyleNewlines(String&); -void replaceNBSPWithSpace(String&); +void replaceNewlinesWithWindowsStyleNewlines(String& str); +void replaceNBSPWithSpace(String& str); bool containsFilenames(const IDataObject*); -bool containsHTML(IDataObject*); +bool containsHTML(IDataObject* data); PassRefPtr<DocumentFragment> fragmentFromFilenames(Document*, const IDataObject*); -PassRefPtr<DocumentFragment> fragmentFromHTML(Document*, IDataObject*); -PassRefPtr<DocumentFragment> fragmentFromCF_HTML(Document*, const String& cf_html); +PassRefPtr<DocumentFragment> fragmentFromHTML(Document* doc, IDataObject* data); +PassRefPtr<DocumentFragment> fragmentFromCF_HTML(Document* doc, const String& cf_html); -String getURL(IDataObject*, bool& success, String* title = 0); -String getPlainText(IDataObject*, bool& success); +String getURL(IDataObject* dataObject, bool& success, String* title = 0); +String getPlainText(IDataObject* dataObject, bool& success); } // namespace WebCore |