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

Unified Diff: mojo/services/html_viewer/blink_basic_type_converters.h

Issue 562483002: mojo: Create a basic clipboard. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Changes to the gn files. Created 6 years, 3 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
« no previous file with comments | « mojo/services/html_viewer/BUILD.gn ('k') | mojo/services/html_viewer/blink_basic_type_converters.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: mojo/services/html_viewer/blink_basic_type_converters.h
diff --git a/mojo/services/html_viewer/blink_basic_type_converters.h b/mojo/services/html_viewer/blink_basic_type_converters.h
index cb3b8034b0926ecf409049b494c4d4c2adf641ec..60ddeee087c6ebea307e7ff15f17bf758442d1cf 100644
--- a/mojo/services/html_viewer/blink_basic_type_converters.h
+++ b/mojo/services/html_viewer/blink_basic_type_converters.h
@@ -25,6 +25,10 @@ template<>
struct TypeConverter<blink::WebString, String> {
static blink::WebString Convert(const String& str);
};
+template <>
+struct TypeConverter<Array<uint8_t>, blink::WebString> {
+ static Array<uint8_t> Convert(const blink::WebString& input);
+};
template<typename T, typename U>
struct TypeConverter<Array<T>, blink::WebVector<U> > {
« no previous file with comments | « mojo/services/html_viewer/BUILD.gn ('k') | mojo/services/html_viewer/blink_basic_type_converters.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698