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

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

Issue 2156803002: [HBD] Remove PluginCache and reload plugin list when origin changes (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Move stored SecurityOrigin to PluginData Created 4 years, 4 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
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 1202 matching lines...) Expand 10 before | Expand all | Expand 10 after
1213 // Notification sent from a renderer to the browser that a Pepper plugin 1213 // Notification sent from a renderer to the browser that a Pepper plugin
1214 // instance has started playback. 1214 // instance has started playback.
1215 IPC_MESSAGE_ROUTED1(FrameHostMsg_PepperStartsPlayback, 1215 IPC_MESSAGE_ROUTED1(FrameHostMsg_PepperStartsPlayback,
1216 int32_t /* pp_instance */) 1216 int32_t /* pp_instance */)
1217 1217
1218 // Notification sent from a renderer to the browser that a Pepper plugin 1218 // Notification sent from a renderer to the browser that a Pepper plugin
1219 // instance has stopped playback. 1219 // instance has stopped playback.
1220 IPC_MESSAGE_ROUTED1(FrameHostMsg_PepperStopsPlayback, 1220 IPC_MESSAGE_ROUTED1(FrameHostMsg_PepperStopsPlayback,
1221 int32_t /* pp_instance */) 1221 int32_t /* pp_instance */)
1222 1222
1223 // Used to get the list of plugins 1223 // Used to get the list of plugins. |main_frame_origin| is used to handle
1224 IPC_SYNC_MESSAGE_CONTROL1_1(FrameHostMsg_GetPlugins, 1224 // exceptions for plugin content settings.
1225 bool /* refresh*/, 1225 IPC_SYNC_MESSAGE_CONTROL2_1(FrameHostMsg_GetPlugins,
1226 std::vector<content::WebPluginInfo> /* plugins */) 1226 bool /* refresh*/,
1227 url::Origin /* main_frame_origin */,
1228 std::vector<content::WebPluginInfo> /* plugins */)
1227 1229
1228 // Return information about a plugin for the given URL and MIME 1230 // Return information about a plugin for the given URL and MIME
1229 // type. If there is no matching plugin, |found| is false. 1231 // type. If there is no matching plugin, |found| is false.
1230 // |actual_mime_type| is the actual mime type supported by the 1232 // |actual_mime_type| is the actual mime type supported by the
1231 // found plugin. 1233 // found plugin.
1232 IPC_SYNC_MESSAGE_CONTROL4_3(FrameHostMsg_GetPluginInfo, 1234 IPC_SYNC_MESSAGE_CONTROL4_3(FrameHostMsg_GetPluginInfo,
1233 int /* render_frame_id */, 1235 int /* render_frame_id */,
1234 GURL /* url */, 1236 GURL /* url */,
1235 GURL /* page_url */, 1237 GURL /* page_url */,
1236 std::string /* mime_type */, 1238 std::string /* mime_type */,
(...skipping 332 matching lines...) Expand 10 before | Expand all | Expand 10 after
1569 // nearest find result in the sending frame. 1571 // nearest find result in the sending frame.
1570 IPC_MESSAGE_ROUTED2(FrameHostMsg_GetNearestFindResult_Reply, 1572 IPC_MESSAGE_ROUTED2(FrameHostMsg_GetNearestFindResult_Reply,
1571 int /* nfr_request_id */, 1573 int /* nfr_request_id */,
1572 float /* distance */) 1574 float /* distance */)
1573 #endif 1575 #endif
1574 1576
1575 // Adding a new message? Stick to the sort order above: first platform 1577 // Adding a new message? Stick to the sort order above: first platform
1576 // independent FrameMsg, then ifdefs for platform specific FrameMsg, then 1578 // independent FrameMsg, then ifdefs for platform specific FrameMsg, then
1577 // platform independent FrameHostMsg, then ifdefs for platform specific 1579 // platform independent FrameHostMsg, then ifdefs for platform specific
1578 // FrameHostMsg. 1580 // FrameHostMsg.
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698