Home
last modified time | relevance | path

Searched refs:Clipboard (Results 1 – 25 of 155) sorted by relevance

1234567

/external/chromium/webkit/glue/
Dwebclipboard_impl.cc67 ui::Clipboard::FormatType format_type; in isFormatAvailable()
68 ui::Clipboard::Buffer buffer_type; in isFormatAvailable()
75 return ClipboardIsFormatAvailable(ui::Clipboard::GetPlainTextFormatType(), in isFormatAvailable()
77 ClipboardIsFormatAvailable(ui::Clipboard::GetPlainTextWFormatType(), in isFormatAvailable()
80 format_type = ui::Clipboard::GetHtmlFormatType(); in isFormatAvailable()
83 format_type = ui::Clipboard::GetWebKitSmartPasteFormatType(); in isFormatAvailable()
87 format_type = ui::Clipboard::GetUrlWFormatType(); in isFormatAvailable()
99 ui::Clipboard::Buffer buffer_type; in readPlainText()
103 if (ClipboardIsFormatAvailable(ui::Clipboard::GetPlainTextWFormatType(), in readPlainText()
111 if (ClipboardIsFormatAvailable(ui::Clipboard::GetPlainTextFormatType(), in readPlainText()
[all …]
Dwebkit_glue.h180 ui::Clipboard* ClipboardGetClipboard();
183 bool ClipboardIsFormatAvailable(const ui::Clipboard::FormatType& format,
184 ui::Clipboard::Buffer buffer);
187 void ClipboardReadAvailableTypes(ui::Clipboard::Buffer buffer,
192 void ClipboardReadText(ui::Clipboard::Buffer buffer, string16* result);
195 void ClipboardReadAsciiText(ui::Clipboard::Buffer buffer, std::string* result);
198 void ClipboardReadHTML(ui::Clipboard::Buffer buffer, string16* markup,
201 void ClipboardReadImage(ui::Clipboard::Buffer buffer, std::string* data);
204 bool ClipboardReadData(ui::Clipboard::Buffer buffer, const string16& type,
208 bool ClipboardReadFilenames(ui::Clipboard::Buffer buffer,
/external/webkit/Source/WebCore/dom/
DClipboard.cpp36 Clipboard::Clipboard(ClipboardAccessPolicy policy, ClipboardType clipboardType) in Clipboard() function in WebCore::Clipboard
46 void Clipboard::setAccessPolicy(ClipboardAccessPolicy policy) in setAccessPolicy()
102 DragOperation Clipboard::sourceOperation() const in sourceOperation()
109 DragOperation Clipboard::destinationOperation() const in destinationOperation()
116 void Clipboard::setSourceOperation(DragOperation op) in setSourceOperation()
122 void Clipboard::setDestinationOperation(DragOperation op) in setDestinationOperation()
128 void Clipboard::setDropEffect(const String &effect) in setDropEffect()
141 void Clipboard::setEffectAllowed(const String &effect) in setEffectAllowed()
DClipboardEvent.h40 …onst AtomicString& type, bool canBubbleArg, bool cancelableArg, PassRefPtr<Clipboard> clipboardArg) in create()
45 Clipboard* clipboard() const { return m_clipboard.get(); } in clipboard()
51 …boardEvent(const AtomicString& type, bool canBubbleArg, bool cancelableArg, PassRefPtr<Clipboard>);
53 RefPtr<Clipboard> m_clipboard;
DClipboard.h42 class Clipboard : public RefCounted<Clipboard> {
49 static PassRefPtr<Clipboard> create(ClipboardAccessPolicy, DragData*, Frame*);
51 virtual ~Clipboard() { } in ~Clipboard()
102 Clipboard(ClipboardAccessPolicy, ClipboardType);
DMouseEvent.h45 …PassRefPtr<EventTarget> relatedTarget, PassRefPtr<Clipboard> clipboard = 0, bool isSimulated = fal…
66 Clipboard* clipboard() const { return m_clipboard.get(); } in clipboard()
71 Clipboard* dataTransfer() const { return isDragEvent() ? m_clipboard.get() : 0; } in dataTransfer()
81 … PassRefPtr<EventTarget> relatedTarget, PassRefPtr<Clipboard> clipboard, bool isSimulated);
89 RefPtr<Clipboard> m_clipboard;
/external/webkit/Source/WebCore/platform/chromium/
DDataTransferItemChromium.h42 class Clipboard; variable
47 …static PassRefPtr<DataTransferItemChromium> createFromPasteboard(PassRefPtr<Clipboard> owner, Scri…
48 …static PassRefPtr<DataTransferItemChromium> create(PassRefPtr<Clipboard> owner, ScriptExecutionCon…
62 …DataTransferItemChromium(PassRefPtr<Clipboard> owner, ScriptExecutionContext*, DataSource, const S…
64 const RefPtr<Clipboard> m_owner;
DDataTransferItemsChromium.h42 class Clipboard; variable
50 …static PassRefPtr<DataTransferItemsChromium> create(PassRefPtr<Clipboard>, ScriptExecutionContext*…
62 DataTransferItemsChromium(PassRefPtr<Clipboard>, ScriptExecutionContext*);
66 RefPtr<Clipboard> m_owner;
DReadableDataObject.cpp41 static PasteboardPrivate::ClipboardBuffer clipboardBuffer(Clipboard::ClipboardType clipboardType) in clipboardBuffer()
43 …return clipboardType == Clipboard::DragAndDrop ? PasteboardPrivate::DragBuffer : PasteboardPrivate… in clipboardBuffer()
46 PassRefPtr<ReadableDataObject> ReadableDataObject::create(Clipboard::ClipboardType clipboardType) in create()
51 ReadableDataObject::ReadableDataObject(Clipboard::ClipboardType clipboardType) in ReadableDataObject()
77 if (m_clipboardType == Clipboard::CopyAndPaste) { in getData()
DReadableDataObject.h47 static PassRefPtr<ReadableDataObject> create(Clipboard::ClipboardType);
60 explicit ReadableDataObject(Clipboard::ClipboardType);
65 Clipboard::ClipboardType m_clipboardType;
DWritableDataObject.cpp39 PassRefPtr<WritableDataObject> WritableDataObject::create(Clipboard::ClipboardType clipboardType) in create()
44 WritableDataObject::WritableDataObject(Clipboard::ClipboardType clipboardType) in WritableDataObject()
79 if (m_clipboardType == Clipboard::CopyAndPaste) { in setData()
DWritableDataObject.h51 static PassRefPtr<WritableDataObject> create(Clipboard::ClipboardType);
74 explicit WritableDataObject(Clipboard::ClipboardType);
76 Clipboard::ClipboardType m_clipboardType;
/external/webkit/Source/WebCore/platform/efl/
DClipboardEfl.cpp30 PassRefPtr<Clipboard> Editor::newGeneralClipboard(ClipboardAccessPolicy policy, Frame*) in newGeneralClipboard()
32 return ClipboardEfl::create(policy, Clipboard::CopyAndPaste); in newGeneralClipboard()
35 PassRefPtr<Clipboard> Clipboard::create(ClipboardAccessPolicy, DragData*, Frame*) in create()
41 : Clipboard(policy, clipboardType) in ClipboardEfl()
/external/webkit/Source/WebCore/editing/chromium/
DEditorChromium.cpp40 PassRefPtr<Clipboard> Editor::newGeneralClipboard(ClipboardAccessPolicy policy, Frame* frame) in newGeneralClipboard()
42 …return ClipboardChromium::create(Clipboard::CopyAndPaste, ChromiumDataObject::create(Clipboard::Co… in newGeneralClipboard()
/external/webkit/Source/WebCore/platform/qt/
DPasteboardQt.cpp77 …ion::clipboard()->setMimeData(md, m_selectionMode ? QClipboard::Selection : QClipboard::Clipboard); in writeSelection()
95 …n QApplication::clipboard()->text(m_selectionMode ? QClipboard::Selection : QClipboard::Clipboard); in plainText()
106 m_selectionMode ? QClipboard::Selection : QClipboard::Clipboard); in documentFragment()
136 …ion::clipboard()->setMimeData(md, m_selectionMode ? QClipboard::Selection : QClipboard::Clipboard); in writePlainText()
149 …ion::clipboard()->setMimeData(md, m_selectionMode ? QClipboard::Selection : QClipboard::Clipboard); in writeURL()
168 QApplication::clipboard()->setPixmap(*pixmap, QClipboard::Clipboard); in writeImage()
/external/webkit/Source/WebCore/page/
DDragController.h36 class Clipboard; variable
83 …bool startDrag(Frame* src, Clipboard*, DragOperation srcOp, const PlatformMouseEvent& dragEvent, c…
108 …bool doDrag(Frame* src, Clipboard* clipboard, DragImageRef dragImage, const KURL& linkURL, const K…
109 void doImageDrag(Element*, const IntPoint&, const IntRect&, Clipboard*, Frame*, IntPoint&);
110 …void doSystemDrag(DragImageRef, const IntPoint&, const IntPoint&, Clipboard*, Frame*, bool forLink…
DDragClient.h50 class Clipboard; variable
59 virtual void willPerformDragSourceAction(DragSourceAction, const IntPoint&, Clipboard*) = 0;
64 …f dragImage, const IntPoint& dragImageOrigin, const IntPoint& eventPos, Clipboard*, Frame*, bool l…
DEventHandler.h50 class Clipboard; variable
130 bool updateDragAndDrop(const PlatformMouseEvent&, Clipboard*);
131 void cancelDragAndDrop(const PlatformMouseEvent&, Clipboard*);
132 bool performDragAndDrop(const PlatformMouseEvent&, Clipboard*);
259 RefPtr<Clipboard> m_dragClipboard; // used on only the source side of dragging
264 …rTarget(DragAndDropHandleType, Node* target, const PlatformMouseEvent&, Clipboard*, bool* accepted…
266 PassRefPtr<Clipboard> createDraggingClipboard() const;
320 …patchDragEvent(const AtomicString& eventType, Node* target, const PlatformMouseEvent&, Clipboard*);
/external/chromium/chrome/browser/
Dclipboard_dispatcher.h26 static bool ReadAvailableTypes(ui::Clipboard::Buffer buffer,
29 static bool ReadData(ui::Clipboard::Buffer buffer, const string16& type,
31 static bool ReadFilenames(ui::Clipboard::Buffer buffer,
Dclipboard_dispatcher_win.cc8 bool ClipboardDispatcher::ReadAvailableTypes(ui::Clipboard::Buffer buffer, in ReadAvailableTypes()
18 bool ClipboardDispatcher::ReadData(ui::Clipboard::Buffer buffer, in ReadData()
27 bool ClipboardDispatcher::ReadFilenames(ui::Clipboard::Buffer buffer, in ReadFilenames()
Dclipboard_dispatcher_gtk.cc8 bool ClipboardDispatcher::ReadAvailableTypes(ui::Clipboard::Buffer buffer, in ReadAvailableTypes()
18 bool ClipboardDispatcher::ReadData(ui::Clipboard::Buffer buffer, in ReadData()
27 bool ClipboardDispatcher::ReadFilenames(ui::Clipboard::Buffer buffer, in ReadFilenames()
Dclipboard_dispatcher_mac.mm8 bool ClipboardDispatcher::ReadAvailableTypes(ui::Clipboard::Buffer buffer,
18 bool ClipboardDispatcher::ReadData(ui::Clipboard::Buffer buffer,
27 bool ClipboardDispatcher::ReadFilenames(ui::Clipboard::Buffer buffer,
/external/webkit/Source/WebCore/bindings/js/
DJSClipboardCustom.cpp53 Clipboard* clipboard = impl(); in types()
68 Clipboard* clipboard = impl(); in clearData()
90 Clipboard* clipboard = impl(); in getData()
102 Clipboard* clipboard = impl(); in setDragImage()
/external/webkit/Source/WebCore/platform/brew/
DClipboardBrew.cpp39 PassRefPtr<Clipboard> Clipboard::create(ClipboardAccessPolicy, DragData*, Frame*) in create()
45 : Clipboard(policy, clipboardType) in ClipboardBrew()
/external/webkit/Source/WebCore/platform/android/
DClipboardAndroid.cpp38 PassRefPtr<Clipboard> Clipboard::create(ClipboardAccessPolicy, DragData*, Frame*) in create()
44 : Clipboard(policy, clipboardType) in ClipboardAndroid()

1234567