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

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

Issue 2674002: Convert RTF on the pasteboard to HTML and all it to substitute if present and... (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src/
Patch Set: '' Created 10 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 | Annotate | Revision Log
« no previous file with comments | « chrome/browser/cocoa/web_drop_target.mm ('k') | third_party/mozilla/NSPasteboard+Utils.mm » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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 40 matching lines...) Expand 10 before | Expand all | Expand 10 after
51 - (void) setDataForURL:(NSString*)url title:(NSString*)title; 51 - (void) setDataForURL:(NSString*)url title:(NSString*)title;
52 52
53 - (void) setURLs:(NSArray*)inUrls withTitles:(NSArray*)inTitles; 53 - (void) setURLs:(NSArray*)inUrls withTitles:(NSArray*)inTitles;
54 - (void) getURLs:(NSArray**)outUrls 54 - (void) getURLs:(NSArray**)outUrls
55 andTitles:(NSArray**)outTitles 55 andTitles:(NSArray**)outTitles
56 convertingFilenames:(BOOL)convertFilenames; 56 convertingFilenames:(BOOL)convertFilenames;
57 - (BOOL) containsURLData; 57 - (BOOL) containsURLData;
58 58
59 @end 59 @end
60 60
61 @interface NSPasteboard(ChromiumHTMLUtils)
62
63 // Returns the HTML converted from RTF data on the pasteboard. If there is
64 // none, returns an empty string.
65 - (NSString*)htmlFromRtf;
66
67 @end
OLDNEW
« no previous file with comments | « chrome/browser/cocoa/web_drop_target.mm ('k') | third_party/mozilla/NSPasteboard+Utils.mm » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698