naiveproxy/content/common/font_loader_mac.mojom
2018-12-09 21:59:24 -05:00

15 lines
474 B
Plaintext

// Copyright 2018 The Chromium Authors. All rights reserved.
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.
module content.mojom;
import "mojo/public/mojom/base/string16.mojom";
interface FontLoaderMac {
// Request the browser to load a font into shared memory for us.
[Sync]
LoadFont(mojo_base.mojom.String16 font_name, float font_point_size)
=> (handle<shared_buffer>? font_data, uint32 font_id);
};