Chromium Code Reviews| 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 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 }; |
| OLD | NEW |