webkit  2cdf99a9e3038c7e01b3c37e8ad903ecbe5eecf1
https://github.com/WebKit/webkit
Public Member Functions | Static Public Member Functions | List of all members
WebCore::PlatformPasteboard Class Reference

#include <PlatformPasteboard.h>

Public Member Functions

WEBCORE_EXPORT PlatformPasteboard (const String &pasteboardName)
 
WEBCORE_EXPORT void getTypes (Vector< String > &types)
 
WEBCORE_EXPORT RefPtr< SharedBufferbufferForType (const String &pasteboardType)
 
WEBCORE_EXPORT void getPathnamesForType (Vector< String > &pathnames, const String &pasteboardType)
 
WEBCORE_EXPORT String stringForType (const String &pasteboardType)
 
WEBCORE_EXPORT long changeCount () const
 
WEBCORE_EXPORT Color color ()
 
WEBCORE_EXPORT URL url ()
 
WEBCORE_EXPORT long addTypes (const Vector< String > &pasteboardTypes)
 
WEBCORE_EXPORT long setTypes (const Vector< String > &pasteboardTypes)
 
WEBCORE_EXPORT long copy (const String &fromPasteboard)
 
WEBCORE_EXPORT long setBufferForType (SharedBuffer *, const String &pasteboardType)
 
WEBCORE_EXPORT long setPathnamesForType (const Vector< String > &pathnames, const String &pasteboardType)
 
WEBCORE_EXPORT long setStringForType (const String &, const String &pasteboardType)
 
WEBCORE_EXPORT void write (const PasteboardWebContent &)
 
WEBCORE_EXPORT void write (const PasteboardImage &)
 
WEBCORE_EXPORT void write (const String &pasteboardType, const String &)
 
WEBCORE_EXPORT RefPtr< SharedBufferreadBuffer (int index, const String &pasteboardType)
 
WEBCORE_EXPORT String readString (int index, const String &pasteboardType)
 
WEBCORE_EXPORT URL readURL (int index, const String &pasteboardType)
 
WEBCORE_EXPORT int count ()
 
WEBCORE_EXPORT PlatformPasteboard (const String &pasteboardName)
 
WEBCORE_EXPORT void getTypes (Vector< String > &types)
 
WEBCORE_EXPORT RefPtr< SharedBufferbufferForType (const String &pasteboardType)
 
WEBCORE_EXPORT void getPathnamesForType (Vector< String > &pathnames, const String &pasteboardType)
 
WEBCORE_EXPORT String stringForType (const String &pasteboardType)
 
WEBCORE_EXPORT long changeCount () const
 
WEBCORE_EXPORT Color color ()
 
WEBCORE_EXPORT URL url ()
 
WEBCORE_EXPORT long addTypes (const Vector< String > &pasteboardTypes)
 
WEBCORE_EXPORT long setTypes (const Vector< String > &pasteboardTypes)
 
WEBCORE_EXPORT long copy (const String &fromPasteboard)
 
WEBCORE_EXPORT long setBufferForType (SharedBuffer *, const String &pasteboardType)
 
WEBCORE_EXPORT long setPathnamesForType (const Vector< String > &pathnames, const String &pasteboardType)
 
WEBCORE_EXPORT long setStringForType (const String &, const String &pasteboardType)
 
WEBCORE_EXPORT void write (const PasteboardWebContent &)
 
WEBCORE_EXPORT void write (const PasteboardImage &)
 
WEBCORE_EXPORT void write (const String &pasteboardType, const String &)
 
WEBCORE_EXPORT RefPtr< SharedBufferreadBuffer (int index, const String &pasteboardType)
 
WEBCORE_EXPORT String readString (int index, const String &pasteboardType)
 
WEBCORE_EXPORT URL readURL (int index, const String &pasteboardType)
 
WEBCORE_EXPORT int count ()
 

Static Public Member Functions

static WEBCORE_EXPORT String uniqueName ()
 
static WEBCORE_EXPORT String uniqueName ()
 

Constructor & Destructor Documentation

◆ PlatformPasteboard() [1/2]

WebCore::PlatformPasteboard::PlatformPasteboard ( const String pasteboardName)
explicit

◆ PlatformPasteboard() [2/2]

WEBCORE_EXPORT WebCore::PlatformPasteboard::PlatformPasteboard ( const String pasteboardName)
explicit

Member Function Documentation

◆ addTypes() [1/2]

long WebCore::PlatformPasteboard::addTypes ( const Vector< String > &  pasteboardTypes)

◆ addTypes() [2/2]

WEBCORE_EXPORT long WebCore::PlatformPasteboard::addTypes ( const Vector< String > &  pasteboardTypes)

◆ bufferForType() [1/2]

RefPtr< SharedBuffer > WebCore::PlatformPasteboard::bufferForType ( const String pasteboardType)

◆ bufferForType() [2/2]

WEBCORE_EXPORT RefPtr<SharedBuffer> WebCore::PlatformPasteboard::bufferForType ( const String pasteboardType)

◆ changeCount() [1/2]

long WebCore::PlatformPasteboard::changeCount ( ) const

◆ changeCount() [2/2]

