/external/webkit/Source/WebCore/platform/efl/ |
PasteboardEfl.cpp | 24 #include "Pasteboard.h" 38 Pasteboard* Pasteboard::generalPasteboard() 40 static Pasteboard* pasteboard = new Pasteboard(); local 41 return pasteboard; 44 Pasteboard::Pasteboard() 49 void Pasteboard::writePlainText(const String& [all...] |
/external/webkit/Source/WebCore/platform/brew/ |
PasteboardBrew.cpp | 29 #include "Pasteboard.h" 39 Pasteboard* Pasteboard::generalPasteboard() 41 static Pasteboard* pasteboard = new Pasteboard; local 42 return pasteboard; 45 Pasteboard::Pasteboard() 50 void Pasteboard::clear( [all...] |
/external/webkit/Source/WebCore/platform/wx/ |
PasteboardWx.cpp | 28 #include "Pasteboard.h" 43 Pasteboard::Pasteboard() 47 Pasteboard* Pasteboard::generalPasteboard() 49 static Pasteboard* pasteboard = new Pasteboard(); local 50 return pasteboard; 53 void Pasteboard::writeSelection(Range* selectedRange, bool canSmartCopyOrDelete, Frame* frame [all...] |
/external/webkit/Source/WebCore/platform/gtk/ |
PasteboardGtk.cpp | 21 #include "Pasteboard.h" 40 Pasteboard* Pasteboard::generalPasteboard() 42 static Pasteboard* pasteboard = new Pasteboard(); local 43 return pasteboard; 46 Pasteboard::Pasteboard() 51 Pasteboard::~Pasteboard( [all...] |
/external/chromium/chrome/browser/bookmarks/ |
bookmark_pasteboard_helper_mac.h | 13 // This set of functions lets C++ code interact with the cocoa pasteboard 17 // Writes a set of bookmark elements from a profile to the general pasteboard. 22 // Writes a set of bookmark elements from a profile to the dragging pasteboard 36 // Returns true if the general copy/paste pasteboard contains any sort of 41 // Returns true if the dragging pasteboard contains any sort of bookmark 45 // Copies the bookmark nodes to the dragging pasteboard and initiates a 54 // Pasteboard type for dictionary containing bookmark structure consisting
|
/external/chromium/chrome/browser/ui/cocoa/download/ |
download_util_mac_unittest.mm | 28 NSPasteboard* const pasteboard() { return pasteboard_; } 34 // Ensure adding files to the pasteboard methods works as expected. 36 // Get a download test file for addition to the pasteboard. 42 // Add a test file to the pasteboard via the download_util method. 43 download_util::AddFileToPasteboard(pasteboard(), testPath); 47 NSString* available = [pasteboard() availableTypeFromArray:types]; 51 NSArray* files = [pasteboard() propertyListForType:NSFilenamesPboardType];
|
download_util_mac.mm | 18 void AddFileToPasteboard(NSPasteboard* pasteboard, const FilePath& path) { 19 // Write information about the file being dragged to the pasteboard. 22 [pasteboard declareTypes:[NSArray arrayWithObject:NSFilenamesPboardType] 24 [pasteboard setPropertyList:fileList forType:NSFilenamesPboardType]; 43 NSPasteboard* pasteboard = [NSPasteboard pasteboardWithName:NSDragPboard]; 44 AddFileToPasteboard(pasteboard, download->full_path()); 65 pasteboard:pasteboard
|
/external/webkit/Source/WebCore/platform/qt/ |
PasteboardQt.cpp | 29 #include "Pasteboard.h" 47 Pasteboard::Pasteboard() 52 Pasteboard* Pasteboard::generalPasteboard() 54 static Pasteboard* pasteboard = 0; local 55 if (!pasteboard) 56 pasteboard = new Pasteboard(); [all...] |
/external/webkit/Source/WebKit2/WebProcess/WebCoreSupport/mac/ |
WebDragClientMac.mm | 55 // Internal AppKit class. If the pasteboard handling was in the same process 63 - (void)setTypes:(NSArray *)types onPasteboard:(NSPasteboard *)pasteboard; 123 void WebDragClient::declareAndWriteDragImage(NSPasteboard *pasteboard, DOMElement *element, NSURL *URL, NSString *title, WebCore::Frame*) 126 ASSERT(pasteboard && pasteboard == [NSPasteboard pasteboardWithName:NSDragPboard]); 155 [pasteboard declareTypes:types.get() owner:pasteboardOwner.leakRef()]; 157 [pasteboard setPropertyList:[NSArray arrayWithObject:extension] forType:NSFilesPromisePboardType]; 159 [filePromiseOwner.get() setTypes:[pasteboard propertyListForType:NSFilesPromisePboardType] onPasteboard:pasteboard]; 161 [URL writeToPasteboard:pasteboard]; [all...] |
/external/webkit/Source/WebCore/platform/chromium/ |
PasteboardChromium.cpp | 32 #include "Pasteboard.h" 56 Pasteboard* Pasteboard::generalPasteboard() 58 static Pasteboard* pasteboard = new Pasteboard; local 59 return pasteboard; 62 Pasteboard::Pasteboard() 67 void Pasteboard::clear( [all...] |
/external/webkit/Source/WebCore/platform/haiku/ |
PasteboardHaiku.cpp | 29 #include "Pasteboard.h" 47 Pasteboard::Pasteboard() 51 Pasteboard::~Pasteboard() 55 Pasteboard* Pasteboard::generalPasteboard() 57 static Pasteboard pasteboard; local 58 return &pasteboard; [all...] |
/external/webkit/Source/WebCore/platform/wince/ |
PasteboardWinCE.cpp | 29 #include "Pasteboard.h" 79 Pasteboard* Pasteboard::generalPasteboard() 81 static Pasteboard* pasteboard = new Pasteboard; local 82 return pasteboard; 85 Pasteboard::Pasteboard() 103 void Pasteboard::clear( [all...] |
/external/webkit/Source/WebCore/platform/mac/ |
PasteboardMac.mm | 27 #import "Pasteboard.h" 66 NSString *WebArchivePboardType = @"Apple Web Archive pasteboard type"; 67 NSString *WebSmartPastePboardType = @"NeXT smart paste pasteboard type"; 80 } else { // Don't write RTFD to the pasteboard when the copied attributed string has no attachments. 115 Pasteboard* Pasteboard::generalPasteboard() 117 static Pasteboard* pasteboard = new Pasteboard([NSPasteboard generalPasteboard]); 118 return pasteboard; [all...] |
DragDataMac.mm | 35 #import "Pasteboard.h" 64 //Need to call this so that the various Pasteboard type strings are intialised 65 Pasteboard::generalPasteboard(); 101 Pasteboard pasteboard(m_pasteboard.get()); 102 return pasteboard.plainText(frame); 147 Pasteboard pasteboard(m_pasteboard.get()); 148 return pasteboard.asURL(frame); 153 Pasteboard pasteboard(m_pasteboard.get()) [all...] |
/external/chromium/chrome/browser/ui/cocoa/ |
find_pasteboard.h | 19 // Manages the find pasteboard. Use this to copy text to the find pasteboard, 20 // to get the text currently on the find pasteboard, and to receive 21 // notifications when the text on the find pasteboard has changed. You should 37 // find pasteboard, this returns an empty string.
|
/external/chromium/chrome/browser/ui/cocoa/tab_contents/ |
web_contents_drag_source.h | 24 // Our pasteboard. 32 // contentsView and with the given dropData and pboard). Fill the pasteboard 35 pasteboard:(NSPasteboard*)pboard 41 // Put the data being dragged onto the pasteboard. Implemented by the 52 // End the drag and clear the pasteboard; hook up to
|
web_drag_source.h | 31 // Our pasteboard. 45 // contentsView and with the given dropData and pboard). Fill the pasteboard 51 pasteboard:(NSPasteboard*)pboard 57 // Call when asked to do a lazy write to the pasteboard; hook up to 58 // -pasteboard:provideDataForType: (on the contentsView). 66 // End the drag and clear the pasteboard; hook up to
|
/external/webkit/Source/WebKit/mac/History/ |
WebURLsWithTitles.h | 37 // Writes parallel arrays of URLs and titles to the pasteboard. These items can be retrieved by 42 // for pasteboard before invoking this method, or it will return without doing anything. 43 + (void)writeURLs:(NSArray *)URLs andTitles:(NSArray *)titles toPasteboard:(NSPasteboard *)pasteboard; 45 // Reads an array of NSURLs off the pasteboard. Returns nil if pasteboard does not contain 48 + (NSArray *)URLsFromPasteboard:(NSPasteboard *)pasteboard; 50 // Reads an array of NSStrings off the pasteboard. Returns nil if pasteboard does not contain 53 + (NSArray *)titlesFromPasteboard:(NSPasteboard *)pasteboard;
|
WebURLsWithTitles.m | 48 +(void)writeURLs:(NSArray *)URLs andTitles:(NSArray *)titles toPasteboard:(NSPasteboard *)pasteboard 59 if ([pasteboard availableTypeFromArray:[self arrayWithIFURLsWithTitlesPboardType]] == nil) { 74 [pasteboard setPropertyList:[NSArray arrayWithObjects:URLStrings, titlesOrEmptyStrings, nil] 78 +(NSArray *)titlesFromPasteboard:(NSPasteboard *)pasteboard 80 if ([pasteboard availableTypeFromArray:[self arrayWithIFURLsWithTitlesPboardType]] == nil) { 84 return [[pasteboard propertyListForType:WebURLsWithTitlesPboardType] objectAtIndex:1]; 87 +(NSArray *)URLsFromPasteboard:(NSPasteboard *)pasteboard 93 if ([pasteboard availableTypeFromArray:[self arrayWithIFURLsWithTitlesPboardType]] == nil) { 97 URLStrings = [[pasteboard propertyListForType:WebURLsWithTitlesPboardType] objectAtIndex:0];
|
/external/webkit/Source/WebCore/editing/mac/ |
EditorMac.mm | 37 #import "Pasteboard.h" 64 void Editor::pasteWithPasteboard(Pasteboard* pasteboard, bool allowPlainText) 71 RefPtr<DocumentFragment> fragment = pasteboard->documentFragment(m_frame, range, allowPlainText, choosePlainText); 73 pasteAsFragment(fragment, canSmartReplaceWithPasteboard(pasteboard), false); 79 RefPtr<DocumentFragment> fragment = pasteboard->documentFragment(m_frame, range, allowPlainText, choosePlainText); 81 pasteAsFragment(fragment, canSmartReplaceWithPasteboard(pasteboard), false); 84 RefPtr<DocumentFragment>fragment = pasteboard->documentFragment(m_frame, range, allowPlainText, choosePlainText); 86 pasteAsFragment(fragment, canSmartReplaceWithPasteboard(pasteboard), false); 216 Pasteboard::writeSelection([NSPasteboard pasteboardWithName:pasteboardName], types.get(), selectedRange().get (…) [all...] |
/external/webkit/Source/WebKit/mac/WebCoreSupport/ |
WebDragClient.mm | 86 [[m_webView _UIDelegateForwarder] webView:m_webView willPerformDragSourceAction:(WebDragSourceAction)action fromPoint:mouseDownPoint withPasteboard:static_cast<WebCore::ClipboardMac*>(clipboard)->pasteboard()]; 103 NSPasteboard *pasteboard = static_cast<ClipboardMac*>(clipboard)->pasteboard(); 109 SEL selector = @selector(webView:dragImage:at:offset:event:pasteboard:source:slideBack:forView:); 113 [delegate webView:m_webView dragImage:dragNSImage at:at offset:NSZeroSize event:event pasteboard:pasteboard source:sourceHTMLView slideBack:YES forView:topHTMLView]; 118 [delegate webView:m_webView dragImage:dragNSImage at:at offset:NSZeroSize event:event pasteboard:pasteboard source:sourceHTMLView slideBack:YES forView:topHTMLView]; 120 [topHTMLView dragImage:dragNSImage at:at offset:NSZeroSize event:event pasteboard:pasteboard source:sourceHTMLView slideBack:YES] [all...] |
/external/webkit/Source/WebCore/platform/ |
Pasteboard.h | 84 class Pasteboard { 85 WTF_MAKE_NONCOPYABLE(Pasteboard); WTF_MAKE_FAST_ALLOCATED; 90 static void writeURL(NSPasteboard* pasteboard, NSArray* types, const KURL& url, const String& titleStr, Frame* frame); 91 static void writePlainText(NSPasteboard* pasteboard, const String& text); 93 Pasteboard(NSPasteboard *); 96 static Pasteboard* generalPasteboard(); 118 ~Pasteboard(); 122 Pasteboard();
|
/external/chromium/chrome/browser/ui/cocoa/bookmarks/ |
bookmark_folder_target.h | 32 // Copies the given bookmark node to the given pasteboard, declaring appropriate 37 // Fill the given pasteboard with appropriate data when the given button is 38 // dragged. Since the delegate has no way of providing pasteboard data later, 39 // all data must actually be put into the pasteboard and not merely promised.
|
/external/webkit/Source/WebCore/platform/win/ |
PasteboardWin.cpp | 27 #include "Pasteboard.h" 81 Pasteboard* Pasteboard::generalPasteboard() 83 static Pasteboard* pasteboard = new Pasteboard; local 84 return pasteboard; 87 Pasteboard::Pasteboard() 109 void Pasteboard::clear( [all...] |
/external/webkit/Source/WebCore/platform/android/ |
TemporaryLinkStubs.cpp | 67 #include "Pasteboard.h" 116 Pasteboard* Pasteboard::generalPasteboard() 118 return new Pasteboard(); 121 void Pasteboard::writeSelection(Range*, bool, Frame*) 126 void Pasteboard::writePlainText(const String&) 131 void Pasteboard::writeURL(const KURL&, const String&, Frame*) 136 void Pasteboard::clear() 141 bool Pasteboard::canSmartReplace() 147 PassRefPtr<DocumentFragment> Pasteboard::documentFragment(Frame*, PassRefPtr<Range>, bool, bool& [all...] |