blob: 0134183c602dce34609321fd4b43ef3088bb48aa [file] [log] [blame]
// Copyright 2020 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.
module crosapi.mojom;
// This interface is implemented by Ash-Chrome.
// Normally, we'd want all clipboard access to go through the Wayland clipboard
// APIs. This currently requires a major refactor to become fully functional,
// see for details. This is a short-term workaround
// that provides synchronous clipboard access.
[Stable, Uuid="f2c9e4b9-8782-4b20-a8be-f3b2a3400a38"]
interface Clipboard {
// Returns the unicode contents of the clipboard copy/paste buffer, UTF-8
// encoded.
GetCopyPasteText@0() => (string text);