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

Unified Diff: components/html_viewer/blink_basic_type_converters.h

Issue 1270313006: Connects PostMessage() for OOPIFs (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 5 years, 4 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 side-by-side diff with in-line comments
Download patch
Index: components/html_viewer/blink_basic_type_converters.h
diff --git a/components/html_viewer/blink_basic_type_converters.h b/components/html_viewer/blink_basic_type_converters.h
index 7eecace6892a91a6ffb58d785f6791bc4ddc40ba..2ccf7f6f4eae42fe64e5e8ff927c05971d5ef351 100644
--- a/components/html_viewer/blink_basic_type_converters.h
+++ b/components/html_viewer/blink_basic_type_converters.h
@@ -31,6 +31,10 @@ template <>
struct TypeConverter<Array<uint8_t>, blink::WebString> {
static Array<uint8_t> Convert(const blink::WebString& input);
};
+template <>
+struct TypeConverter<blink::WebString, Array<uint8_t>> {
+ static blink::WebString Convert(const Array<uint8_t>& input);
+};
template <>
struct TypeConverter<RectPtr, blink::WebRect> {

Powered by Google App Engine
This is Rietveld 408576698