/external/chromium_org/chrome/browser/ui/cocoa/download/ |
D | download_util_mac_unittest.mm | 29 NSPasteboard* pasteboard() { return pasteboard_; } 35 // Ensure adding files to the pasteboard methods works as expected. 37 // Get a download test file for addition to the pasteboard. 43 // Add a test file to the pasteboard via the download_util method. 44 download_util::AddFileToPasteboard(pasteboard(), testPath); 48 NSString* available = [pasteboard() availableTypeFromArray:types]; 52 NSArray* files = [pasteboard() propertyListForType:NSFilenamesPboardType];
|
D | download_util_mac.mm | 12 void AddFileToPasteboard(NSPasteboard* pasteboard, const base::FilePath& path) { 13 // Write information about the file being dragged to the pasteboard. 16 [pasteboard declareTypes:[NSArray arrayWithObject:NSFilenamesPboardType] 18 [pasteboard setPropertyList:fileList forType:NSFilenamesPboardType];
|
D | download_item_drag_mac.mm | 15 NSPasteboard* pasteboard = [NSPasteboard pasteboardWithName:NSDragPboard]; 16 download_util::AddFileToPasteboard(pasteboard, download->GetTargetFilePath()); 37 pasteboard:pasteboard
|
D | download_util_mac.h | 16 void AddFileToPasteboard(NSPasteboard* pasteboard, const base::FilePath& path);
|
/external/chromium_org/remoting/host/ |
D | clipboard_mac.mm | 62 // Synchronize local change-count with the pasteboard's. The change-count is 85 NSPasteboard* pasteboard = [NSPasteboard generalPasteboard]; 86 [pasteboard declareTypes:[NSArray arrayWithObject:NSStringPboardType] 88 [pasteboard setString:text forType:NSStringPboardType]; 101 NSPasteboard* pasteboard = [NSPasteboard generalPasteboard]; 102 NSInteger change_count = [pasteboard changeCount]; 108 NSString* data = [pasteboard stringForType:NSStringPboardType];
|
/external/chromium_org/chrome/browser/ui/cocoa/bookmarks/ |
D | bookmark_bar_folder_view_unittest.mm | 79 id pasteboard = [OCMockObject mockForClass:[NSPasteboard class]]; 82 [[[pasteboard stub] 86 [[[pasteboard stub] andReturn:[NSData data]] dataForType:dataType]; 88 [[[pasteboard stub] andReturn:nil] dataForType:OCMOCK_ANY]; 89 [[[pasteboard stub] andReturnBool:YES] containsURLData]; 90 [[pasteboard stub] getURLs:[OCMArg setTo:nil] 93 return pasteboard; 100 id pasteboard = GetFakePasteboardForType(dataType); 101 [[[drag_info stub] andReturn:pasteboard] draggingPasteboard];
|
D | bookmark_folder_target.mm | 22 // Copies the given bookmark node to the given pasteboard, declaring appropriate 115 // Put the bookmark information into the pasteboard, and then write our own
|
D | bookmark_button.mm | 186 // Ask our delegate to fill the pasteboard for us. 218 event:event pasteboard:pboard source:self slideBack:YES];
|
D | bookmark_drag_drop_cocoa.mm | 172 pasteboard:[NSPasteboard pasteboardWithName:NSDragPboard]
|
/external/chromium_org/content/browser/renderer_host/ |
D | render_widget_host_view_mac_dictionary_helper.mm | 35 NSPasteboard* pasteboard = [NSPasteboard pasteboardWithUniqueName]; 37 [pasteboard declareTypes:types owner:nil]; 38 if ([pasteboard setString:text forType:NSStringPboardType]) 39 NSPerformService(@"Look Up in Dictionary", pasteboard);
|
D | clipboard_message_filter_mac.mm | 20 // The number of utf16 code units that will be written to the find pasteboard, 22 // renderer can write unlimited amounts of data into the find pasteboard.
|
/external/chromium_org/content/browser/web_contents/ |
D | web_drag_source_mac_unittest.mm | 32 pasteboard:[NSPasteboard pasteboardWithUniqueName] 36 base::scoped_nsobject<NSPasteboard> pasteboard( 38 [source lazyWriteToPasteboard:pasteboard forType:NSURLPboardType];
|
D | web_drag_source_mac.h | 63 pasteboard:(NSPasteboard*)pboard
|
D | web_drag_source_mac.mm | 47 // An unofficial standard pasteboard title type to be provided alongside the 111 pasteboard:(NSPasteboard*)pboard 216 // Unknown drag pasteboard type. 256 pasteboard:pasteboard_ 290 // Make sure the pasteboard owner isn't us.
|
D | web_drag_dest_mac_unittest.mm | 90 // Put a URL on the pasteboard and check it. 99 // Put a 'url ' and 'urln' on the pasteboard and check it.
|
D | web_drag_dest_mac.mm | 109 // Fill out a DropData from pasteboard. 212 // Check if we only allow navigation and navigate to a url on the pasteboard. 248 // given pasteboard. The types handled by this method should be kept in sync
|
D | web_contents_view_mac.mm | 468 - (void)pasteboard:(NSPasteboard*)sender provideDataForType:(NSString*)type { 483 pasteboard:[NSPasteboard pasteboardWithName:NSDragPboard]
|
/external/chromium_org/ui/base/clipboard/ |
D | clipboard_mac.mm | 34 // Tells us if WebKit was the last to write to the pasteboard. There's no 36 NSString* const kWebSmartPastePboardType = @"NeXT smart paste pasteboard type"; 43 // The pasteboard should not be nil in a UI session, but this handy DCHECK 46 NSPasteboard* pasteboard = [NSPasteboard generalPasteboard]; 47 DCHECK(pasteboard); 48 return pasteboard; 155 // passing UTIs into the pasteboard methods is valid >= 10.5 188 // pasteboard. This flavor has no data. 212 // Safari only places RTF on the pasteboard, never HTML. We can convert RTF 315 // If the pasteboard's image data is not to its liking, the guts of NSImage
|
/external/chromium_org/third_party/WebKit/Source/core/editing/ |
D | Editor.cpp | 382 void Editor::pasteAsPlainTextWithPasteboard(Pasteboard* pasteboard) in pasteAsPlainTextWithPasteboard() argument 384 String text = pasteboard->plainText(); in pasteAsPlainTextWithPasteboard() 385 pasteAsPlainText(text, canSmartReplaceWithPasteboard(pasteboard)); in pasteAsPlainTextWithPasteboard() 388 void Editor::pasteWithPasteboard(Pasteboard* pasteboard) in pasteWithPasteboard() argument 394 if (pasteboard->isHTMLAvailable()) { in pasteWithPasteboard() 398 String markup = pasteboard->readHTML(url, fragmentStart, fragmentEnd); in pasteWithPasteboard() 406 String text = pasteboard->plainText(); in pasteWithPasteboard() 414 pasteAsFragment(fragment, canSmartReplaceWithPasteboard(pasteboard), chosePlainText); in pasteWithPasteboard() 417 void Editor::writeSelectionToPasteboard(Pasteboard* pasteboard, Range* selectedRange, const String&… in writeSelectionToPasteboard() argument 421 pasteboard->writeHTML(html, url, plainText, canSmartCopyOrDelete()); in writeSelectionToPasteboard() [all …]
|
/external/chromium_org/third_party/WebKit/Source/core/clipboard/ |
D | Pasteboard.cpp | 50 static Pasteboard* pasteboard = new Pasteboard; in generalPasteboard() local 51 return pasteboard; in generalPasteboard()
|
/external/chromium_org/chrome/browser/ui/cocoa/ |
D | find_pasteboard_unittest.mm | 13 // A subclass of FindPasteboard that doesn't write to the real find pasteboard. 24 // These are for checking that pasteboard content is copied to/from the
|
/external/chromium_org/ui/base/dragdrop/ |
D | os_exchange_data_provider_mac.mm | 21 OSExchangeDataProviderMac::OSExchangeDataProviderMac(NSPasteboard* pasteboard) 22 : pasteboard_([pasteboard retain]) {
|
D | os_exchange_data_provider_mac.h | 20 explicit OSExchangeDataProviderMac(NSPasteboard* pasteboard);
|
/external/chromium_org/third_party/mozilla/ |
D | NSPasteboard+Utils.mm | 102 // Copy a set of URLs, each of which may have a title, to the pasteboard 169 // Get the set of URLs and their corresponding titles from the pasteboard. 170 // If there are no URLs in a format we understand on the pasteboard empty 257 // Indicates if this pasteboard contains URL data that we understand
|
/external/chromium_org/content/common/ |
D | sandbox_mac_system_access_unittest.mm | 48 // Shouldn't be able to open the pasteboard in the sandbox.
|