summaryrefslogtreecommitdiffstats
path: root/third_party/mozilla/NSPasteboard+Utils.h
diff options
context:
space:
mode:
Diffstat (limited to 'third_party/mozilla/NSPasteboard+Utils.h')
-rw-r--r--third_party/mozilla/NSPasteboard+Utils.h7
1 files changed, 7 insertions, 0 deletions
diff --git a/third_party/mozilla/NSPasteboard+Utils.h b/third_party/mozilla/NSPasteboard+Utils.h
index c75de6a..79d3bfb 100644
--- a/third_party/mozilla/NSPasteboard+Utils.h
+++ b/third_party/mozilla/NSPasteboard+Utils.h
@@ -58,3 +58,10 @@ extern NSString* const kWebURLsWithTitlesPboardType;
@end
+@interface NSPasteboard(ChromiumHTMLUtils)
+
+// Returns the HTML converted from RTF data on the pasteboard. If there is
+// none, returns an empty string.
+- (NSString*)htmlFromRtf;
+
+@end