Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(163)

Side by Side Diff: third_party/mozilla/NSPasteboard+Utils.h

Issue 2014733003: Removing parsing of text from pasteboard. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Review, round n Created 4 years, 6 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch
OLDNEW
1 /* ***** BEGIN LICENSE BLOCK ***** 1 /* ***** BEGIN LICENSE BLOCK *****
2 * Version: MPL 1.1/GPL 2.0/LGPL 2.1 2 * Version: MPL 1.1/GPL 2.0/LGPL 2.1
3 * 3 *
4 * The contents of this file are subject to the Mozilla Public License Version 4 * The contents of this file are subject to the Mozilla Public License Version
5 * 1.1 (the "License"); you may not use this file except in compliance with 5 * 1.1 (the "License"); you may not use this file except in compliance with
6 * the License. You may obtain a copy of the License at 6 * the License. You may obtain a copy of the License at
7 * http://www.mozilla.org/MPL/ 7 * http://www.mozilla.org/MPL/
8 * 8 *
9 * Software distributed under the License is distributed on an "AS IS" basis, 9 * Software distributed under the License is distributed on an "AS IS" basis,
10 * WITHOUT WARRANTY OF ANY KIND, either express or implied. See the License 10 * WITHOUT WARRANTY OF ANY KIND, either express or implied. See the License
(...skipping 36 matching lines...) Expand 10 before | Expand all | Expand 10 after
47 MOZILLA_EXPORT extern NSString* const kCaminoBookmarkListPBoardType; 47 MOZILLA_EXPORT extern NSString* const kCaminoBookmarkListPBoardType;
48 MOZILLA_EXPORT extern NSString* const kWebURLsWithTitlesPboardType; 48 MOZILLA_EXPORT extern NSString* const kWebURLsWithTitlesPboardType;
49 49
50 @interface NSPasteboard(ChimeraPasteboardURLUtils) 50 @interface NSPasteboard(ChimeraPasteboardURLUtils)
51 51
52 - (int) declareURLPasteboardWithAdditionalTypes:(NSArray*)additionalTypes owner: (id)newOwner; 52 - (int) declareURLPasteboardWithAdditionalTypes:(NSArray*)additionalTypes owner: (id)newOwner;
53 - (void) setDataForURL:(NSString*)url title:(NSString*)title; 53 - (void) setDataForURL:(NSString*)url title:(NSString*)title;
54 54
55 - (void) setURLs:(NSArray*)inUrls withTitles:(NSArray*)inTitles; 55 - (void) setURLs:(NSArray*)inUrls withTitles:(NSArray*)inTitles;
56 - (void) getURLs:(NSArray**)outUrls 56 - (void) getURLs:(NSArray**)outUrls
57 andTitles:(NSArray**)outTitles 57 andTitles:(NSArray**)outTitles
58 convertingFilenames:(BOOL)convertFilenames; 58 convertingFilenames:(BOOL)convertFilenames
59 - (BOOL) containsURLData; 59 convertTextToURL:(BOOL)convertTextToURL;
Avi (use Gerrit) 2016/06/02 18:08:02 convertingTextToURL to match the previous selector
60 - (BOOL) containsURLData:(BOOL)convertTextToURL;
Avi (use Gerrit) 2016/06/02 18:08:02 This doesn't work. Your code acknowledges that by
60 61
61 @end 62 @end
62 63
63 @interface NSPasteboard(ChromiumHTMLUtils) 64 @interface NSPasteboard(ChromiumHTMLUtils)
64 65
65 // Returns the HTML converted from RTF data on the pasteboard. If there is 66 // Returns the HTML converted from RTF data on the pasteboard. If there is
66 // none, returns an empty string. 67 // none, returns an empty string.
67 - (NSString*)htmlFromRtf; 68 - (NSString*)htmlFromRtf;
68 69
69 @end 70 @end
OLDNEW
« no previous file with comments | « content/browser/web_contents/web_drag_dest_mac.mm ('k') | third_party/mozilla/NSPasteboard+Utils.mm » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698