LEFT | RIGHT |
(no file at all) | |
1 /* | 1 /* |
2 * Copyright (C) 2003-2017 Apple Inc. All rights reserved. | 2 * Copyright (C) 2003-2017 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 21 matching lines...) Expand all Loading... |
32 | 32 |
33 namespace WebCore { | 33 namespace WebCore { |
34 | 34 |
35 class Document; | 35 class Document; |
36 class Frame; | 36 class Frame; |
37 class SecurityOrigin; | 37 class SecurityOrigin; |
38 | 38 |
39 class FrameLoadRequest { | 39 class FrameLoadRequest { |
40 public: | 40 public: |
41 WEBCORE_EXPORT FrameLoadRequest(Document&, SecurityOrigin&, const ResourceRe
quest&, const String& frameName, LockHistory, LockBackForwardList, ShouldSendRef
errer, AllowNavigationToInvalidURL, NewFrameOpenerPolicy, ShouldOpenExternalURLs
Policy, InitiatedByMainFrame, ShouldReplaceDocumentIfJavaScriptURL = ReplaceDocu
mentIfJavaScriptURL, const AtomicString& downloadAttribute = { }, bool isSystemP
review = false); | 41 WEBCORE_EXPORT FrameLoadRequest(Document&, SecurityOrigin&, const ResourceRe
quest&, const String& frameName, LockHistory, LockBackForwardList, ShouldSendRef
errer, AllowNavigationToInvalidURL, NewFrameOpenerPolicy, ShouldOpenExternalURLs
Policy, InitiatedByMainFrame, ShouldReplaceDocumentIfJavaScriptURL = ReplaceDocu
mentIfJavaScriptURL, const AtomicString& downloadAttribute = { }, bool isSystemP
review = false); |
42 WEBCORE_EXPORT FrameLoadRequest(Frame&, const ResourceRequest&, ShouldOpenEx
ternalURLsPolicy, const SubstituteData& = SubstituteData()); | 42 WEBCORE_EXPORT FrameLoadRequest(Frame&, const ResourceRequest&, ShouldOpenEx
ternalURLsPolicy, const SubstituteData& = SubstituteData(), LockBackForwardList
= LockBackForwardList::No); |
43 | 43 |
44 WEBCORE_EXPORT ~FrameLoadRequest(); | 44 WEBCORE_EXPORT ~FrameLoadRequest(); |
45 | 45 |
46 WEBCORE_EXPORT FrameLoadRequest(FrameLoadRequest&&); | 46 WEBCORE_EXPORT FrameLoadRequest(FrameLoadRequest&&); |
47 WEBCORE_EXPORT FrameLoadRequest& operator=(FrameLoadRequest&&); | 47 WEBCORE_EXPORT FrameLoadRequest& operator=(FrameLoadRequest&&); |
48 | 48 |
49 bool isEmpty() const { return m_resourceRequest.isEmpty(); } | 49 bool isEmpty() const { return m_resourceRequest.isEmpty(); } |
50 | 50 |
51 Document& requester(); | 51 Document& requester(); |
52 const SecurityOrigin& requesterSecurityOrigin() const; | 52 const SecurityOrigin& requesterSecurityOrigin() const; |
(...skipping 52 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
105 NewFrameOpenerPolicy m_newFrameOpenerPolicy; | 105 NewFrameOpenerPolicy m_newFrameOpenerPolicy; |
106 ShouldReplaceDocumentIfJavaScriptURL m_shouldReplaceDocumentIfJavaScriptURL; | 106 ShouldReplaceDocumentIfJavaScriptURL m_shouldReplaceDocumentIfJavaScriptURL; |
107 ShouldOpenExternalURLsPolicy m_shouldOpenExternalURLsPolicy { ShouldOpenExte
rnalURLsPolicy::ShouldNotAllow }; | 107 ShouldOpenExternalURLsPolicy m_shouldOpenExternalURLsPolicy { ShouldOpenExte
rnalURLsPolicy::ShouldNotAllow }; |
108 AtomicString m_downloadAttribute; | 108 AtomicString m_downloadAttribute; |
109 InitiatedByMainFrame m_initiatedByMainFrame { InitiatedByMainFrame::Unknown
}; | 109 InitiatedByMainFrame m_initiatedByMainFrame { InitiatedByMainFrame::Unknown
}; |
110 bool m_isCrossOriginWindowOpenNavigation { false }; | 110 bool m_isCrossOriginWindowOpenNavigation { false }; |
111 bool m_isSystemPreview { false }; | 111 bool m_isSystemPreview { false }; |
112 }; | 112 }; |
113 | 113 |
114 } // namespace WebCore | 114 } // namespace WebCore |
LEFT | RIGHT |