* @fileoverview A shared library for clipboard features. This file should be
* imported by other clipboard-related scripts.
*/
import {gCrWeb} from '//ios/web/public/js_messaging/resources/gcrweb.js';
import {sendWebKitMessage} from '//ios/web/public/js_messaging/resources/utils.js';
* Sends a message to the browser that a clipboard read has finished.
*/
export function sendDidFinishClipboardReadMessage() {
sendWebKitMessage('ClipboardHandler', {
'frameId': gCrWeb.getFrameId(),
'command': 'didFinishClipboardRead',
});
}