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

1 2 3 4

  /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...]
ClipboardWx.cpp 33 #include "Pasteboard.h"
52 Pasteboard::generalPasteboard()->clear();
122 Pasteboard::generalPasteboard()->writeURL(url, string, frame);
138 Pasteboard::generalPasteboard()->writePlainText(text);
  /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/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/WebCore/platform/mac/
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...]
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
  /external/webkit/WebCore/platform/gtk/
PasteboardGtk.cpp 21 #include "Pasteboard.h"
61 if ((gint)info == Pasteboard::generalPasteboard()->m_helper->getWebViewTargetInfoHtml())
76 Pasteboard* Pasteboard::generalPasteboard()
78 static Pasteboard* pasteboard = new Pasteboard(); local
79 return pasteboard;
82 Pasteboard::Pasteboard()
    [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/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...]
  /external/webkit/WebCore/platform/wince/
PasteboardWince.cpp 29 #include "Pasteboard.h"
78 Pasteboard* Pasteboard::generalPasteboard()
80 static Pasteboard* pasteboard = new Pasteboard; local
81 return pasteboard;
84 Pasteboard::Pasteboard()
102 void Pasteboard::clear(
    [all...]
  /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/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/win/
PasteboardWin.cpp 27 #include "Pasteboard.h"
79 Pasteboard* Pasteboard::generalPasteboard()
81 static Pasteboard* pasteboard = new Pasteboard; local
82 return pasteboard;
85 Pasteboard::Pasteboard()
103 void Pasteboard::clear(
    [all...]
  /external/webkit/WebKitTools/DumpRenderTree/mac/
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.h 39 - (id)initWithImage:(NSImage *)image offset:(NSSize)offset pasteboard:(NSPasteboard *)pasteboard source:(id)source;
  /external/webkit/WebKit/mac/Misc/
WebNSPasteboardExtras.h 51 // of one or more of these drag types on the pasteboard is not a guarantee that
55 // Finds the best URL from the data on the pasteboard, giving priority to http and https URLs
58 // Writes the URL to the pasteboard with the passed types.
64 // Writes a file wrapper to the pasteboard as an RTFD attachment.
65 // NSRTFDPboardType must be declared on the pasteboard before calling this method.
68 // Writes an image, URL and other optional types to the pasteboard.
  /external/webkit/WebCore/platform/android/
TemporaryLinkStubs.cpp 67 #include "Pasteboard.h"
170 Pasteboard* Pasteboard::generalPasteboard()
172 return new Pasteboard();
175 void Pasteboard::writeSelection(Range*, bool, Frame*)
180 void Pasteboard::writePlainText(const String&)
185 void Pasteboard::writeURL(const KURL&, const String&, Frame*)
190 void Pasteboard::clear()
195 bool Pasteboard::canSmartReplace()
201 PassRefPtr<DocumentFragment> Pasteboard::documentFragment(Frame*, PassRefPtr<Range>, bool, bool&
    [all...]
  /external/webkit/WebKit/mac/WebView/
WebArchive.h 36 @abstract The pasteboard type constant used when adding or accessing a WebArchive on the pasteboard.
44 This class can be used for saving standalone web pages, representing portions of a web page on the pasteboard, or any other
92 @discussion The data returned by this method can be used to save a web archive to a file or to place a web archive on the pasteboard
WebEditingDelegatePrivate.h 35 - (void)webView:(WebView *)webView didWriteSelectionToPasteboard:(NSPasteboard *)pasteboard;
36 - (void)webView:(WebView *)webView didSetSelectionTypesForPasteboard:(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/WebKit/win/Interfaces/
IWebView.idl 193 @abstract Returns a URL from a pasteboard
194 @param pasteboard The pasteboard with a URL
195 @result A URL if the pasteboard has one. Nil if it does not.
196 @discussion This method differs than NSURL's URLFromPasteboard method in that it tries multiple pasteboard types
197 including NSURLPboardType to find a URL on the pasteboard.
198 + (NSURL *)URLFromPasteboard:(NSPasteboard *)pasteboard;
200 HRESULT URLFromPasteboard([in] IDataObject* pasteboard, [out, retval] BSTR* url);
204 @abstract Returns a URL title from a pasteboard
205 @param pasteboard The pasteboard with a URL titl
    [all...]

Completed in 187 milliseconds

1 2 3 4