summaryrefslogtreecommitdiff
path: root/chromium/content/common/font_loader_mac.mojom
diff options
context:
space:
mode:
Diffstat (limited to 'chromium/content/common/font_loader_mac.mojom')
-rw-r--r--chromium/content/common/font_loader_mac.mojom14
1 files changed, 14 insertions, 0 deletions
diff --git a/chromium/content/common/font_loader_mac.mojom b/chromium/content/common/font_loader_mac.mojom
new file mode 100644
index 00000000000..d14c1f16693
--- /dev/null
+++ b/chromium/content/common/font_loader_mac.mojom
@@ -0,0 +1,14 @@
+// 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);
+};