Home
last modified time | relevance | path

Searched refs:pasteboard (Results 1 – 25 of 35) sorted by relevance

12

/external/chromium_org/chrome/browser/ui/cocoa/download/
Ddownload_util_mac_unittest.mm29 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];
Ddownload_util_mac.mm12 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];
Ddownload_item_drag_mac.mm15 NSPasteboard* pasteboard = [NSPasteboard pasteboardWithName:NSDragPboard];
16 download_util::AddFileToPasteboard(pasteboard, download->GetTargetFilePath());
37 pasteboard:pasteboard
Ddownload_util_mac.h16 void AddFileToPasteboard(NSPasteboard* pasteboard, const base::FilePath& path);
/external/chromium_org/remoting/host/
Dclipboard_mac.mm62 // 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/
Dbookmark_bar_folder_view_unittest.mm79 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];
Dbookmark_folder_target.mm22 // Copies the given bookmark node to the given pasteboard, declaring appropriate
115 // Put the bookmark information into the pasteboard, and then write our own
Dbookmark_button.mm186 // Ask our delegate to fill the pasteboard for us.
218 event:event pasteboard:pboard source:self slideBack:YES];
Dbookmark_drag_drop_cocoa.mm172 pasteboard:[NSPasteboard pasteboardWithName:NSDragPboard]
/external/chromium_org/content/browser/renderer_host/
Drender_widget_host_view_mac_dictionary_helper.mm35 NSPasteboard* pasteboard = [NSPasteboard pasteboardWithUniqueName];
37 [pasteboard declareTypes:types owner:nil];
38 if ([pasteboard setString:text forType:NSStringPboardType])
39 NSPerformService(@"Look Up in Dictionary", pasteboard);
Dclipboard_message_filter_mac.mm20 // 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/
Dweb_drag_source_mac_unittest.mm32 pasteboard:[NSPasteboard pasteboardWithUniqueName]
36 base::scoped_nsobject<NSPasteboard> pasteboard(
38 [source lazyWriteToPasteboard:pasteboard forType:NSURLPboardType];
Dweb_drag_source_mac.h63 pasteboard:(NSPasteboard*)pboard
Dweb_drag_source_mac.mm47 // 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.
Dweb_drag_dest_mac_unittest.mm90 // Put a URL on the pasteboard and check it.
99 // Put a 'url ' and 'urln' on the pasteboard and check it.
Dweb_drag_dest_mac.mm109 // 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
Dweb_contents_view_mac.mm468 - (void)pasteboard:(NSPasteboard*)sender provideDataForType:(NSString*)type {
483 pasteboard:[NSPasteboard pasteboardWithName:NSDragPboard]
/external/chromium_org/ui/base/clipboard/
Dclipboard_mac.mm34 // 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/
DEditor.cpp382 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/
DPasteboard.cpp50 static Pasteboard* pasteboard = new Pasteboard; in generalPasteboard() local
51 return pasteboard; in generalPasteboard()
/external/chromium_org/chrome/browser/ui/cocoa/
Dfind_pasteboard_unittest.mm13 // 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/
Dos_exchange_data_provider_mac.mm21 OSExchangeDataProviderMac::OSExchangeDataProviderMac(NSPasteboard* pasteboard)
22 : pasteboard_([pasteboard retain]) {
Dos_exchange_data_provider_mac.h20 explicit OSExchangeDataProviderMac(NSPasteboard* pasteboard);
/external/chromium_org/third_party/mozilla/
DNSPasteboard+Utils.mm102 // 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/
Dsandbox_mac_system_access_unittest.mm48 // Shouldn't be able to open the pasteboard in the sandbox.

12