Chromium Code Reviews| Index: third_party/WebKit/public/platform/modules/hyphenation/hyphenation.mojom |
| diff --git a/third_party/WebKit/public/platform/mime_registry.mojom b/third_party/WebKit/public/platform/modules/hyphenation/hyphenation.mojom |
| similarity index 51% |
| copy from third_party/WebKit/public/platform/mime_registry.mojom |
| copy to third_party/WebKit/public/platform/modules/hyphenation/hyphenation.mojom |
| index dbd258295723c3b23462f09c934c3cc35797aa58..65c3d3c830d3b838b03980396ae4c620a394673c 100644 |
| --- a/third_party/WebKit/public/platform/mime_registry.mojom |
| +++ b/third_party/WebKit/public/platform/modules/hyphenation/hyphenation.mojom |
| @@ -4,7 +4,9 @@ |
| module blink.mojom; |
| -interface MimeRegistry { |
| +// Loads hyphenation dictionary. |
| +interface Hyphenation { |
| + // Returns a handle to the raw hyphneation dictionary. |
| [Sync] |
| - GetMimeTypeFromExtension(string extension) => (string mime_type); |
| + OpenDictionary(string locale) => (handle? hyphenation_dictionary_handle); |
|
dcheng
2016/07/13 02:56:29
Do we need the ? It seems like we always pass back
kojii
2016/07/13 05:02:29
mojo runtime checks "handle.IsValid()" if "handle"
|
| }; |