HomeSort by relevance Sort by last modified time
    Searched refs:pasteboard (Results 1 - 25 of 43) sorted by null

1 2

  /external/webkit/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/WebKit/mac/WebCoreSupport/
WebPasteboardHelper.mm 40 String WebPasteboardHelper::urlFromPasteboard(const NSPasteboard* pasteboard, String* title) const
42 NSURL *URL = [pasteboard _web_bestURL];
44 if (NSString *URLTitleString = [pasteboard stringForType:WebURLNamePboardType])
51 String WebPasteboardHelper::plainTextFromPasteboard(const NSPasteboard *pasteboard) const
53 NSArray *types = [pasteboard types];
56 return [[pasteboard stringForType:NSStringPboardType] precomposedStringWithCanonicalMapping];
62 attributedString = [[NSAttributedString alloc] initWithRTFD:[pasteboard dataForType:NSRTFDPboardType] documentAttributes:nil];
64 attributedString = [[NSAttributedString alloc] initWithRTF:[pasteboard dataForType:NSRTFPboardType] documentAttributes:nil];
72 string = [[pasteboard propertyListForType:NSFilenamesPboardType] componentsJoinedByString:@"\n"];
79 if ((URL = [NSURL URLFromPasteboard:pasteboard])) {
    [all...]
WebDragClient.mm 82 [[m_webView _UIDelegateForwarder] webView:m_webView willPerformDragSourceAction:(WebDragSourceAction)action fromPoint:mouseDownPoint withPasteboard:static_cast<WebCore::ClipboardMac*>(clipboard)->pasteboard()];
99 NSPasteboard *pasteboard = static_cast<ClipboardMac*>(clipboard)->pasteboard();
105 SEL selector = @selector(webView:dragImage:at:offset:event:pasteboard:source:slideBack:forView:);
109 [delegate webView:m_webView dragImage:dragNSImage at:at offset:NSZeroSize event:event pasteboard:pasteboard source:sourceHTMLView slideBack:YES forView:topHTMLView];
114 [delegate webView:m_webView dragImage:dragNSImage at:at offset:NSZeroSize event:event pasteboard:pasteboard source:sourceHTMLView slideBack:YES forView:topHTMLView];
116 [topHTMLView dragImage:dragNSImage at:at offset:NSZeroSize event:event pasteboard:pasteboard source:sourceHTMLView slideBack:YES]
    [all...]
  /external/webkit/WebKit/mac/WebView/
WebEditingDelegatePrivate.h 35 - (void)webView:(WebView *)webView didWriteSelectionToPasteboard:(NSPasteboard *)pasteboard;
36 - (void)webView:(WebView *)webView didSetSelectionTypesForPasteboard:(NSPasteboard *)pasteboard;
WebHTMLViewPrivate.h 71 - (void)_writeSelectionToPasteboard:(NSPasteboard *)pasteboard;
113 - (DOMDocumentFragment *)_documentFragmentFromPasteboard:(NSPasteboard *)pasteboard forType:(NSString *)pboardType inContext:(DOMRange *)context subresources:(NSArray **)subresources;
128 - (BOOL)_canSmartReplaceWithPasteboard:(NSPasteboard *)pasteboard;
WebHTMLViewInternal.h 53 - (DOMDocumentFragment *)_documentFragmentFromPasteboard:(NSPasteboard *)pasteboard;
WebDocumentPrivate.h 46 - (void)writeSelectionWithPasteboardTypes:(NSArray *)types toPasteboard:(NSPasteboard *)pasteboard;
WebView.h 155 @abstract Returns a URL from a pasteboard
156 @param pasteboard The pasteboard with a URL
157 @result A URL if the pasteboard has one. Nil if it does not.
158 @discussion This method differs than NSURL's URLFromPasteboard method in that it tries multiple pasteboard types
159 including NSURLPboardType to find a URL on the pasteboard.
161 + (NSURL *)URLFromPasteboard:(NSPasteboard *)pasteboard;
165 @abstract Returns a URL title from a pasteboard
166 @param pasteboard The pasteboard with a URL titl
    [all...]
  /external/webkit/WebKitTools/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...]
DumpRenderTreeDraggingInfo.mm 38 - (id)initWithImage:(NSImage *)anImage offset:(NSSize)o pasteboard:(NSPasteboard *)pboard source:(id)source
UIDelegate.mm 98 - (void)webView:(WebView *)sender dragImage:(NSImage *)anImage at:(NSPoint)viewLocation offset:(NSSize)initialOffset event:(NSEvent *)event pasteboard:(NSPasteboard *)pboard source:(id)sourceObj slideBack:(BOOL)slideFlag forView:(NSView *)view
101 draggingInfo = [[DumpRenderTreeDraggingInfo alloc] initWithImage:anImage offset:initialOffset pasteboard:pboard source:sourceObj];
  /external/webkit/WebKit/mac/Misc/
