OLD | NEW |
1 // Copyright 2016 The Chromium Authors. All rights reserved. | 1 // Copyright 2016 The Chromium Authors. All rights reserved. |
2 // Use of this source code is governed by a BSD-style license that can be | 2 // Use of this source code is governed by a BSD-style license that can be |
3 // found in the LICENSE file. | 3 // found in the LICENSE file. |
4 | 4 |
5 module content.mojom; | 5 module content.mojom; |
6 | 6 |
7 import "cc/ipc/shared_bitmap_manager.mojom"; | 7 import "cc/ipc/shared_bitmap_manager.mojom"; |
8 import "content/common/native_types.mojom"; | 8 import "content/common/native_types.mojom"; |
9 import "content/public/common/window_container_type.mojom"; | 9 import "content/public/common/window_container_type.mojom"; |
10 import "gpu/ipc/common/mailbox.mojom"; | 10 import "gpu/ipc/common/mailbox.mojom"; |
(...skipping 62 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
73 int32 main_frame_widget_route_id; | 73 int32 main_frame_widget_route_id; |
74 | 74 |
75 // Duplicated from CreateNewWindowParams because legacy code. | 75 // Duplicated from CreateNewWindowParams because legacy code. |
76 int64 cloned_session_storage_namespace_id; | 76 int64 cloned_session_storage_namespace_id; |
77 }; | 77 }; |
78 | 78 |
79 interface RenderMessageFilter { | 79 interface RenderMessageFilter { |
80 // Synchronously generates a new routing ID for the caller. | 80 // Synchronously generates a new routing ID for the caller. |
81 [Sync] GenerateRoutingID() => (int32 routing_id); | 81 [Sync] GenerateRoutingID() => (int32 routing_id); |
82 | 82 |
83 // Sent by the renderer when it is creating a new window. The browser creates | |
84 // a tab for it. If |reply.route_id| is MSG_ROUTING_NONE, the view couldn't | |
85 // be created. | |
86 [Sync] CreateNewWindow(CreateNewWindowParams params) | |
87 => (CreateNewWindowReply reply); | |
88 | |
89 // Similar to CreateWindow, except used for sub-widgets, like <select> | 83 // Similar to CreateWindow, except used for sub-widgets, like <select> |
90 // dropdowns. | 84 // dropdowns. |
91 [Sync] CreateNewWidget(int32 opener_id, content.mojom.WebPopupType popup_type) | 85 [Sync] CreateNewWidget(int32 opener_id, content.mojom.WebPopupType popup_type) |
92 => (int32 route_id); | 86 => (int32 route_id); |
93 | 87 |
94 // Similar to CreateWidget except the widget is a full screen window. | 88 // Similar to CreateWidget except the widget is a full screen window. |
95 [Sync] CreateFullscreenWidget(int32 opener_id) | 89 [Sync] CreateFullscreenWidget(int32 opener_id) |
96 => (int32 route_id); | 90 => (int32 route_id); |
97 | 91 |
98 GetSharedBitmapManager(associated cc.mojom.SharedBitmapManager& bitmap_manager
); | 92 GetSharedBitmapManager(associated cc.mojom.SharedBitmapManager& bitmap_manager
); |
99 }; | 93 }; |
| 94 |
| 95 // Similar to RenderMessageFilter, but all IPCs are serviced on the UI thread. |
| 96 interface RenderMessageFilterUI { |
| 97 // Sent by the renderer when it is creating a new window. The browser creates |
| 98 // a tab for it. If |reply.route_id| is MSG_ROUTING_NONE, the view couldn't |
| 99 // be created. |
| 100 [Sync] CreateNewWindow(CreateNewWindowParams params) |
| 101 => (CreateNewWindowReply reply); |
| 102 }; |
OLD | NEW |