| Index: webkit/glue/webkit_glue.h
|
| ===================================================================
|
| --- webkit/glue/webkit_glue.h (revision 4189)
|
| +++ webkit/glue/webkit_glue.h (working copy)
|
| @@ -41,6 +41,7 @@
|
| } // namespace WebCore
|
|
|
| class SkBitmap;
|
| +class Clipboard;
|
|
|
| #if defined(OS_MACOSX)
|
| typedef struct CGImage* CGImageRef;
|
| @@ -193,26 +194,9 @@
|
|
|
| // Glue to access the clipboard.
|
|
|
| -// Clear the clipboard. It is usually a good idea to clear the clipboard
|
| -// before writing content to the clipboard.
|
| -void ClipboardClear();
|
| +// Get a clipboard that can be used to construct a ScopedClipboardWriterGlue.
|
| +Clipboard* ClipboardGetClipboard();
|
|
|
| -// Adds UNICODE and ASCII text to the clipboard.
|
| -void ClipboardWriteText(const std::wstring& text);
|
| -
|
| -// Adds HTML to the clipboard. The url parameter is optional, but especially
|
| -// useful if the HTML fragment contains relative links
|
| -void ClipboardWriteHTML(const std::wstring& html, const GURL& url);
|
| -
|
| -// Adds a bookmark to the clipboard
|
| -void ClipboardWriteBookmark(const std::wstring& title, const GURL& url);
|
| -
|
| -// Adds a bitmap to the clipboard
|
| -void ClipboardWriteBitmap(const SkBitmap& bitmap);
|
| -
|
| -// Used by WebKit to determine whether WebKit wrote the clipboard last
|
| -void ClipboardWriteWebSmartPaste();
|
| -
|
| // Tests whether the clipboard contains a certain format
|
| bool ClipboardIsFormatAvailable(unsigned int format);
|
|
|
|
|