Home
last modified time | relevance | path

Searched refs:DataObjectItem (Results 1 – 23 of 23) sorted by relevance

/external/chromium_org/third_party/WebKit/Source/core/clipboard/
DDataObjectItem.cpp42 PassRefPtrWillBeRawPtr<DataObjectItem> DataObjectItem::createFromString(const String& type, const S… in createFromString()
44 …RefPtrWillBeRawPtr<DataObjectItem> item = adoptRefWillBeNoop(new DataObjectItem(StringKind, type)); in createFromString()
49 PassRefPtrWillBeRawPtr<DataObjectItem> DataObjectItem::createFromFile(PassRefPtrWillBeRawPtr<File> … in createFromFile()
51 …RefPtrWillBeRawPtr<DataObjectItem> item = adoptRefWillBeNoop(new DataObjectItem(FileKind, file->ty… in createFromFile()
56 PassRefPtrWillBeRawPtr<DataObjectItem> DataObjectItem::createFromURL(const String& url, const Strin… in createFromURL()
58 …RefPtrWillBeRawPtr<DataObjectItem> item = adoptRefWillBeNoop(new DataObjectItem(StringKind, mimeTy… in createFromURL()
64 PassRefPtrWillBeRawPtr<DataObjectItem> DataObjectItem::createFromHTML(const String& html, const KUR… in createFromHTML()
66 …RefPtrWillBeRawPtr<DataObjectItem> item = adoptRefWillBeNoop(new DataObjectItem(StringKind, mimeTy… in createFromHTML()
72 PassRefPtrWillBeRawPtr<DataObjectItem> DataObjectItem::createFromSharedBuffer(const String& name, P… in createFromSharedBuffer()
74 …RefPtrWillBeRawPtr<DataObjectItem> item = adoptRefWillBeNoop(new DataObjectItem(FileKind, String()… in createFromSharedBuffer()
[all …]
DDataObject.cpp55 dataObject->m_itemList.append(DataObjectItem::createFromPasteboard(*it, sequenceNumber)); in createFromPasteboard()
79 PassRefPtrWillBeRawPtr<DataObjectItem> DataObject::item(unsigned long index) in item()
98 PassRefPtrWillBeRawPtr<DataObjectItem> DataObject::add(const String& data, const String& type) in add()
100 RefPtrWillBeRawPtr<DataObjectItem> item = DataObjectItem::createFromString(type, data); in add()
106 PassRefPtrWillBeRawPtr<DataObjectItem> DataObject::add(PassRefPtrWillBeRawPtr<File> file) in add()
111 RefPtrWillBeRawPtr<DataObjectItem> item = DataObjectItem::createFromFile(file); in add()
119 if (m_itemList[i]->kind() == DataObjectItem::StringKind && m_itemList[i]->type() == type) { in clearData()
133 case DataObjectItem::StringKind: in types()
136 case DataObjectItem::FileKind: in types()
149 if (m_itemList[i]->kind() == DataObjectItem::StringKind && m_itemList[i]->type() == type) in getData()
[all …]
DDataObjectItem.h46 class DataObjectItem : public RefCountedWillBeGarbageCollectedFinalized<DataObjectItem> {
53 …static PassRefPtrWillBeRawPtr<DataObjectItem> createFromString(const String& type, const String& d…
54 static PassRefPtrWillBeRawPtr<DataObjectItem> createFromFile(PassRefPtrWillBeRawPtr<File>);
55 …static PassRefPtrWillBeRawPtr<DataObjectItem> createFromURL(const String& url, const String& title…
56 …static PassRefPtrWillBeRawPtr<DataObjectItem> createFromHTML(const String& html, const KURL& baseU…
57 …static PassRefPtrWillBeRawPtr<DataObjectItem> createFromSharedBuffer(const String& filename, PassR…
58 …static PassRefPtrWillBeRawPtr<DataObjectItem> createFromPasteboard(const String& type, uint64_t se…
79 DataObjectItem(Kind, const String& type);
80 DataObjectItem(Kind, const String& type, uint64_t sequenceNumber);
DDataObject.h65 PassRefPtrWillBeRawPtr<DataObjectItem> item(unsigned long index);
70 PassRefPtrWillBeRawPtr<DataObjectItem> add(const String& data, const String& type);
71 PassRefPtrWillBeRawPtr<DataObjectItem> add(PassRefPtrWillBeRawPtr<File>);
106 PassRefPtrWillBeRawPtr<DataObjectItem> findStringItem(const String& type) const;
107 bool internalAddStringItem(PassRefPtrWillBeRawPtr<DataObjectItem>);
108 void internalAddFileItem(PassRefPtrWillBeRawPtr<DataObjectItem>);
110 WillBeHeapVector<RefPtrWillBeMember<DataObjectItem> > m_itemList;
DDataTransferItem.h43 class DataObjectItem; variable
53 …TransferItem> create(PassRefPtrWillBeRawPtr<DataTransfer>, PassRefPtrWillBeRawPtr<DataObjectItem>);
62 DataObjectItem* dataObjectItem() { return m_item.get(); } in dataObjectItem()
67 DataTransferItem(PassRefPtrWillBeRawPtr<DataTransfer>, PassRefPtrWillBeRawPtr<DataObjectItem>);
70 RefPtrWillBeMember<DataObjectItem> m_item;
DDataTransferItem.cpp44 …ate(PassRefPtrWillBeRawPtr<DataTransfer> dataTransfer, PassRefPtrWillBeRawPtr<DataObjectItem> item) in create()
56 case DataObjectItem::StringKind: in kind()
58 case DataObjectItem::FileKind: in kind()
76 if (!callback || m_item->kind() != DataObjectItem::StringKind) in getAsString()
90 …tem(PassRefPtrWillBeRawPtr<DataTransfer> dataTransfer, PassRefPtrWillBeRawPtr<DataObjectItem> item) in DataTransferItem()
DDataObjectTest.cpp34 RefPtrWillBeRawPtr<DataObjectItem> item = m_dataObject->item(0); in TEST_F()
35 EXPECT_EQ(DataObjectItem::FileKind, item->kind()); in TEST_F()
53 RefPtrWillBeRawPtr<DataObjectItem> item = m_dataObject->item(0); in TEST_F()
54 EXPECT_EQ(DataObjectItem::FileKind, item->kind()); in TEST_F()
DDataTransferItemList.cpp56 RefPtrWillBeRawPtr<DataObjectItem> item = m_dataObject->item(index); in item()
83 RefPtrWillBeRawPtr<DataObjectItem> item = m_dataObject->add(data, type); in add()
95 RefPtrWillBeRawPtr<DataObjectItem> item = m_dataObject->add(file); in add()
DDataTransfer.cpp203 if (m_dataObject->item(i)->kind() == DataObjectItem::FileKind) { in files()
/external/chromium_org/third_party/WebKit/Source/web/
DWebDragData.cpp88 DataObjectItem* originalItem = m_private->item(i).get(); in items()
90 if (originalItem->kind() == DataObjectItem::StringKind) { in items()
94 } else if (originalItem->kind() == DataObjectItem::FileKind) { in items()
/external/chromium_org/third_party/WebKit/Source/core/
Dwebcore_remaining.target.linux-mips64.mk108 third_party/WebKit/Source/core/clipboard/DataObjectItem.cpp \
Dwebcore_remaining.target.darwin-x86.mk108 third_party/WebKit/Source/core/clipboard/DataObjectItem.cpp \
Dwebcore_remaining.target.darwin-arm.mk108 third_party/WebKit/Source/core/clipboard/DataObjectItem.cpp \
Dwebcore_remaining.target.linux-mips.mk108 third_party/WebKit/Source/core/clipboard/DataObjectItem.cpp \
Dwebcore_remaining.target.darwin-arm64.mk108 third_party/WebKit/Source/core/clipboard/DataObjectItem.cpp \
Dwebcore_remaining.target.linux-arm64.mk108 third_party/WebKit/Source/core/clipboard/DataObjectItem.cpp \
Dwebcore_remaining.target.linux-x86_64.mk108 third_party/WebKit/Source/core/clipboard/DataObjectItem.cpp \
Dwebcore_remaining.target.darwin-mips.mk108 third_party/WebKit/Source/core/clipboard/DataObjectItem.cpp \
Dwebcore_remaining.target.linux-arm.mk108 third_party/WebKit/Source/core/clipboard/DataObjectItem.cpp \
Dwebcore_remaining.target.linux-x86.mk108 third_party/WebKit/Source/core/clipboard/DataObjectItem.cpp \
Dwebcore_remaining.target.darwin-mips64.mk108 third_party/WebKit/Source/core/clipboard/DataObjectItem.cpp \
Dwebcore_remaining.target.darwin-x86_64.mk108 third_party/WebKit/Source/core/clipboard/DataObjectItem.cpp \
Dcore.gypi711 'clipboard/DataObjectItem.cpp',
712 'clipboard/DataObjectItem.h',