OLD | NEW |
| (Empty) |
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 | |
3 // found in the LICENSE file. | |
4 | |
5 module blimp.engine.mojom; | |
6 | |
7 // Allows the renderer to synchronously request font data from the browser | |
8 // process. | |
9 interface FontFetcher { | |
10 // Create a stream for the font data. | |
11 // font_hash: a hash representation of the font data. | |
12 // If there is no font for font_hash, return an empty shared buffer. | |
13 [Sync] | |
14 GetFontStream(string font_hash) => | |
15 (handle<shared_buffer> font_stream, uint32 size); | |
16 }; | |
OLD | NEW |