Use typemap to convert blink::mojom::ClipboardBuffer to ui::ClipboardType.
We removed this typemap when moving the mojom into WebKit, now we add it back to do the marshaling between ClipboardBuffer and ClipboardType on the browser side. As we don't intend at this time to send messages of this type in the opposite direction we only implement the FromMojom method in clipboard_struct_traits. Bug: 775830 Change-Id: Ib3dacbcc5b3c029167e902afbf7c8c5c809f1ee9 Reviewed-on: https://chromium-review.googlesource.com/823542Reviewed-by:John Abd-El-Malek <jam@chromium.org> Reviewed-by:
Daniel Cheng <dcheng@chromium.org> Commit-Queue: Daniel Cheng <dcheng@chromium.org> Cr-Commit-Position: refs/heads/master@{#524593}
Showing
Please register or sign in to comment