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

Unified Diff: third_party/WebKit/public/platform/modules/hyphenation/hyphenation.mojom

Issue 2113933003: Add mojo interface to load hyphenation dictionaries on Android (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: dcheng review Created 4 years, 5 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 side-by-side diff with in-line comments
Download patch
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);
};
« no previous file with comments | « third_party/WebKit/public/platform/modules/hyphenation/OWNERS ('k') | tools/metrics/histograms/histograms.xml » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698