LEFT | RIGHT |
(no file at all) | |
1 /* | 1 /* |
2 * Copyright (C) 2012 Google Inc. All rights reserved. | 2 * Copyright (C) 2012 Google 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 are | 5 * modification, are permitted provided that the following conditions are |
6 * met: | 6 * met: |
7 * | 7 * |
8 * * Redistributions of source code must retain the above copyright | 8 * * Redistributions of source code must retain the above copyright |
9 * notice, this list of conditions and the following disclaimer. | 9 * notice, this list of conditions and the following disclaimer. |
10 * * Redistributions in binary form must reproduce the above | 10 * * Redistributions in binary form must reproduce the above |
(...skipping 37 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
48 , m_allowNavigationToInvalidURL { allowNavigationToInvalidURL } | 48 , m_allowNavigationToInvalidURL { allowNavigationToInvalidURL } |
49 , m_newFrameOpenerPolicy { newFrameOpenerPolicy } | 49 , m_newFrameOpenerPolicy { newFrameOpenerPolicy } |
50 , m_shouldReplaceDocumentIfJavaScriptURL { shouldReplaceDocumentIfJavaScript
URL } | 50 , m_shouldReplaceDocumentIfJavaScriptURL { shouldReplaceDocumentIfJavaScript
URL } |
51 , m_shouldOpenExternalURLsPolicy { shouldOpenExternalURLsPolicy } | 51 , m_shouldOpenExternalURLsPolicy { shouldOpenExternalURLsPolicy } |
52 , m_downloadAttribute { downloadAttribute } | 52 , m_downloadAttribute { downloadAttribute } |
53 , m_initiatedByMainFrame { initiatedByMainFrame } | 53 , m_initiatedByMainFrame { initiatedByMainFrame } |
54 , m_isSystemPreview { isSystemPreview } | 54 , m_isSystemPreview { isSystemPreview } |
55 { | 55 { |
56 } | 56 } |
57 | 57 |
58 FrameLoadRequest::FrameLoadRequest(Frame& frame, const ResourceRequest& resource
Request, ShouldOpenExternalURLsPolicy shouldOpenExternalURLsPolicy, const Substi
tuteData& substituteData) | 58 FrameLoadRequest::FrameLoadRequest(Frame& frame, const ResourceRequest& resource
Request, ShouldOpenExternalURLsPolicy shouldOpenExternalURLsPolicy, const Substi
tuteData& substituteData, LockBackForwardList lockBackForwardList) |
59 : m_requester { makeRef(*frame.document()) } | 59 : m_requester { makeRef(*frame.document()) } |
60 , m_requesterSecurityOrigin { makeRef(frame.document()->securityOrigin()) } | 60 , m_requesterSecurityOrigin { makeRef(frame.document()->securityOrigin()) } |
61 , m_resourceRequest { resourceRequest } | 61 , m_resourceRequest { resourceRequest } |
62 , m_substituteData { substituteData } | 62 , m_substituteData { substituteData } |
63 , m_lockHistory { LockHistory::No } | 63 , m_lockHistory { LockHistory::No } |
64 , m_lockBackForwardList { LockBackForwardList::No } | 64 , m_lockBackForwardList { lockBackForwardList } |
65 , m_shouldSendReferrer { MaybeSendReferrer } | 65 , m_shouldSendReferrer { MaybeSendReferrer } |
66 , m_allowNavigationToInvalidURL { AllowNavigationToInvalidURL::Yes } | 66 , m_allowNavigationToInvalidURL { AllowNavigationToInvalidURL::Yes } |
67 , m_newFrameOpenerPolicy { NewFrameOpenerPolicy::Allow } | 67 , m_newFrameOpenerPolicy { NewFrameOpenerPolicy::Allow } |
68 , m_shouldReplaceDocumentIfJavaScriptURL { ReplaceDocumentIfJavaScriptURL } | 68 , m_shouldReplaceDocumentIfJavaScriptURL { ReplaceDocumentIfJavaScriptURL } |
69 , m_shouldOpenExternalURLsPolicy { shouldOpenExternalURLsPolicy } | 69 , m_shouldOpenExternalURLsPolicy { shouldOpenExternalURLsPolicy } |
70 { | 70 { |
71 } | 71 } |
72 | 72 |
73 FrameLoadRequest::~FrameLoadRequest() = default; | 73 FrameLoadRequest::~FrameLoadRequest() = default; |
74 | 74 |
75 FrameLoadRequest::FrameLoadRequest(FrameLoadRequest&&) = default; | 75 FrameLoadRequest::FrameLoadRequest(FrameLoadRequest&&) = default; |
76 FrameLoadRequest& FrameLoadRequest::operator=(FrameLoadRequest&&) = default; | 76 FrameLoadRequest& FrameLoadRequest::operator=(FrameLoadRequest&&) = default; |
77 | 77 |
78 Document& FrameLoadRequest::requester() | 78 Document& FrameLoadRequest::requester() |
79 { | 79 { |
80 return m_requester.get(); | 80 return m_requester.get(); |
81 } | 81 } |
82 | 82 |
83 const SecurityOrigin& FrameLoadRequest::requesterSecurityOrigin() const | 83 const SecurityOrigin& FrameLoadRequest::requesterSecurityOrigin() const |
84 { | 84 { |
85 return m_requesterSecurityOrigin.get(); | 85 return m_requesterSecurityOrigin.get(); |
86 } | 86 } |
87 | 87 |
88 } // namespace WebCore | 88 } // namespace WebCore |
LEFT | RIGHT |