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

Side by Side Diff: third_party/WebKit/Source/core/loader/FrameLoadRequest.h

Issue 1999573003: OOPIFs: Fixing submitting forms targeting a remote frame. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@form-target-is-cross-site-frame
Patch Set: Added a TODO for investigating if remote and local frames can be handled uniformly. 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 /* 1 /*
2 * Copyright (C) 2003, 2006, 2010 Apple Inc. All rights reserved. 2 * Copyright (C) 2003, 2006, 2010 Apple Inc. All rights reserved.
3 * 3 *
4 * Redistribution and use in source and binary forms, with or without 4 * Redistribution and use in source and binary forms, with or without
5 * modification, are permitted provided that the following conditions 5 * modification, are permitted provided that the following conditions
6 * are met: 6 * are met:
7 * 1. Redistributions of source code must retain the above copyright 7 * 1. Redistributions of source code must retain the above copyright
8 * notice, this list of conditions and the following disclaimer. 8 * notice, this list of conditions and the following disclaimer.
9 * 2. Redistributions in binary form must reproduce the above copyright 9 * 2. Redistributions in binary form must reproduce the above copyright
10 * notice, this list of conditions and the following disclaimer in the 10 * notice, this list of conditions and the following disclaimer in the
(...skipping 12 matching lines...) Expand all
23 * OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. 23 * OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
24 */ 24 */
25 25
26 #ifndef FrameLoadRequest_h 26 #ifndef FrameLoadRequest_h
27 #define FrameLoadRequest_h 27 #define FrameLoadRequest_h
28 28
29 #include "core/dom/Document.h" 29 #include "core/dom/Document.h"
30 #include "core/events/Event.h" 30 #include "core/events/Event.h"
31 #include "core/fetch/ResourceLoaderOptions.h" 31 #include "core/fetch/ResourceLoaderOptions.h"
32 #include "core/fetch/SubstituteData.h" 32 #include "core/fetch/SubstituteData.h"
33 #include "core/html/HTMLFormElement.h"
34 #include "core/loader/FrameLoaderTypes.h" 33 #include "core/loader/FrameLoaderTypes.h"
35 #include "platform/network/ResourceRequest.h" 34 #include "platform/network/ResourceRequest.h"
36 35
37 namespace blink { 36 namespace blink {
38 37
38 class HTMLFormElement;
39
39 struct FrameLoadRequest { 40 struct FrameLoadRequest {
40 STACK_ALLOCATED(); 41 STACK_ALLOCATED();
41 public: 42 public:
42 explicit FrameLoadRequest(Document* originDocument) 43 explicit FrameLoadRequest(Document* originDocument)
43 : FrameLoadRequest(originDocument, ResourceRequest()) 44 : FrameLoadRequest(originDocument, ResourceRequest())
44 { 45 {
45 } 46 }
46 47
47 FrameLoadRequest(Document* originDocument, const ResourceRequest& resourceRe quest) 48 FrameLoadRequest(Document* originDocument, const ResourceRequest& resourceRe quest)
48 : FrameLoadRequest(originDocument, resourceRequest, AtomicString()) 49 : FrameLoadRequest(originDocument, resourceRequest, AtomicString())
(...skipping 77 matching lines...) Expand 10 before | Expand all | Expand 10 after
126 Member<Event> m_triggeringEvent; 127 Member<Event> m_triggeringEvent;
127 Member<HTMLFormElement> m_form; 128 Member<HTMLFormElement> m_form;
128 ShouldSendReferrer m_shouldSendReferrer; 129 ShouldSendReferrer m_shouldSendReferrer;
129 ShouldSetOpener m_shouldSetOpener; 130 ShouldSetOpener m_shouldSetOpener;
130 ContentSecurityPolicyDisposition m_shouldCheckMainWorldContentSecurityPolicy ; 131 ContentSecurityPolicyDisposition m_shouldCheckMainWorldContentSecurityPolicy ;
131 }; 132 };
132 133
133 } // namespace blink 134 } // namespace blink
134 135
135 #endif // FrameLoadRequest_h 136 #endif // FrameLoadRequest_h
OLDNEW
« no previous file with comments | « third_party/WebKit/Source/core/loader/FormSubmission.cpp ('k') | third_party/WebKit/Source/core/loader/FrameLoader.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698