WebNSViewExtras.h 65 pasteboard:(NSPasteboard *)pasteboard
WebNSViewExtras.m 157 pasteboard:(NSPasteboard *)pasteboard
201 [self dragImage:dragImage at:origin offset:NSZeroSize event:event pasteboard:pasteboard source:source slideBack:YES];
  /external/webkit/WebCore/platform/mac/
ClipboardMac.h 48 static PassRefPtr<ClipboardMac> create(bool forDragging, NSPasteboard *pasteboard, ClipboardAccessPolicy policy, Frame* frame)
50 return adoptRef(new ClipboardMac(forDragging, pasteboard, policy, frame));
79 NSPasteboard *pasteboard() { return m_pasteboard.get(); } function in class:WebCore::ClipboardMac
PasteboardMac.mm 27 #import "Pasteboard.h"
58 NSString *WebArchivePboardType = @"Apple Web Archive pasteboard type";
59 NSString *WebSmartPastePboardType = @"NeXT smart paste pasteboard type";
72 } else { // Don't write RTFD to the pasteboard when the copied attributed string has no attachments.
107 Pasteboard* Pasteboard::generalPasteboard()
109 static Pasteboard* pasteboard = new Pasteboard([NSPasteboard generalPasteboard]);
110 return pasteboard;
    [all...]
DragDataMac.mm 37 #import "Pasteboard.h"
55 //Need to call this so that the various Pasteboard type strings are intialised
56 Pasteboard::generalPasteboard();
81 NSPasteboard *pasteboard = [m_platformDragData draggingPasteboard];
82 NSArray *types = [pasteboard types];
88 || [NSURL URLFromPasteboard:pasteboard];
110 NSPasteboard *pasteboard = [m_platformDragData draggingPasteboard];
111 NSMutableSet *types = [NSMutableSet setWithArray:[pasteboard types]];
ClipboardMac.mm 38 #import "Pasteboard.h"
49 ClipboardMac::ClipboardMac(bool forDragging, NSPasteboard *pasteboard, ClipboardAccessPolicy policy, Frame *frame)
51 , m_pasteboard(pasteboard)
107 static void addHTMLClipboardTypesForCocoaType(HashSet<String>& resultTypes, NSString *cocoaType, NSPasteboard *pasteboard)
122 NSArray *fileList = [pasteboard propertyListForType:NSFilenamesPboardType];
162 static NSArray *absoluteURLsFromPasteboardFilenames(NSPasteboard* pasteboard, bool onlyFirstURL = false)
164 NSArray *fileList = [pasteboard propertyListForType:NSFilenamesPboardType];
166 // FIXME: Why does this code need to guard against bad values on the pasteboard?
186 static NSArray *absoluteURLsFromPasteboard(NSPasteboard* pasteboard, bool onlyFirstURL = false)
188 // NOTE: We must always check [availableTypes containsObject:] before accessing pasteboard dat
    [all...]
  /external/webkit/WebCore/platform/
Pasteboard.h 79 class Pasteboard : public Noncopyable {
83 static void writeSelection(NSPasteboard* pasteboard, Range* selectedRange, bool canSmartCopyOrDelete, Frame* frame);
84 static void writeURL(NSPasteboard* pasteboard, NSArray* types, const KURL& url, const String& titleStr, Frame* frame);
85 static void writePlainText(NSPasteboard* pasteboard, const String& text);
88 static Pasteboard* generalPasteboard();
111 Pasteboard();
112 ~Pasteboard();
115 Pasteboard(NSPasteboard *);
  /external/webkit/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/WebCore/platform/qt/
PasteboardQt.cpp 29 #include "Pasteboard.h"
48 Pasteboard::Pasteboard()
53 Pasteboard* Pasteboard::generalPasteboard()
55 static Pasteboard* pasteboard = 0; local
56 if (!pasteboard)
57 pasteboard = new Pasteboard();
    [all...]
  /external/webkit/WebCore/platform/haiku/
PasteboardHaiku.cpp 28 #include "Pasteboard.h"
44 Pasteboard::Pasteboard()
48 Pasteboard* Pasteboard::generalPasteboard()
50 static Pasteboard* pasteboard = new Pasteboard(); local
51 return pasteboard;
54 void Pasteboard::writeSelection(Range* selectedRange, bool canSmartCopyOrDelete, Frame* frame
    [all...]
  /external/webkit/WebKit/mac/DefaultDelegates/
WebDefaultEditingDelegate.m 105 - (void)webView:(WebView *)webView didWriteSelectionToPasteboard:(NSPasteboard *)pasteboard
109 - (void)webView:(WebView *)webView didSetSelectionTypesForPasteboard:(NSPasteboard *)pasteboard
  /external/webkit/WebCore/platform/chromium/
PasteboardChromium.cpp 32 #include "Pasteboard.h"
55 Pasteboard* Pasteboard::generalPasteboard()
57 static Pasteboard* pasteboard = new Pasteboard; local
58 return pasteboard;
61 Pasteboard::Pasteboard()
66 void Pasteboard::clear(
    [all...]

Completed in 961 milliseconds

1 2