diff options
author | jeremy@chromium.org <jeremy@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2008-10-02 22:31:31 +0000 |
---|---|---|
committer | jeremy@chromium.org <jeremy@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2008-10-02 22:31:31 +0000 |
commit | b8a21ec037ae12cda22e6429fa6581f98d2914ba (patch) | |
tree | a8cf2388b32014b23a56bdf778efb148a18a9970 /base/clipboard.h | |
parent | aad08754d7ff3be93fd415a36a588fadd2e34bd0 (diff) | |
download | chromium_src-b8a21ec037ae12cda22e6429fa6581f98d2914ba.zip chromium_src-b8a21ec037ae12cda22e6429fa6581f98d2914ba.tar.gz chromium_src-b8a21ec037ae12cda22e6429fa6581f98d2914ba.tar.bz2 |
Bring up clipboard_unittest.cc on the Mac.
Review URL: http://codereview.chromium.org/6424
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@2815 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'base/clipboard.h')
-rw-r--r-- | base/clipboard.h | 24 |
1 files changed, 24 insertions, 0 deletions
diff --git a/base/clipboard.h b/base/clipboard.h index a3cec1a..0496324 100644 --- a/base/clipboard.h +++ b/base/clipboard.h @@ -13,7 +13,11 @@ #include "base/shared_memory.h" #if defined(OS_MACOSX) +#if defined(__OBJC__) @class NSString; +#else +class NSString; +#endif #endif class Clipboard { @@ -91,6 +95,26 @@ class Clipboard { // out parameter. void ReadFile(std::wstring* file) const; void ReadFiles(std::vector<std::wstring>* files) const; + + // Get format Identifiers for various types. + static FormatType GetUrlFormatType(); + static FormatType GetUrlWFormatType(); + static FormatType GetMozUrlFormatType(); + static FormatType GetPlainTextFormatType(); + static FormatType GetPlainTextWFormatType(); + static FormatType GetFilenameFormatType(); + static FormatType GetFilenameWFormatType(); + // Win: MS HTML Format, Other: Generic HTML format + static FormatType GetHtmlFormatType(); +#if defined(OS_WIN) + static FormatType GetBitmapFormatType(); + // Firefox text/html + static FormatType GetTextHtmlFormatType(); + static FormatType GetCFHDropFormatType(); + static FormatType GetFileDescriptorFormatType(); + static FormatType GetFileContentFormatZeroType(); + static FormatType GetWebKitSmartPasteFormatType(); +#endif private: #if defined(OS_WIN) |