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

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: Changes per alexmos@'s comments 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 1205 matching lines...) Expand 10 before | Expand all | Expand 10 after
1216 // Notification sent from a renderer to the browser that a Pepper plugin 1216 // Notification sent from a renderer to the browser that a Pepper plugin
1217 // instance has started playback. 1217 // instance has started playback.
1218 IPC_MESSAGE_ROUTED1(FrameHostMsg_PepperStartsPlayback, 1218 IPC_MESSAGE_ROUTED1(FrameHostMsg_PepperStartsPlayback,
1219 int32_t /* pp_instance */) 1219 int32_t /* pp_instance */)
1220 1220
1221 // Notification sent from a renderer to the browser that a Pepper plugin 1221 // Notification sent from a renderer to the browser that a Pepper plugin
1222 // instance has stopped playback. 1222 // instance has stopped playback.
1223 IPC_MESSAGE_ROUTED1(FrameHostMsg_PepperStopsPlayback, 1223 IPC_MESSAGE_ROUTED1(FrameHostMsg_PepperStopsPlayback,
1224 int32_t /* pp_instance */) 1224 int32_t /* pp_instance */)
1225 1225
1226 // Used to get the list of plugins 1226 // Used to get the list of plugins. |main_frame_origin| is used to handle
1227 IPC_SYNC_MESSAGE_CONTROL1_1(FrameHostMsg_GetPlugins, 1227 // exceptions for Plugins Content Settings.
alexmos 2016/08/04 05:32:03 nit: s/Plugins Content Settings/plugin content set
trizzofo 2016/08/05 02:04:25 Done.
1228 bool /* refresh*/, 1228 IPC_SYNC_MESSAGE_CONTROL2_1(FrameHostMsg_GetPlugins,
1229 std::vector<content::WebPluginInfo> /* plugins */) 1229 bool /* refresh*/,
1230 url::Origin /* main_frame_origin */,
1231 std::vector<content::WebPluginInfo> /* plugins */)
1230 1232
1231 // Return information about a plugin for the given URL and MIME 1233 // Return information about a plugin for the given URL and MIME
1232 // type. If there is no matching plugin, |found| is false. 1234 // type. If there is no matching plugin, |found| is false.
1233 // |actual_mime_type| is the actual mime type supported by the 1235 // |actual_mime_type| is the actual mime type supported by the
1234 // found plugin. 1236 // found plugin.
1235 IPC_SYNC_MESSAGE_CONTROL4_3(FrameHostMsg_GetPluginInfo, 1237 IPC_SYNC_MESSAGE_CONTROL4_3(FrameHostMsg_GetPluginInfo,
1236 int /* render_frame_id */, 1238 int /* render_frame_id */,
1237 GURL /* url */, 1239 GURL /* url */,
1238 GURL /* page_url */, 1240 GURL /* page_url */,
1239 std::string /* mime_type */, 1241 std::string /* mime_type */,
(...skipping 332 matching lines...) Expand 10 before | Expand all | Expand 10 after
1572 // nearest find result in the sending frame. 1574 // nearest find result in the sending frame.
1573 IPC_MESSAGE_ROUTED2(FrameHostMsg_GetNearestFindResult_Reply, 1575 IPC_MESSAGE_ROUTED2(FrameHostMsg_GetNearestFindResult_Reply,
1574 int /* nfr_request_id */, 1576 int /* nfr_request_id */,
1575 float /* distance */) 1577 float /* distance */)
1576 #endif 1578 #endif
1577 1579
1578 // Adding a new message? Stick to the sort order above: first platform 1580 // Adding a new message? Stick to the sort order above: first platform
1579 // independent FrameMsg, then ifdefs for platform specific FrameMsg, then 1581 // independent FrameMsg, then ifdefs for platform specific FrameMsg, then
1580 // platform independent FrameHostMsg, then ifdefs for platform specific 1582 // platform independent FrameHostMsg, then ifdefs for platform specific
1581 // FrameHostMsg. 1583 // FrameHostMsg.
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698