OLD | NEW |
1 // Copyright 2016 The Chromium Authors. All rights reserved. | 1 // Copyright 2016 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 mus.mojom; | 5 module mus.mojom; |
6 | 6 |
7 const string kMimeTypeHTML = "text/html"; | 7 const string kMimeTypeHTML = "text/html"; |
8 const string kMimeTypeMozillaURL = "text/x-moz-url"; | 8 const string kMimeTypeMozillaURL = "text/x-moz-url"; |
9 const string kMimeTypePNG = "image/png"; | 9 const string kMimeTypePNG = "image/png"; |
10 const string kMimeTypeRTF = "text/rtf"; | 10 const string kMimeTypeRTF = "text/rtf"; |
(...skipping 30 matching lines...) Expand all Loading... |
41 ReadClipboardData(Type clipboard_type, string mime_type) | 41 ReadClipboardData(Type clipboard_type, string mime_type) |
42 => (uint64 sequence, array<uint8>? data); | 42 => (uint64 sequence, array<uint8>? data); |
43 | 43 |
44 // Writes a set of mime types to the clipboard. This will increment the | 44 // Writes a set of mime types to the clipboard. This will increment the |
45 // sequence number and return that. In the case of an empty or null map, | 45 // sequence number and return that. In the case of an empty or null map, |
46 // this will just clear the clipboard. | 46 // this will just clear the clipboard. |
47 [Sync] | 47 [Sync] |
48 WriteClipboardData(Type clipboard_type, map<string, array<uint8>>? data) | 48 WriteClipboardData(Type clipboard_type, map<string, array<uint8>>? data) |
49 => (uint64 sequence); | 49 => (uint64 sequence); |
50 }; | 50 }; |
OLD | NEW |