WEBCORE_EXPORT long WebCore::PlatformPasteboard::changeCount ( ) const

◆ color() [1/2]

WEBCORE_EXPORT Color WebCore::PlatformPasteboard::color ( )

◆ color() [2/2]

Color WebCore::PlatformPasteboard::color ( )

◆ copy() [1/2]

WEBCORE_EXPORT long WebCore::PlatformPasteboard::copy ( const String fromPasteboard)

◆ copy() [2/2]

long WebCore::PlatformPasteboard::copy ( const String fromPasteboard)

◆ count() [1/2]

int WebCore::PlatformPasteboard::count ( )

◆ count() [2/2]

WEBCORE_EXPORT int WebCore::PlatformPasteboard::count ( )

◆ getPathnamesForType() [1/2]

void WebCore::PlatformPasteboard::getPathnamesForType ( Vector< String > &  pathnames,
const String pasteboardType 
)

◆ getPathnamesForType() [2/2]

WEBCORE_EXPORT void WebCore::PlatformPasteboard::getPathnamesForType ( Vector< String > &  pathnames,
const String pasteboardType 
)

◆ getTypes() [1/2]

WEBCORE_EXPORT void WebCore::PlatformPasteboard::getTypes ( Vector< String > &  types)

◆ getTypes() [2/2]

void WebCore::PlatformPasteboard::getTypes ( Vector< String > &  types)

◆ readBuffer() [1/2]

RefPtr< SharedBuffer > WebCore::PlatformPasteboard::readBuffer ( int  index,
const String pasteboardType 
)

◆ readBuffer() [2/2]

WEBCORE_EXPORT RefPtr<SharedBuffer> WebCore::PlatformPasteboard::readBuffer ( int  index,
const String pasteboardType 
)

◆ readString() [1/2]

WEBCORE_EXPORT String WebCore::PlatformPasteboard::readString ( int  index,
const String pasteboardType 
)

◆ readString() [2/2]

String WebCore::PlatformPasteboard::readString ( int  index,
const String pasteboardType 
)

◆ readURL() [1/2]

WEBCORE_EXPORT URL WebCore::PlatformPasteboard::readURL ( int  index,
const String pasteboardType 
)

◆ readURL() [2/2]

URL WebCore::PlatformPasteboard::readURL ( int  index,
const String pasteboardType 
)

◆ setBufferForType() [1/2]

WEBCORE_EXPORT long WebCore::PlatformPasteboard::setBufferForType ( SharedBuffer ,
const String pasteboardType 
)

◆ setBufferForType() [2/2]

long WebCore::PlatformPasteboard::setBufferForType ( SharedBuffer buffer,
const String pasteboardType 
)

◆ setPathnamesForType() [1/2]

WEBCORE_EXPORT long WebCore::PlatformPasteboard::setPathnamesForType ( const Vector< String > &  pathnames,
const String pasteboardType 
)

◆ setPathnamesForType() [2/2]

long WebCore::PlatformPasteboard::setPathnamesForType ( const Vector< String > &  pathnames,
const String pasteboardType 
)

◆ setStringForType() [1/2]

WEBCORE_EXPORT long WebCore::PlatformPasteboard::setStringForType ( const String ,
const String pasteboardType 
)

◆ setStringForType() [2/2]

long WebCore::PlatformPasteboard::setStringForType ( const String string,
const String pasteboardType 
)

◆ setTypes() [1/2]

long WebCore::PlatformPasteboard::setTypes ( const Vector< String > &  pasteboardTypes)

◆ setTypes() [2/2]

WEBCORE_EXPORT long WebCore::PlatformPasteboard::setTypes ( const Vector< String > &  pasteboardTypes)

◆ stringForType() [1/2]

String WebCore::PlatformPasteboard::stringForType ( const String pasteboardType)

◆ stringForType() [2/2]

WEBCORE_EXPORT String WebCore::PlatformPasteboard::stringForType ( const String pasteboardType)

◆ uniqueName() [1/2]

String WebCore::PlatformPasteboard::uniqueName ( )
static

◆ uniqueName() [2/2]

static WEBCORE_EXPORT String WebCore::PlatformPasteboard::uniqueName ( )
static

◆ url() [1/2]

URL WebCore::PlatformPasteboard::url ( )

◆ url() [2/2]

WEBCORE_EXPORT URL WebCore::PlatformPasteboard::url ( )

◆ write() [1/6]

WEBCORE_EXPORT void WebCore::PlatformPasteboard::write ( const PasteboardWebContent )

◆ write() [2/6]

void WebCore::PlatformPasteboard::write ( const PasteboardWebContent content)

◆ write() [3/6]

void WebCore::PlatformPasteboard::write ( const PasteboardImage pasteboardImage)

◆ write() [4/6]

WEBCORE_EXPORT void WebCore::PlatformPasteboard::write ( const PasteboardImage )

◆ write() [5/6]

void WebCore::PlatformPasteboard::write ( const String pasteboardType,
const String text 
)

◆ write() [6/6]

WEBCORE_EXPORT void WebCore::PlatformPasteboard::write ( const String pasteboardType,
const String  
)

The documentation for this class was generated from the following files: