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 17 matching lines...) Expand all Loading... |
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/html/HTMLFormElement.h" | 32 #include "core/html/HTMLFormElement.h" |
33 #include "core/loader/FrameLoaderTypes.h" | 33 #include "core/loader/FrameLoaderTypes.h" |
34 #include "core/loader/SubstituteData.h" | 34 #include "core/loader/SubstituteData.h" |
35 #include "platform/network/ResourceRequest.h" | 35 #include "platform/network/ResourceRequest.h" |
36 | 36 |
37 namespace blink { | 37 namespace blink { |
38 class LocalFrame; | |
39 | 38 |
40 struct FrameLoadRequest { | 39 struct FrameLoadRequest { |
41 STACK_ALLOCATED(); | 40 STACK_ALLOCATED(); |
42 public: | 41 public: |
43 explicit FrameLoadRequest(Document* originDocument) | 42 explicit FrameLoadRequest(Document* originDocument) |
44 : m_originDocument(originDocument) | 43 : m_originDocument(originDocument) |
45 , m_lockBackForwardList(false) | 44 , m_lockBackForwardList(false) |
46 , m_clientRedirect(NotClientRedirect) | 45 , m_clientRedirect(NotClientRedirect) |
47 , m_shouldSendReferrer(MaybeSendReferrer) | 46 , m_shouldSendReferrer(MaybeSendReferrer) |
48 , m_shouldCheckMainWorldContentSecurityPolicy(CheckContentSecurityPolicy
) | 47 , m_shouldCheckMainWorldContentSecurityPolicy(CheckContentSecurityPolicy
) |
(...skipping 79 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
128 ClientRedirectPolicy m_clientRedirect; | 127 ClientRedirectPolicy m_clientRedirect; |
129 RefPtrWillBeMember<Event> m_triggeringEvent; | 128 RefPtrWillBeMember<Event> m_triggeringEvent; |
130 RefPtrWillBeMember<FormState> m_formState; | 129 RefPtrWillBeMember<FormState> m_formState; |
131 ShouldSendReferrer m_shouldSendReferrer; | 130 ShouldSendReferrer m_shouldSendReferrer; |
132 ContentSecurityPolicyCheck m_shouldCheckMainWorldContentSecurityPolicy; | 131 ContentSecurityPolicyCheck m_shouldCheckMainWorldContentSecurityPolicy; |
133 }; | 132 }; |
134 | 133 |
135 } | 134 } |
136 | 135 |
137 #endif // FrameLoadRequest_h | 136 #endif // FrameLoadRequest_h |
OLD | NEW |