blob: 9772b6fd18dc323c7c4ff179eefbed484c22c10e (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
|
// Copyright 2015 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.
// IPC messages for GuestViews.
// Multiply-included message file, hence no include guard.
#include "base/values.h"
#include "ipc/ipc_message_macros.h"
#define IPC_MESSAGE_START GuestViewMsgStart
// Messages sent from the browser to the renderer.
// Once a RenderView proxy has been created for the guest in the embedder render
// process, this IPC informs the embedder of the proxy's routing ID.
IPC_MESSAGE_CONTROL2(GuestViewMsg_GuestAttached,
int /* element_instance_id */,
int /* source_routing_id */)
// This IPC tells the browser process to detach the provided
// |element_instance_id| from a GuestViewBase if it is attached to one.
// In other words, routing of input and graphics will no longer flow through
// the container associated with the provided ID.
IPC_MESSAGE_CONTROL1(GuestViewMsg_GuestDetached,
int /* element_instance_id*/)
// Messages sent from the renderer to the browser.
// Sent by the renderer to set initialization parameters of a Browser Plugin
// that is identified by |element_instance_id|.
IPC_MESSAGE_CONTROL3(GuestViewHostMsg_AttachGuest,
int /* element_instance_id */,
int /* guest_instance_id */,
base::DictionaryValue /* attach_params */)
|