Home
last modified time | relevance | path

Searched refs:ChromiumDataObjectItem (Results 1 – 16 of 16) sorted by relevance

/external/chromium_org/third_party/WebKit/Source/core/platform/chromium/
DChromiumDataObjectItem.cpp43 PassRefPtr<ChromiumDataObjectItem> ChromiumDataObjectItem::createFromString(const String& type, con… in createFromString()
45 RefPtr<ChromiumDataObjectItem> item = adoptRef(new ChromiumDataObjectItem(StringKind, type)); in createFromString()
50 PassRefPtr<ChromiumDataObjectItem> ChromiumDataObjectItem::createFromFile(PassRefPtr<File> file) in createFromFile()
52 …RefPtr<ChromiumDataObjectItem> item = adoptRef(new ChromiumDataObjectItem(FileKind, file->type())); in createFromFile()
57 PassRefPtr<ChromiumDataObjectItem> ChromiumDataObjectItem::createFromURL(const String& url, const S… in createFromURL()
59 …RefPtr<ChromiumDataObjectItem> item = adoptRef(new ChromiumDataObjectItem(StringKind, mimeTypeText… in createFromURL()
65 PassRefPtr<ChromiumDataObjectItem> ChromiumDataObjectItem::createFromHTML(const String& html, const… in createFromHTML()
67 …RefPtr<ChromiumDataObjectItem> item = adoptRef(new ChromiumDataObjectItem(StringKind, mimeTypeText… in createFromHTML()
73 PassRefPtr<ChromiumDataObjectItem> ChromiumDataObjectItem::createFromSharedBuffer(const String& nam… in createFromSharedBuffer()
75 RefPtr<ChromiumDataObjectItem> item = adoptRef(new ChromiumDataObjectItem(FileKind, String())); in createFromSharedBuffer()
[all …]
DChromiumDataObject.cpp55 … dataObject->m_itemList.append(ChromiumDataObjectItem::createFromPasteboard(*it, sequenceNumber)); in createFromPasteboard()
75 PassRefPtr<ChromiumDataObjectItem> ChromiumDataObject::item(unsigned long index) in item()
94 PassRefPtr<ChromiumDataObjectItem> ChromiumDataObject::add(const String& data, const String& type) in add()
96 RefPtr<ChromiumDataObjectItem> item = ChromiumDataObjectItem::createFromString(type, data); in add()
102 PassRefPtr<ChromiumDataObjectItem> ChromiumDataObject::add(PassRefPtr<File> file) in add()
107 RefPtr<ChromiumDataObjectItem> item = ChromiumDataObjectItem::createFromFile(file); in add()
115 …if (m_itemList[i]->kind() == ChromiumDataObjectItem::StringKind && m_itemList[i]->type() == type) { in clearData()
126 if (m_itemList[i]->kind() != ChromiumDataObjectItem::FileKind) { in clearAllExceptFiles()
140 case ChromiumDataObjectItem::StringKind: in types()
143 case ChromiumDataObjectItem::FileKind: in types()
[all …]
DChromiumDataObjectItem.h47 class ChromiumDataObjectItem : public RefCounted<ChromiumDataObjectItem> {
54 …static PassRefPtr<ChromiumDataObjectItem> createFromString(const String& type, const String& data);
55 static PassRefPtr<ChromiumDataObjectItem> createFromFile(PassRefPtr<File>);
56 static PassRefPtr<ChromiumDataObjectItem> createFromURL(const String& url, const String& title);
57 … static PassRefPtr<ChromiumDataObjectItem> createFromHTML(const String& html, const KURL& baseURL);
58 …static PassRefPtr<ChromiumDataObjectItem> createFromSharedBuffer(const String& filename, PassRefPt…
59 …static PassRefPtr<ChromiumDataObjectItem> createFromPasteboard(const String& type, uint64_t sequen…
79 ChromiumDataObjectItem(Kind, const String& type);
80 ChromiumDataObjectItem(Kind, const String& type, uint64_t sequenceNumber);
DChromiumDataObject.h61 PassRefPtr<ChromiumDataObjectItem> item(unsigned long index);
66 PassRefPtr<ChromiumDataObjectItem> add(const String& data, const String& type);
67 PassRefPtr<ChromiumDataObjectItem> add(PassRefPtr<File>);
97 PassRefPtr<ChromiumDataObjectItem> findStringItem(const String& type) const;
98 bool internalAddStringItem(PassRefPtr<ChromiumDataObjectItem>);
99 void internalAddFileItem(PassRefPtr<ChromiumDataObjectItem>);
101 Vector<RefPtr<ChromiumDataObjectItem> > m_itemList;
/external/chromium_org/third_party/WebKit/Source/core/dom/
DDataTransferItem.h42 class ChromiumDataObjectItem; variable
50 …tic PassRefPtr<DataTransferItem> create(PassRefPtr<Clipboard>, PassRefPtr<ChromiumDataObjectItem>);
60 ChromiumDataObjectItem* dataObjectItem() { return m_item.get(); } in dataObjectItem()
63 DataTransferItem(PassRefPtr<Clipboard>, PassRefPtr<ChromiumDataObjectItem>);
66 RefPtr<ChromiumDataObjectItem> m_item;
DDataTransferItem.cpp42 … DataTransferItem::create(PassRefPtr<Clipboard> clipboard, PassRefPtr<ChromiumDataObjectItem> item) in create()
58 case ChromiumDataObjectItem::StringKind: in kind()
60 case ChromiumDataObjectItem::FileKind: in kind()
90 …ferItem::DataTransferItem(PassRefPtr<Clipboard> clipboard, PassRefPtr<ChromiumDataObjectItem> item) in DataTransferItem()
DDataTransferItemList.cpp58 RefPtr<ChromiumDataObjectItem> item = m_dataObject->item(index); in item()
85 RefPtr<ChromiumDataObjectItem> item = m_dataObject->add(data, type); in add()
97 RefPtr<ChromiumDataObjectItem> item = m_dataObject->add(file); in add()
DClipboard.cpp204 if (m_dataObject->item(i)->kind() == ChromiumDataObjectItem::FileKind) { in files()
/external/chromium_org/third_party/WebKit/Source/web/
DWebDragData.cpp74 ChromiumDataObjectItem* originalItem = m_private->item(i).get(); in items()
76 if (originalItem->kind() == ChromiumDataObjectItem::StringKind) { in items()
80 } else if (originalItem->kind() == ChromiumDataObjectItem::FileKind) { in items()
/external/chromium_org/third_party/WebKit/Source/core/
Dwebcore_platform.target.linux-mips.mk33 third_party/WebKit/Source/core/platform/chromium/ChromiumDataObjectItem.cpp \
Dwebcore_platform.target.darwin-mips.mk33 third_party/WebKit/Source/core/platform/chromium/ChromiumDataObjectItem.cpp \
Dwebcore_platform.target.darwin-arm.mk33 third_party/WebKit/Source/core/platform/chromium/ChromiumDataObjectItem.cpp \
Dwebcore_platform.target.linux-arm.mk33 third_party/WebKit/Source/core/platform/chromium/ChromiumDataObjectItem.cpp \
Dwebcore_platform.target.linux-x86.mk33 third_party/WebKit/Source/core/platform/chromium/ChromiumDataObjectItem.cpp \
Dwebcore_platform.target.darwin-x86.mk33 third_party/WebKit/Source/core/platform/chromium/ChromiumDataObjectItem.cpp \
Dcore.gypi2701 'platform/chromium/ChromiumDataObjectItem.cpp',
2702 'platform/chromium/ChromiumDataObjectItem.h',