Home
last modified time | relevance | path

Searched refs:dataObject (Results 1 – 25 of 32) sorted by relevance

12

/external/webkit/Source/WebCore/platform/gtk/
DPasteboardHelper.cpp131 DataObjectGtk* dataObject = DataObjectGtk::forClipboard(clipboard); in getClipboardContents() local
132 ASSERT(dataObject); in getClipboardContents()
137 dataObject->setText(String::fromUTF8(textData.get())); in getClipboardContents()
144 dataObject->setMarkup(markup); in getClipboardContents()
151 dataObject->setURIList(selectionDataToUTF8String(data)); in getClipboardContents()
157 …rdHelper::fillSelectionData(GtkSelectionData* selectionData, guint info, DataObjectGtk* dataObject) in fillSelectionData() argument
160 gtk_selection_data_set_text(selectionData, dataObject->text().utf8().data(), -1); in fillSelectionData()
165 CString markup = (gMarkupPrefix + dataObject->markup()).utf8(); in fillSelectionData()
170 CString uriList = dataObject->uriList().utf8(); in fillSelectionData()
174 } else if (info == getIdForTargetType(TargetTypeNetscapeURL) && dataObject->hasURL()) { in fillSelectionData()
[all …]
DPasteboardGtk.cpp69 DataObjectGtk* dataObject = DataObjectGtk::forClipboard(clipboard); in writeSelection() local
70 dataObject->setText(frame->editor()->selectedText()); in writeSelection()
71dataObject->setMarkup(createMarkup(selectedRange, 0, AnnotateForInterchange, false, AbsoluteURLs)); in writeSelection()
78 DataObjectGtk* dataObject = DataObjectGtk::forClipboard(clipboard); in writePlainText() local
79 dataObject->setText(text); in writePlainText()
89 DataObjectGtk* dataObject = DataObjectGtk::forClipboard(clipboard); in writeURL() local
90 dataObject->setURL(url, label); in writeURL()
107 DataObjectGtk* dataObject = DataObjectGtk::forClipboard(clipboard); in writeImage() local
108 dataObject->setImage(pixbuf.get()); in writeImage()
127 DataObjectGtk* dataObject = DataObjectGtk::forClipboard(clipboard); in documentFragment() local
[all …]
DClipboardGtk.h49 …ardGtk> create(ClipboardAccessPolicy policy, PassRefPtr<DataObjectGtk> dataObject, ClipboardType c… in create() argument
51 return adoptRef(new ClipboardGtk(policy, dataObject, clipboardType, frame)); in create()
78 PassRefPtr<DataObjectGtk> dataObject() { return m_dataObject; } in dataObject() function
DDataObjectGtk.cpp166 RefPtr<DataObjectGtk> dataObject = DataObjectGtk::create(); in forClipboard() local
167 objectMap.set(clipboard, dataObject); in forClipboard()
168 return dataObject.get(); in forClipboard()
DClipboardGtk.cpp68 ClipboardGtk::ClipboardGtk(ClipboardAccessPolicy policy, PassRefPtr<DataObjectGtk> dataObject, Clip… in ClipboardGtk() argument
70 , m_dataObject(dataObject) in ClipboardGtk()
/external/webkit/Source/WebCore/platform/chromium/
DClipboardChromiumWin.cpp43 String ClipboardChromium::validateFileName(const String& title, ChromiumDataObject* dataObject) in validateFileName() argument
47 if (result.length() + dataObject->fileExtension().length() + 1 >= MAX_PATH) { in validateFileName()
48 if (dataObject->fileExtension().length() + 1 >= MAX_PATH) in validateFileName()
49 dataObject->setFileExtension(""); in validateFileName()
50 if (result.length() + dataObject->fileExtension().length() + 1 >= MAX_PATH) in validateFileName()
51 result = result.substring(0, MAX_PATH - dataObject->fileExtension().length() - 1); in validateFileName()
DClipboardChromium.cpp74 PassRefPtr<ChromiumDataObject> dataObject, in ClipboardChromium() argument
78 , m_dataObject(dataObject) in ClipboardChromium()
84 PassRefPtr<ChromiumDataObject> dataObject, ClipboardAccessPolicy policy, Frame* frame) in create() argument
86 return adoptRef(new ClipboardChromium(clipboardType, dataObject, policy, frame)); in create()
240 static void writeImageToDataObject(ChromiumDataObject* dataObject, Element* element, in writeImageToDataObject() argument
252 dataObject->setFileContent(imageBuffer); in writeImageToDataObject()
260 dataObject->setFileExtension(extension.isEmpty() ? "" : "." + extension); in writeImageToDataObject()
265 title = ClipboardChromium::validateFileName(title, dataObject); in writeImageToDataObject()
266 dataObject->setFileContentFilename(title + dataObject->fileExtension()); in writeImageToDataObject()
DClipboardChromium.h56 static String validateFileName(const String& title, ChromiumDataObject* dataObject);
70 PassRefPtr<ChromiumDataObject> dataObject() in dataObject() function
DClipboardChromiumMac.cpp35 String ClipboardChromium::validateFileName(const String& title, ChromiumDataObject* dataObject) in validateFileName() argument
DClipboardChromiumLinux.cpp35 String ClipboardChromium::validateFileName(const String& title, ChromiumDataObject* dataObject) in validateFileName() argument
/external/webkit/Source/WebKit/win/WebCoreSupport/
DWebDragClient.cpp103 COMPtr<IDataObject> dataObject = static_cast<ClipboardWin*>(clipboard)->dataObject(); in willPerformDragSourceAction() local
106 …rceAction(m_webView, static_cast<WebDragSourceAction>(action), &point, dataObject.get(), &newDataO… in willPerformDragSourceAction()
107 if (result == S_OK && newDataObject != dataObject) in willPerformDragSourceAction()
118 COMPtr<IDataObject> dataObject; in startDrag() local
124 dataObject = static_cast<ClipboardWin*>(clipboard)->dataObject(); in startDrag()
125 if (source && (image || dataObject)) { in startDrag()
141 helper->InitializeFromBitmap(&sdi, dataObject.get()); in startDrag()
152 … hr = uiPrivate->doDragDrop(m_webView, dataObject.get(), source.get(), okEffect, &effect); in startDrag()
155 hr = DoDragDrop(dataObject.get(), source.get(), okEffect, &effect); in startDrag()
/external/webkit/Source/WebCore/platform/win/
DClipboardWin.h47 …static PassRefPtr<ClipboardWin> create(ClipboardType clipboardType, IDataObject* dataObject, Clipb… in create() argument
49 return adoptRef(new ClipboardWin(clipboardType, dataObject, policy, frame)); in create()
51 …static PassRefPtr<ClipboardWin> create(ClipboardType clipboardType, WCDataObject* dataObject, Clip… in create() argument
53 return adoptRef(new ClipboardWin(clipboardType, dataObject, policy, frame)); in create()
81 COMPtr<IDataObject> dataObject() { return m_dataObject; } in dataObject() function
83 void setExternalDataObject(IDataObject *dataObject);
DClipboardUtilitiesWin.cpp74 static bool getDataMapItem(const DragDataMap* dataObject, FORMATETC* format, String& item) in getDataMapItem() argument
76 DragDataMap::const_iterator found = dataObject->find(format->cfFormat); in getDataMapItem()
77 if (found == dataObject->end()) in getDataMapItem()
83 static bool getWebLocData(IDataObject* dataObject, String& url, String* title) in getWebLocData() argument
91 if (FAILED(dataObject->GetData(cfHDropFormat(), &medium))) in getWebLocData()
124 static bool getWebLocData(const DragDataMap* dataObject, String& url, String* title) in getWebLocData() argument
130 if (!dataObject->contains(cfHDropFormat()->cfFormat)) in getWebLocData()
133 wcscpy(filename, dataObject->get(cfHDropFormat()->cfFormat)[0].charactersWithNullTermination()); in getWebLocData()
371 String getURL(IDataObject* dataObject, DragData::FilenameConversionPolicy filenamePolicy, bool& suc… in getURL() argument
376 if (getWebLocData(dataObject, url, title)) in getURL()
[all …]
DClipboardWin.cpp297 static HRESULT writeFileToDataObject(IDataObject* dataObject, HGLOBAL fileDescriptor, HGLOBAL fileC… in writeFileToDataObject() argument
312 if (FAILED(hr = dataObject->SetData(fe, &medium, TRUE))) in writeFileToDataObject()
318 if (FAILED(hr = dataObject->SetData(fe, &medium, TRUE))) in writeFileToDataObject()
325 hr = dataObject->SetData(cfHDropFormat(), &medium, TRUE); in writeFileToDataObject()
348 ClipboardWin::ClipboardWin(ClipboardType clipboardType, IDataObject* dataObject, ClipboardAccessPol… in ClipboardWin() argument
350 , m_dataObject(dataObject) in ClipboardWin()
356 ClipboardWin::ClipboardWin(ClipboardType clipboardType, WCDataObject* dataObject, ClipboardAccessPo… in ClipboardWin() argument
358 , m_dataObject(dataObject) in ClipboardWin()
359 , m_writableDataObject(dataObject) in ClipboardWin()
657 static void writeImageToDataObject(IDataObject* dataObject, Element* element, const KURL& url) in writeImageToDataObject() argument
[all …]
/external/webkit/Source/WebKit2/WebProcess/WebCoreSupport/win/
DWebDragClientWin.cpp64 COMPtr<IDataObject> dataObject = static_cast<ClipboardWin*>(clipboard)->dataObject(); in startDrag() local
66 if (!dataObject) in startDrag()
85 DragData dragData(dataObject.get(), IntPoint(), IntPoint(), DragOperationNone); in startDrag()
/external/webkit/Source/WebCore/page/win/
DEventHandlerWin.cpp99 COMPtr<WCDataObject> dataObject; in createDraggingClipboard()
100 WCDataObject::createInstance(&dataObject); in createDraggingClipboard()
101 … return ClipboardWin::create(Clipboard::DragAndDrop, dataObject.get(), ClipboardWritable, m_frame); in createDraggingClipboard()
/external/webkit/Source/WebKit/gtk/WebCoreSupport/
DDragClientGtk.cpp105 RefPtr<DataObjectGtk> dataObject = clipboardGtk->dataObject(); in startDrag() local
106 …GRefPtr<GtkTargetList> targetList(clipboardGtk->helper()->targetListForDataObject(dataObject.get()… in startDrag()
110 webView->priv->draggingDataObjects.set(context, dataObject); in startDrag()
DEditorClientGtk.cpp421 DataObjectGtk* dataObject = DataObjectGtk::forClipboard(clipboard); in setSelectionPrimaryClipboardIfNeeded() local
428 dataObject->clear(); in setSelectionPrimaryClipboardIfNeeded()
429 dataObject->setRange(targetFrame->selection()->toNormalizedRange()); in setSelectionPrimaryClipboardIfNeeded()
/external/webkit/Source/WebCore/page/chromium/
DEventHandlerChromium.cpp131 RefPtr<ChromiumDataObject> dataObject = ChromiumDataObject::create(Clipboard::DragAndDrop); in createDraggingClipboard() local
132 …return ClipboardChromium::create(Clipboard::DragAndDrop, dataObject.get(), ClipboardWritable, m_fr… in createDraggingClipboard()
/external/clang/test/SemaObjC/
Dwarn-strict-selector-match.m48 + (NTGridDataObject*)dataObject:(id<MyObject, MyCoding>)data;
55 + (NTGridDataObject*)dataObject:(id<MyObject, MyCoding>)data
/external/webkit/Tools/DumpRenderTree/win/
DDraggingInfo.h55 IDataObject* dataObject() const { return m_object; } in dataObject() function
DEventSender.cpp242 … webViewDropTarget->DragEnter(draggingInfo->dataObject(), 0, pointl(screenPoint), &effect); in doMouseUp()
251 … webViewDropTarget->Drop(draggingInfo->dataObject(), 0, pointl(screenPoint), &effect); in doMouseUp()
321 … webViewDropTarget->DragEnter(draggingInfo->dataObject(), 0, pointl(screenPoint), &effect); in doMouseMove()
/external/webkit/Source/WebKit/chromium/src/
DDragClientImpl.cpp83 WebDragData dragData = static_cast<ClipboardChromium*>(clipboard)->dataObject(); in startDrag()
/external/webkit/Source/WebKit/gtk/webkit/
Dwebkitwebviewprivate.h41 RefPtr<WebCore::DataObjectGtk> dataObject; member
/external/webkit/Source/WebKit/win/Interfaces/
DIWebUIDelegatePrivate.idl60 …HRESULT doDragDrop([in] IWebView* sender, [in] IDataObject* dataObject, [in] IDropSource* dropSour…

12