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

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

Issue 107183002: Move more of the plugin code in the renderer to use RenderFrame instead of RenderView. (Closed) Base URL: svn://chrome-svn/chrome/trunk/src/
Patch Set: review comments Created 7 years 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 | Annotate | Revision Log
« no previous file with comments | « content/child/resource_dispatcher_unittest.cc ('k') | content/common/resource_messages.h » ('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 "content/common/content_export.h" 8 #include "content/common/content_export.h"
9 #include "content/public/common/common_param_traits.h" 9 #include "content/public/common/common_param_traits.h"
10 #include "ipc/ipc_message_macros.h" 10 #include "ipc/ipc_message_macros.h"
(...skipping 33 matching lines...) Expand 10 before | Expand all | Expand 10 after
44 GURL /* url */) 44 GURL /* url */)
45 45
46 // Sent to the browser when the renderer detects it is blocked on a pepper 46 // Sent to the browser when the renderer detects it is blocked on a pepper
47 // plugin message for too long. This is also sent when it becomes unhung 47 // plugin message for too long. This is also sent when it becomes unhung
48 // (according to the value of is_hung). The browser can give the user the 48 // (according to the value of is_hung). The browser can give the user the
49 // option of killing the plugin. 49 // option of killing the plugin.
50 IPC_MESSAGE_ROUTED3(FrameHostMsg_PepperPluginHung, 50 IPC_MESSAGE_ROUTED3(FrameHostMsg_PepperPluginHung,
51 int /* plugin_child_id */, 51 int /* plugin_child_id */,
52 base::FilePath /* path */, 52 base::FilePath /* path */,
53 bool /* is_hung */) 53 bool /* is_hung */)
54
55 // Return information about a plugin for the given URL and MIME
56 // type. If there is no matching plugin, |found| is false.
57 // |actual_mime_type| is the actual mime type supported by the
58 // found plugin.
59 IPC_SYNC_MESSAGE_CONTROL4_3(FrameHostMsg_GetPluginInfo,
60 int /* render_frame_id */,
61 GURL /* url */,
62 GURL /* page_url */,
63 std::string /* mime_type */,
64 bool /* found */,
65 content::WebPluginInfo /* plugin info */,
66 std::string /* actual_mime_type */)
67
68 // A renderer sends this to the browser process when it wants to
69 // create a plugin. The browser will create the plugin process if
70 // necessary, and will return a handle to the channel on success.
71 // On error an empty string is returned.
72 IPC_SYNC_MESSAGE_CONTROL4_2(FrameHostMsg_OpenChannelToPlugin,
73 int /* render_frame_id */,
74 GURL /* url */,
75 GURL /* page_url */,
76 std::string /* mime_type */,
77 IPC::ChannelHandle /* channel_handle */,
78 content::WebPluginInfo /* info */)
OLDNEW
« no previous file with comments | « content/child/resource_dispatcher_unittest.cc ('k') | content/common/resource_messages.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698