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

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

Issue 2378573005: [HBD] Blanket BLOCK on all non-HTTP(s) and non-FILE URLs for Flash. (Closed)
Patch Set: fix formatting Created 4 years, 2 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 1220 matching lines...) Expand 10 before | Expand all | Expand 10 after
1231 url::Origin /* main_frame_origin */, 1231 url::Origin /* main_frame_origin */,
1232 std::vector<content::WebPluginInfo> /* plugins */) 1232 std::vector<content::WebPluginInfo> /* plugins */)
1233 1233
1234 // Return information about a plugin for the given URL and MIME 1234 // Return information about a plugin for the given URL and MIME
1235 // type. If there is no matching plugin, |found| is false. 1235 // type. If there is no matching plugin, |found| is false.
1236 // |actual_mime_type| is the actual mime type supported by the 1236 // |actual_mime_type| is the actual mime type supported by the
1237 // found plugin. 1237 // found plugin.
1238 IPC_SYNC_MESSAGE_CONTROL4_3(FrameHostMsg_GetPluginInfo, 1238 IPC_SYNC_MESSAGE_CONTROL4_3(FrameHostMsg_GetPluginInfo,
1239 int /* render_frame_id */, 1239 int /* render_frame_id */,
1240 GURL /* url */, 1240 GURL /* url */,
1241 GURL /* page_url */, 1241 url::Origin /* page_url */,
nasko 2016/09/30 20:38:49 Please update the comment.
tommycli 2016/09/30 21:20:42 Done.
1242 std::string /* mime_type */, 1242 std::string /* mime_type */,
1243 bool /* found */, 1243 bool /* found */,
1244 content::WebPluginInfo /* plugin info */, 1244 content::WebPluginInfo /* plugin info */,
1245 std::string /* actual_mime_type */) 1245 std::string /* actual_mime_type */)
1246 1246
1247 // A renderer sends this to the browser process when it wants to temporarily 1247 // A renderer sends this to the browser process when it wants to temporarily
1248 // whitelist an origin's plugin content as essential. This temporary whitelist 1248 // whitelist an origin's plugin content as essential. This temporary whitelist
1249 // is specific to a top level frame, and is cleared when the whitelisting 1249 // is specific to a top level frame, and is cleared when the whitelisting
1250 // RenderFrame is destroyed. 1250 // RenderFrame is destroyed.
1251 IPC_MESSAGE_ROUTED1(FrameHostMsg_PluginContentOriginAllowed, 1251 IPC_MESSAGE_ROUTED1(FrameHostMsg_PluginContentOriginAllowed,
(...skipping 317 matching lines...) Expand 10 before | Expand all | Expand 10 after
1569 // nearest find result in the sending frame. 1569 // nearest find result in the sending frame.
1570 IPC_MESSAGE_ROUTED2(FrameHostMsg_GetNearestFindResult_Reply, 1570 IPC_MESSAGE_ROUTED2(FrameHostMsg_GetNearestFindResult_Reply,
1571 int /* nfr_request_id */, 1571 int /* nfr_request_id */,
1572 float /* distance */) 1572 float /* distance */)
1573 #endif 1573 #endif
1574 1574
1575 // Adding a new message? Stick to the sort order above: first platform 1575 // Adding a new message? Stick to the sort order above: first platform
1576 // independent FrameMsg, then ifdefs for platform specific FrameMsg, then 1576 // independent FrameMsg, then ifdefs for platform specific FrameMsg, then
1577 // platform independent FrameHostMsg, then ifdefs for platform specific 1577 // platform independent FrameHostMsg, then ifdefs for platform specific
1578 // FrameHostMsg. 1578 // FrameHostMsg.
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698