[Lacros] Add support for chrome.clipboard.setImageData().

* {setImageData(), onClipboardDataChanged} are made available to Lacros.
* Only setImageData() is supported.
  * Add ImageCodec.ROBUST_PNG_CODEC usage to Lacros.
* onClipboardDataChanged support will be added in a follow-up.

Bug: 1193768
Change-Id: Ifa5cbe1ecee1a5d1c1ab378ca58edf0bceb08131
Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/2792166
Commit-Queue: Samuel Huang <huangs@chromium.org>
Reviewed-by: Toni Baržić <tbarzic@chromium.org>
Reviewed-by: Chris Palmer <palmer@chromium.org>
Reviewed-by: Steven Bennetts <stevenjb@chromium.org>
Reviewed-by: Reilly Grant <reillyg@chromium.org>
Reviewed-by: Tommy Nyquist <nyquist@chromium.org>
Reviewed-by: Erik Chen <erikchen@chromium.org>
Cr-Commit-Position: refs/heads/master@{#869525}
GitOrigin-RevId: cd531d9d8f001bcbf0b7563d786cf03b924254dd
1 file changed