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

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

Issue 2355023002: Preserving Content-Type header from http request in OpenURL path. (Closed)
Patch Set: Simplified AreExtraHeadersCompatibleWithPrerenderContents as suggested by mmenke@. 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
« no previous file with comments | « content/browser/security_exploit_browsertest.cc ('k') | content/renderer/render_frame_impl.h » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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 393 matching lines...) Expand 10 before | Expand all | Expand 10 after
404 IPC_STRUCT_TRAITS_END() 404 IPC_STRUCT_TRAITS_END()
405 405
406 // Parameters included with an OpenURL request. 406 // Parameters included with an OpenURL request.
407 // |is_history_navigation_in_new_child| is true in the case that the browser 407 // |is_history_navigation_in_new_child| is true in the case that the browser
408 // process should look for an existing history item for the frame. 408 // process should look for an existing history item for the frame.
409 IPC_STRUCT_BEGIN(FrameHostMsg_OpenURL_Params) 409 IPC_STRUCT_BEGIN(FrameHostMsg_OpenURL_Params)
410 IPC_STRUCT_MEMBER(GURL, url) 410 IPC_STRUCT_MEMBER(GURL, url)
411 IPC_STRUCT_MEMBER(bool, uses_post) 411 IPC_STRUCT_MEMBER(bool, uses_post)
412 IPC_STRUCT_MEMBER(scoped_refptr<content::ResourceRequestBodyImpl>, 412 IPC_STRUCT_MEMBER(scoped_refptr<content::ResourceRequestBodyImpl>,
413 resource_request_body) 413 resource_request_body)
414 IPC_STRUCT_MEMBER(std::string, extra_headers)
414 IPC_STRUCT_MEMBER(content::Referrer, referrer) 415 IPC_STRUCT_MEMBER(content::Referrer, referrer)
415 IPC_STRUCT_MEMBER(WindowOpenDisposition, disposition) 416 IPC_STRUCT_MEMBER(WindowOpenDisposition, disposition)
416 IPC_STRUCT_MEMBER(bool, should_replace_current_entry) 417 IPC_STRUCT_MEMBER(bool, should_replace_current_entry)
417 IPC_STRUCT_MEMBER(bool, user_gesture) 418 IPC_STRUCT_MEMBER(bool, user_gesture)
418 IPC_STRUCT_MEMBER(bool, is_history_navigation_in_new_child) 419 IPC_STRUCT_MEMBER(bool, is_history_navigation_in_new_child)
419 IPC_STRUCT_END() 420 IPC_STRUCT_END()
420 421
421 IPC_STRUCT_BEGIN(FrameMsg_TextTrackSettings_Params) 422 IPC_STRUCT_BEGIN(FrameMsg_TextTrackSettings_Params)
422 // Text tracks on/off state 423 // Text tracks on/off state
423 IPC_STRUCT_MEMBER(bool, text_tracks_enabled) 424 IPC_STRUCT_MEMBER(bool, text_tracks_enabled)
(...skipping 1077 matching lines...) Expand 10 before | Expand all | Expand 10 after
1501 // nearest find result in the sending frame. 1502 // nearest find result in the sending frame.
1502 IPC_MESSAGE_ROUTED2(FrameHostMsg_GetNearestFindResult_Reply, 1503 IPC_MESSAGE_ROUTED2(FrameHostMsg_GetNearestFindResult_Reply,
1503 int /* nfr_request_id */, 1504 int /* nfr_request_id */,
1504 float /* distance */) 1505 float /* distance */)
1505 #endif 1506 #endif
1506 1507
1507 // Adding a new message? Stick to the sort order above: first platform 1508 // Adding a new message? Stick to the sort order above: first platform
1508 // independent FrameMsg, then ifdefs for platform specific FrameMsg, then 1509 // independent FrameMsg, then ifdefs for platform specific FrameMsg, then
1509 // platform independent FrameHostMsg, then ifdefs for platform specific 1510 // platform independent FrameHostMsg, then ifdefs for platform specific
1510 // FrameHostMsg. 1511 // FrameHostMsg.
OLDNEW
« no previous file with comments | « content/browser/security_exploit_browsertest.cc ('k') | content/renderer/render_frame_impl.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698