// Copyright (c) 2016 The Chromium Authors. All rights reserved. // Use of this source code is governed by a BSD-style license that can be // found in the LICENSE file. // The chrome.clipboard API is provided to allow users to // access data of the clipboard. This API is currently only implemented for // ChromeOS. namespace clipboard { interface Events { // Fired when clipboard data changes. // Requires clipboard and clipboardRead permissions for adding listener to // chrome.clipboard.onClipboardDataChanged event. // After this event fires, the clipboard data is available by calling // document.execCommand('paste'). static void onClipboardDataChanged(); }; };