/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/chromium/chrome/browser/ui/cocoa/download/ |
download_util_mac.h | 17 void AddFileToPasteboard(NSPasteboard* pasteboard, const FilePath& path);
|
/external/webkit/Source/WebKit/mac/WebView/ |
WebEditingDelegatePrivate.h | 35 - (void)webView:(WebView *)webView didWriteSelectionToPasteboard:(NSPasteboard *)pasteboard; 36 - (void)webView:(WebView *)webView didSetSelectionTypesForPasteboard:(NSPasteboard *)pasteboard;
|
WebHTMLViewPrivate.h | 76 - (void)_writeSelectionToPasteboard:(NSPasteboard *)pasteboard; 116 - (DOMDocumentFragment *)_documentFragmentFromPasteboard:(NSPasteboard *)pasteboard forType:(NSString *)pboardType inContext:(DOMRange *)context subresources:(NSArray **)subresources; 142 - (BOOL)_canSmartReplaceWithPasteboard:(NSPasteboard *)pasteboard;
|
WebHTMLViewInternal.h | 53 - (DOMDocumentFragment *)_documentFragmentFromPasteboard:(NSPasteboard *)pasteboard;
|
WebDocumentPrivate.h | 47 - (void)writeSelectionWithPasteboardTypes:(NSArray *)types toPasteboard:(NSPasteboard *)pasteboard;
|
/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/Tools/DumpRenderTree/mac/ |
DumpRenderTreeDraggingInfo.h | 39 - (id)initWithImage:(NSImage *)image offset:(NSSize)offset pasteboard:(NSPasteboard *)pasteboard source:(id)source;
|
DumpRenderTreePasteboard.m | 50 // Return a local pasteboard so we don't disturb the real pasteboards when running tests. 58 LocalPasteboard *pasteboard = [localPasteboards objectForKey:name]; 59 if (pasteboard) 60 return pasteboard; 61 pasteboard = [[LocalPasteboard alloc] init]; 62 [localPasteboards setObject:pasteboard forKey:name]; 63 [pasteboard release]; 64 return pasteboard; 135 if (newOwner && [newOwner respondsToSelector:@selector(pasteboard:provideDataForType:)]) 136 [newOwner pasteboard:self provideDataForType:setType] [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/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/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/WebKit/mac/Misc/ |
WebNSViewExtras.h | 65 pasteboard:(NSPasteboard *)pasteboard
|
/external/chromium/chrome/browser/ui/cocoa/bookmarks/ |
bookmark_drag_source.h | 21 // contentsView and with the given dropData and pboard). Fill the pasteboard 27 pasteboard:(NSPasteboard*)pboard
|
/external/webkit/Source/WebCore/platform/mac/ |
ClipboardMac.h | 49 static PassRefPtr<ClipboardMac> create(ClipboardType clipboardType, NSPasteboard *pasteboard, ClipboardAccessPolicy policy, Frame* frame) 51 return adoptRef(new ClipboardMac(clipboardType, pasteboard, policy, frame)); 80 NSPasteboard *pasteboard() { return m_pasteboard.get(); } function in class:WebCore::ClipboardMac
|
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...] |
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...] |
ClipboardMac.mm | 38 #import "Pasteboard.h" 52 return ClipboardMac::create(DragAndDrop, dragData->pasteboard(), policy, frame); 55 ClipboardMac::ClipboardMac(ClipboardType clipboardType, NSPasteboard *pasteboard, ClipboardAccessPolicy policy, Frame *frame) 57 , m_pasteboard(pasteboard) 113 static void addHTMLClipboardTypesForCocoaType(HashSet<String>& resultTypes, NSString *cocoaType, NSPasteboard *pasteboard) 128 NSArray *fileList = [pasteboard propertyListForType:NSFilenamesPboardType]; 167 static NSArray *absoluteURLsFromPasteboardFilenames(NSPasteboard* pasteboard, bool onlyFirstURL = false) 169 NSArray *fileList = [pasteboard propertyListForType:NSFilenamesPboardType]; 171 // FIXME: Why does this code need to guard against bad values on the pasteboard? 191 static NSArray *absoluteURLsFromPasteboard(NSPasteboard* pasteboard, bool onlyFirstURL = false [all...] |
/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/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/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/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/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();
|