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

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

Issue 2004653002: OpenURL post data handling. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@post-data-my-stuff
Patch Set: Tweaked test comments to address CR feedback. Created 4 years, 6 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 430 matching lines...) Expand 10 before | Expand all | Expand 10 after
441 // Specifies properties for a new RenderWidget that will be attached to the 441 // Specifies properties for a new RenderWidget that will be attached to the
442 // new RenderFrame (if one is needed). 442 // new RenderFrame (if one is needed).
443 IPC_STRUCT_MEMBER(FrameMsg_NewFrame_WidgetParams, widget_params) 443 IPC_STRUCT_MEMBER(FrameMsg_NewFrame_WidgetParams, widget_params)
444 IPC_STRUCT_END() 444 IPC_STRUCT_END()
445 445
446 // Parameters included with an OpenURL request. |frame_unique_name| is only 446 // Parameters included with an OpenURL request. |frame_unique_name| is only
447 // specified if |is_history_navigation_in_new_child| is true, for the case that 447 // specified if |is_history_navigation_in_new_child| is true, for the case that
448 // the browser process should look for an existing history item for the frame. 448 // the browser process should look for an existing history item for the frame.
449 IPC_STRUCT_BEGIN(FrameHostMsg_OpenURL_Params) 449 IPC_STRUCT_BEGIN(FrameHostMsg_OpenURL_Params)
450 IPC_STRUCT_MEMBER(GURL, url) 450 IPC_STRUCT_MEMBER(GURL, url)
451 IPC_STRUCT_MEMBER(bool, uses_post)
452 IPC_STRUCT_MEMBER(scoped_refptr<content::ResourceRequestBodyImpl>,
453 resource_request_body)
Łukasz Anforowicz 2016/06/10 20:00:49 Note that this is not the first time when we send
nasko 2016/06/10 20:22:28 FrameHostMsg_OpenURL_Params cannot be seen outside
451 IPC_STRUCT_MEMBER(content::Referrer, referrer) 454 IPC_STRUCT_MEMBER(content::Referrer, referrer)
452 IPC_STRUCT_MEMBER(WindowOpenDisposition, disposition) 455 IPC_STRUCT_MEMBER(WindowOpenDisposition, disposition)
453 IPC_STRUCT_MEMBER(bool, should_replace_current_entry) 456 IPC_STRUCT_MEMBER(bool, should_replace_current_entry)
454 IPC_STRUCT_MEMBER(bool, user_gesture) 457 IPC_STRUCT_MEMBER(bool, user_gesture)
455 IPC_STRUCT_MEMBER(bool, is_history_navigation_in_new_child) 458 IPC_STRUCT_MEMBER(bool, is_history_navigation_in_new_child)
456 IPC_STRUCT_MEMBER(std::string, frame_unique_name) 459 IPC_STRUCT_MEMBER(std::string, frame_unique_name)
457 IPC_STRUCT_END() 460 IPC_STRUCT_END()
458 461
459 IPC_STRUCT_BEGIN(FrameMsg_TextTrackSettings_Params) 462 IPC_STRUCT_BEGIN(FrameMsg_TextTrackSettings_Params)
460 // Text tracks on/off state 463 // Text tracks on/off state
(...skipping 1015 matching lines...) Expand 10 before | Expand all | Expand 10 after
1476 IPC_MESSAGE_ROUTED3(FrameHostMsg_FindMatchRects_Reply, 1479 IPC_MESSAGE_ROUTED3(FrameHostMsg_FindMatchRects_Reply,
1477 int /* version */, 1480 int /* version */,
1478 std::vector<gfx::RectF> /* rects */, 1481 std::vector<gfx::RectF> /* rects */,
1479 gfx::RectF /* active_rect */) 1482 gfx::RectF /* active_rect */)
1480 #endif 1483 #endif
1481 1484
1482 // Adding a new message? Stick to the sort order above: first platform 1485 // Adding a new message? Stick to the sort order above: first platform
1483 // independent FrameMsg, then ifdefs for platform specific FrameMsg, then 1486 // independent FrameMsg, then ifdefs for platform specific FrameMsg, then
1484 // platform independent FrameHostMsg, then ifdefs for platform specific 1487 // platform independent FrameHostMsg, then ifdefs for platform specific
1485 // FrameHostMsg. 1488 // FrameHostMsg.
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698