naiveproxy/content/common/font_loader_mac.mojom

15 lines
474 B
Plaintext
Raw Normal View History

2018-08-15 01:19:20 +03:00
// 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);
};