Lines Matching refs:pasteboard

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];
163 [pasteboard setString:[URL _web_originalDataAsString] forType:PasteboardTypes::WebURLPboardType];
165 [pasteboard setString:title forType:PasteboardTypes::WebURLNamePboardType];
167 [pasteboard setString:[URL _web_userVisibleString] forType:NSStringPboardType];
169 [pasteboard setPropertyList:arrayForURLsWithTitles(URL, title) forType:PasteboardTypes::WebURLsWithTitlesPboardType];
172 [pasteboard setData:(NSData *)archive->rawDataRepresentation().get() forType:PasteboardTypes::WebArchivePboardType];
179 // The AppKit implementation of copyDropDirectory gets the current pasteboard in
181 // an implementation that gets the pasteboard by name instead.
184 PasteboardRef pasteboard;
185 OSStatus status = PasteboardCreate((CFStringRef)NSDragPboard, &pasteboard);
186 if (status != noErr || !pasteboard)
189 status = PasteboardCopyPasteLocation(pasteboard, &location);
190 CFRelease(pasteboard);
239 - (void)pasteboard:(NSPasteboard *)pasteboard provideDataForType:(NSString *)type
244 [pasteboard setData:(NSData *)image->getTIFFRepresentation() forType:NSTIFFPboardType];
252 - (void)pasteboardChangedOwner:(NSPasteboard *)pasteboard
255 CFRelease(self); // Balanced by the leakRef that WebDragClient::declareAndWriteDragImage does when making this pasteboard owner.