Home | History | Annotate | Download | only in editing

Lines Matching refs:pasteboard

75 #include "core/platform/Pasteboard.h"
364 pasteAsPlainTextWithPasteboard(Pasteboard::generalPasteboard());
367 void Editor::pasteAsPlainTextWithPasteboard(Pasteboard* pasteboard)
369 String text = pasteboard->plainText(m_frame);
371 pasteAsPlainText(text, canSmartReplaceWithPasteboard(pasteboard));
374 void Editor::pasteWithPasteboard(Pasteboard* pasteboard, bool allowPlainText)
378 RefPtr<DocumentFragment> fragment = pasteboard->documentFragment(m_frame, range, allowPlainText, chosePlainText);
380 pasteAsFragment(fragment, canSmartReplaceWithPasteboard(pasteboard), chosePlainText);
383 bool Editor::canSmartReplaceWithPasteboard(Pasteboard* pasteboard)
385 return client() && client()->smartInsertDeleteEnabled() && pasteboard->canSmartReplace();
620 Pasteboard* pasteboard = Pasteboard::generalPasteboard();
621 pasteboard->clear();
622 pasteboard->writeClipboard(clipboard.get());
916 Pasteboard::generalPasteboard()->writePlainText(m_frame->selectedTextForClipboard(),
917 canSmartCopyOrDelete() ? Pasteboard::CanSmartReplace : Pasteboard::CannotSmartReplace);
919 Pasteboard::generalPasteboard()->writeSelection(selection.get(), canSmartCopyOrDelete(), m_frame, IncludeImageAltTextForClipboard);
934 Pasteboard::generalPasteboard()->writePlainText(m_frame->selectedTextForClipboard(),
935 canSmartCopyOrDelete() ? Pasteboard::CanSmartReplace : Pasteboard::CannotSmartReplace);
939 Pasteboard::generalPasteboard()->writeImage(imageElement, document->url(), document->title());
941 Pasteboard::generalPasteboard()->writeSelection(selectedRange().get(), canSmartCopyOrDelete(), m_frame, IncludeImageAltTextForClipboard);
956 pasteWithPasteboard(Pasteboard::generalPasteboard(), true);
958 pasteAsPlainTextWithPasteboard(Pasteboard::generalPasteboard());
968 pasteAsPlainTextWithPasteboard(Pasteboard::generalPasteboard());
1006 Pasteboard::generalPasteboard()->writeURL(url, title, m_frame);
1015 Pasteboard::generalPasteboard()->writeImage(result.innerNonSharedNode(), url, result.altDisplayString());