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

Side by Side 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: jam/eae 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 unified diff | Download patch
OLDNEW
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 blink.mojom; 5 module blink.mojom;
6 6
7 interface MimeRegistry { 7 // Loads hyphenation dictionary.
8 interface Hyphenation {
9 // Returns a handle to the raw hyphneation dictionary.
8 [Sync] 10 [Sync]
9 GetMimeTypeFromExtension(string extension) => (string mime_type); 11 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"
10 }; 12 };
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698