Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(263)

Side by Side Diff: content/common/frame_messages.h

Issue 2060933002: Let Flash join and be controlled by media session (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@pepper_to_contents
Patch Set: addressed dcheng's comments Created 4 years, 5 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch
« no previous file with comments | « content/browser/web_contents/web_contents_impl.cc ('k') | content/content_browser.gypi » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
1 // Copyright 2013 The Chromium Authors. All rights reserved. 1 // Copyright 2013 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 // IPC messages for interacting with frames. 5 // IPC messages for interacting with frames.
6 // Multiply-included message file, hence no include guard. 6 // Multiply-included message file, hence no include guard.
7 7
8 #include <stddef.h> 8 #include <stddef.h>
9 #include <stdint.h> 9 #include <stdint.h>
10 10
(...skipping 1173 matching lines...) Expand 10 before | Expand all | Expand 10 after
1184 // (Pepper 3D, WebGL) are explicitly blocked. 1184 // (Pepper 3D, WebGL) are explicitly blocked.
1185 IPC_SYNC_MESSAGE_CONTROL3_1(FrameHostMsg_Are3DAPIsBlocked, 1185 IPC_SYNC_MESSAGE_CONTROL3_1(FrameHostMsg_Are3DAPIsBlocked,
1186 int /* render_frame_id */, 1186 int /* render_frame_id */,
1187 GURL /* top_origin_url */, 1187 GURL /* top_origin_url */,
1188 content::ThreeDAPIType /* requester */, 1188 content::ThreeDAPIType /* requester */,
1189 bool /* blocked */) 1189 bool /* blocked */)
1190 1190
1191 #if defined(ENABLE_PLUGINS) 1191 #if defined(ENABLE_PLUGINS)
1192 // Notification sent from a renderer to the browser that a Pepper plugin 1192 // Notification sent from a renderer to the browser that a Pepper plugin
1193 // instance is created in the DOM. 1193 // instance is created in the DOM.
1194 IPC_MESSAGE_ROUTED0(FrameHostMsg_PepperInstanceCreated) 1194 IPC_MESSAGE_ROUTED1(FrameHostMsg_PepperInstanceCreated,
1195 int32_t /* pp_instance */)
1195 1196
1196 // Notification sent from a renderer to the browser that a Pepper plugin 1197 // Notification sent from a renderer to the browser that a Pepper plugin
1197 // instance is deleted from the DOM. 1198 // instance is deleted from the DOM.
1198 IPC_MESSAGE_ROUTED0(FrameHostMsg_PepperInstanceDeleted) 1199 IPC_MESSAGE_ROUTED1(FrameHostMsg_PepperInstanceDeleted,
1200 int32_t /* pp_instance */)
1199 1201
1200 // Sent to the browser when the renderer detects it is blocked on a pepper 1202 // Sent to the browser when the renderer detects it is blocked on a pepper
1201 // plugin message for too long. This is also sent when it becomes unhung 1203 // plugin message for too long. This is also sent when it becomes unhung
1202 // (according to the value of is_hung). The browser can give the user the 1204 // (according to the value of is_hung). The browser can give the user the
1203 // option of killing the plugin. 1205 // option of killing the plugin.
1204 IPC_MESSAGE_ROUTED3(FrameHostMsg_PepperPluginHung, 1206 IPC_MESSAGE_ROUTED3(FrameHostMsg_PepperPluginHung,
1205 int /* plugin_child_id */, 1207 int /* plugin_child_id */,
1206 base::FilePath /* path */, 1208 base::FilePath /* path */,
1207 bool /* is_hung */) 1209 bool /* is_hung */)
1208 1210
1209 // Sent by the renderer process to indicate that a plugin instance has crashed. 1211 // Sent by the renderer process to indicate that a plugin instance has crashed.
1210 // Note: |plugin_pid| should not be trusted. The corresponding process has 1212 // Note: |plugin_pid| should not be trusted. The corresponding process has
1211 // probably died. Moreover, the ID may have been reused by a new process. Any 1213 // probably died. Moreover, the ID may have been reused by a new process. Any
1212 // usage other than displaying it in a prompt to the user is very likely to be 1214 // usage other than displaying it in a prompt to the user is very likely to be
1213 // wrong. 1215 // wrong.
1214 IPC_MESSAGE_ROUTED2(FrameHostMsg_PluginCrashed, 1216 IPC_MESSAGE_ROUTED2(FrameHostMsg_PluginCrashed,
1215 base::FilePath /* plugin_path */, 1217 base::FilePath /* plugin_path */,
1216 base::ProcessId /* plugin_pid */) 1218 base::ProcessId /* plugin_pid */)
1217 1219
1220 // Notification sent from a renderer to the browser that a Pepper plugin
1221 // instance has started playback.
1222 IPC_MESSAGE_ROUTED1(FrameHostMsg_PepperStartsPlayback,
1223 int32_t /* pp_instance */)
1224
1225 // Notification sent from a renderer to the browser that a Pepper plugin
1226 // instance has stopped playback.
1227 IPC_MESSAGE_ROUTED1(FrameHostMsg_PepperStopsPlayback,
1228 int32_t /* pp_instance */)
1229
1218 // Used to get the list of plugins 1230 // Used to get the list of plugins
1219 IPC_SYNC_MESSAGE_CONTROL1_1(FrameHostMsg_GetPlugins, 1231 IPC_SYNC_MESSAGE_CONTROL1_1(FrameHostMsg_GetPlugins,
1220 bool /* refresh*/, 1232 bool /* refresh*/,
1221 std::vector<content::WebPluginInfo> /* plugins */) 1233 std::vector<content::WebPluginInfo> /* plugins */)
1222 1234
1223 // Return information about a plugin for the given URL and MIME 1235 // Return information about a plugin for the given URL and MIME
1224 // type. If there is no matching plugin, |found| is false. 1236 // type. If there is no matching plugin, |found| is false.
1225 // |actual_mime_type| is the actual mime type supported by the 1237 // |actual_mime_type| is the actual mime type supported by the
1226 // found plugin. 1238 // found plugin.
1227 IPC_SYNC_MESSAGE_CONTROL4_3(FrameHostMsg_GetPluginInfo, 1239 IPC_SYNC_MESSAGE_CONTROL4_3(FrameHostMsg_GetPluginInfo,
(...skipping 338 matching lines...) Expand 10 before | Expand all | Expand 10 after
1566 // nearest find result in the sending frame. 1578 // nearest find result in the sending frame.
1567 IPC_MESSAGE_ROUTED2(FrameHostMsg_GetNearestFindResult_Reply, 1579 IPC_MESSAGE_ROUTED2(FrameHostMsg_GetNearestFindResult_Reply,
1568 int /* nfr_request_id */, 1580 int /* nfr_request_id */,
1569 float /* distance */) 1581 float /* distance */)
1570 #endif 1582 #endif
1571 1583
1572 // Adding a new message? Stick to the sort order above: first platform 1584 // Adding a new message? Stick to the sort order above: first platform
1573 // independent FrameMsg, then ifdefs for platform specific FrameMsg, then 1585 // independent FrameMsg, then ifdefs for platform specific FrameMsg, then
1574 // platform independent FrameHostMsg, then ifdefs for platform specific 1586 // platform independent FrameHostMsg, then ifdefs for platform specific
1575 // FrameHostMsg. 1587 // FrameHostMsg.
OLDNEW
« no previous file with comments | « content/browser/web_contents/web_contents_impl.cc ('k') | content/content_browser.gypi » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698