Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(61)

Side by Side Diff: third_party/mojo_services/src/clipboard/public/interfaces/clipboard.mojom

Issue 861683003: Move services code brought in from Mojo to live under //third_party. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Rebase Created 5 years, 10 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch
OLDNEW
1 // Copyright 2014 The Chromium Authors. All rights reserved. 1 // Copyright 2014 The Chromium Authors. All rights reserved.
2 // Use of this source code is governed by a BSD-style license that can be 2 // Use of this source code is governed by a BSD-style license that can be
3 // found in the LICENSE file. 3 // found in the LICENSE file.
4 4
5 module mojo; 5 module mojo;
6 6
7 interface Clipboard { 7 interface Clipboard {
8 enum Type { 8 enum Type {
9 COPY_PASTE = 0, 9 COPY_PASTE = 0,
10 SELECTION = 1, 10 SELECTION = 1,
(...skipping 23 matching lines...) Expand all
34 // GetAvailableFormatMimeTypes(). We don't want to provide one API to return 34 // GetAvailableFormatMimeTypes(). We don't want to provide one API to return
35 // the entire clipboard state because the combined size of the clipboard can 35 // the entire clipboard state because the combined size of the clipboard can
36 // be megabytes, especially when image data is involved. 36 // be megabytes, especially when image data is involved.
37 ReadMimeType(Type clipboard_type, string mime_type) => (array<uint8>? data); 37 ReadMimeType(Type clipboard_type, string mime_type) => (array<uint8>? data);
38 38
39 // Writes a set of mime types to the clipboard. This will increment the 39 // Writes a set of mime types to the clipboard. This will increment the
40 // sequence number. In the case of an empty or null map, this will just 40 // sequence number. In the case of an empty or null map, this will just
41 // clear the clipboard. 41 // clear the clipboard.
42 WriteClipboardData(Type clipboard_type, map<string, array<uint8>>? data); 42 WriteClipboardData(Type clipboard_type, map<string, array<uint8>>? data);
43 }; 43 };
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698