naiveproxy/extensions/common/mojo/guest_view.mojom

23 lines
821 B
Plaintext
Raw Normal View History

2018-08-11 08:35:24 +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 extensions.mojom;
import "content/public/common/transferrable_url_loader.mojom";
import "ui/gfx/geometry/mojo/geometry.mojom";
import "url/mojom/url.mojom";
interface GuestView {
// Tells the browser to create a mime handler guest view for a plugin.
// This method is only called when the network service is enabled, and only
// for plugins added using the embedded/object tag.
CreateEmbeddedMimeHandlerViewGuest(
int32 render_frame_id,
int32 tab_id,
url.mojom.Url original_url,
int32 element_instance_id,
gfx.mojom.Size element_size,
content.mojom.TransferrableURLLoader transferrable_url_loader);
};