blob: 9998a0bf0267eb6010664bc51cfd7c7fa2b8d46e [file] [log] [blame]
// Copyright 2016 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 "cc/ipc/shared_bitmap_manager.mojom";
import "content/common/native_types.mojom";
interface RenderMessageFilter {
// Synchronously generates a new routing ID for the caller.
[Sync] GenerateRoutingID() => (int32 routing_id);
// Similar to CreateWindow, except used for sub-widgets, like <select>
// dropdowns.
[Sync] CreateNewWidget(int32 opener_id, content.mojom.WebPopupType popup_type)
=> (int32 route_id);
// Similar to CreateWidget except the widget is a full screen window.
[Sync] CreateFullscreenWidget(int32 opener_id)
=> (int32 route_id);
GetSharedBitmapManager(associated cc.mojom.SharedBitmapManager& bitmap_manager);
};