blob: 4bc19e2a591426a5911cfed85ff23f53b3ead010 [file] [log] [blame]
// 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/shared_memory.mojom";
import "mojo/public/mojom/base/string16.mojom";
// Interface for a sandboxed child process to request services of
// the browser.
interface SandboxSupportMac {
// Returns the shared memory region containing system theme color
// information.
GetSystemColors() => (mojo_base.mojom.ReadOnlySharedMemoryRegion region);
// Request the browser to load a font into a shared memory buffer.
LoadFont(mojo_base.mojom.String16 font_name, float font_point_size)
=> (handle<shared_buffer>? font_data, uint32 font_id);