| OLD | NEW |
| 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 Loading... |
| 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 Loading... |
| 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 |
| OLD | NEW |