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); |
}; |