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

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

Issue 2355023002: Preserving Content-Type header from http request in OpenURL path. (Closed)
Patch Set: Rebasing... Created 4 years, 3 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 441 matching lines...) Expand 10 before | Expand all | Expand 10 after
452 // Specifies properties for a new RenderWidget that will be attached to the 452 // Specifies properties for a new RenderWidget that will be attached to the
453 // new RenderFrame (if one is needed). 453 // new RenderFrame (if one is needed).
454 IPC_STRUCT_MEMBER(FrameMsg_NewFrame_WidgetParams, widget_params) 454 IPC_STRUCT_MEMBER(FrameMsg_NewFrame_WidgetParams, widget_params)
455 IPC_STRUCT_END() 455 IPC_STRUCT_END()
456 456
457 // Parameters included with an OpenURL request. 457 // Parameters included with an OpenURL request.
458 // |is_history_navigation_in_new_child| is true in the case that the browser 458 // |is_history_navigation_in_new_child| is true in the case that the browser
459 // process should look for an existing history item for the frame. 459 // process should look for an existing history item for the frame.
460 IPC_STRUCT_BEGIN(FrameHostMsg_OpenURL_Params) 460 IPC_STRUCT_BEGIN(FrameHostMsg_OpenURL_Params)
461 IPC_STRUCT_MEMBER(GURL, url) 461 IPC_STRUCT_MEMBER(GURL, url)
462 IPC_STRUCT_MEMBER(std::string, extra_headers)
462 IPC_STRUCT_MEMBER(bool, uses_post) 463 IPC_STRUCT_MEMBER(bool, uses_post)
463 IPC_STRUCT_MEMBER(scoped_refptr<content::ResourceRequestBodyImpl>, 464 IPC_STRUCT_MEMBER(scoped_refptr<content::ResourceRequestBodyImpl>,
464 resource_request_body) 465 resource_request_body)
465 IPC_STRUCT_MEMBER(content::Referrer, referrer) 466 IPC_STRUCT_MEMBER(content::Referrer, referrer)
466 IPC_STRUCT_MEMBER(WindowOpenDisposition, disposition) 467 IPC_STRUCT_MEMBER(WindowOpenDisposition, disposition)
467 IPC_STRUCT_MEMBER(bool, should_replace_current_entry) 468 IPC_STRUCT_MEMBER(bool, should_replace_current_entry)
468 IPC_STRUCT_MEMBER(bool, user_gesture) 469 IPC_STRUCT_MEMBER(bool, user_gesture)
469 IPC_STRUCT_MEMBER(bool, is_history_navigation_in_new_child) 470 IPC_STRUCT_MEMBER(bool, is_history_navigation_in_new_child)
470 IPC_STRUCT_END() 471 IPC_STRUCT_END()
471 472
(...skipping 1096 matching lines...) Expand 10 before | Expand all | Expand 10 after
1568 // nearest find result in the sending frame. 1569 // nearest find result in the sending frame.
1569 IPC_MESSAGE_ROUTED2(FrameHostMsg_GetNearestFindResult_Reply, 1570 IPC_MESSAGE_ROUTED2(FrameHostMsg_GetNearestFindResult_Reply,
1570 int /* nfr_request_id */, 1571 int /* nfr_request_id */,
1571 float /* distance */) 1572 float /* distance */)
1572 #endif 1573 #endif
1573 1574
1574 // 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
1575 // independent FrameMsg, then ifdefs for platform specific FrameMsg, then 1576 // independent FrameMsg, then ifdefs for platform specific FrameMsg, then
1576 // platform independent FrameHostMsg, then ifdefs for platform specific 1577 // platform independent FrameHostMsg, then ifdefs for platform specific
1577 // FrameHostMsg. 1578 // FrameHostMsg.
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698