| 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 37 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 48 | 48 |
| 49 FrameLoadRequest(Document* originDocument, const ResourceRequest& resourceRe
quest) | 49 FrameLoadRequest(Document* originDocument, const ResourceRequest& resourceRe
quest) |
| 50 : m_originDocument(originDocument) | 50 : m_originDocument(originDocument) |
| 51 , m_resourceRequest(resourceRequest) | 51 , m_resourceRequest(resourceRequest) |
| 52 , m_lockBackForwardList(false) | 52 , m_lockBackForwardList(false) |
| 53 , m_clientRedirect(NotClientRedirect) | 53 , m_clientRedirect(NotClientRedirect) |
| 54 , m_shouldSendReferrer(MaybeSendReferrer) | 54 , m_shouldSendReferrer(MaybeSendReferrer) |
| 55 { | 55 { |
| 56 } | 56 } |
| 57 | 57 |
| 58 FrameLoadRequest(Document* originDocument, const ResourceRequest& resourceRe
quest, const String& frameName) | 58 FrameLoadRequest(Document* originDocument, const ResourceRequest& resourceRe
quest, const AtomicString& frameName) |
| 59 : m_originDocument(originDocument) | 59 : m_originDocument(originDocument) |
| 60 , m_resourceRequest(resourceRequest) | 60 , m_resourceRequest(resourceRequest) |
| 61 , m_frameName(frameName) | 61 , m_frameName(frameName) |
| 62 , m_lockBackForwardList(false) | 62 , m_lockBackForwardList(false) |
| 63 , m_clientRedirect(NotClientRedirect) | 63 , m_clientRedirect(NotClientRedirect) |
| 64 , m_shouldSendReferrer(MaybeSendReferrer) | 64 , m_shouldSendReferrer(MaybeSendReferrer) |
| 65 { | 65 { |
| 66 } | 66 } |
| 67 | 67 |
| 68 FrameLoadRequest(Document* originDocument, const ResourceRequest& resourceRe
quest, const SubstituteData& substituteData) | 68 FrameLoadRequest(Document* originDocument, const ResourceRequest& resourceRe
quest, const SubstituteData& substituteData) |
| 69 : m_originDocument(originDocument) | 69 : m_originDocument(originDocument) |
| 70 , m_resourceRequest(resourceRequest) | 70 , m_resourceRequest(resourceRequest) |
| 71 , m_substituteData(substituteData) | 71 , m_substituteData(substituteData) |
| 72 , m_lockBackForwardList(false) | 72 , m_lockBackForwardList(false) |
| 73 , m_clientRedirect(NotClientRedirect) | 73 , m_clientRedirect(NotClientRedirect) |
| 74 , m_shouldSendReferrer(MaybeSendReferrer) | 74 , m_shouldSendReferrer(MaybeSendReferrer) |
| 75 { | 75 { |
| 76 } | 76 } |
| 77 | 77 |
| 78 Document* originDocument() const { return m_originDocument.get(); } | 78 Document* originDocument() const { return m_originDocument.get(); } |
| 79 | 79 |
| 80 ResourceRequest& resourceRequest() { return m_resourceRequest; } | 80 ResourceRequest& resourceRequest() { return m_resourceRequest; } |
| 81 const ResourceRequest& resourceRequest() const { return m_resourceRequest; } | 81 const ResourceRequest& resourceRequest() const { return m_resourceRequest; } |
| 82 | 82 |
| 83 const String& frameName() const { return m_frameName; } | 83 const AtomicString& frameName() const { return m_frameName; } |
| 84 void setFrameName(const String& frameName) { m_frameName = frameName; } | 84 void setFrameName(const AtomicString& frameName) { m_frameName = frameName;
} |
| 85 | 85 |
| 86 const SubstituteData& substituteData() const { return m_substituteData; } | 86 const SubstituteData& substituteData() const { return m_substituteData; } |
| 87 | 87 |
| 88 bool lockBackForwardList() const { return m_lockBackForwardList; } | 88 bool lockBackForwardList() const { return m_lockBackForwardList; } |
| 89 void setLockBackForwardList(bool lockBackForwardList) { m_lockBackForwardLis
t = lockBackForwardList; } | 89 void setLockBackForwardList(bool lockBackForwardList) { m_lockBackForwardLis
t = lockBackForwardList; } |
| 90 | 90 |
| 91 ClientRedirectPolicy clientRedirect() const { return m_clientRedirect; } | 91 ClientRedirectPolicy clientRedirect() const { return m_clientRedirect; } |
| 92 void setClientRedirect(ClientRedirectPolicy clientRedirect) { m_clientRedire
ct = clientRedirect; } | 92 void setClientRedirect(ClientRedirectPolicy clientRedirect) { m_clientRedire
ct = clientRedirect; } |
| 93 | 93 |
| 94 Event* triggeringEvent() const { return m_triggeringEvent.get(); } | 94 Event* triggeringEvent() const { return m_triggeringEvent.get(); } |
| 95 void setTriggeringEvent(PassRefPtr<Event> triggeringEvent) { m_triggeringEve
nt = triggeringEvent; } | 95 void setTriggeringEvent(PassRefPtr<Event> triggeringEvent) { m_triggeringEve
nt = triggeringEvent; } |
| 96 | 96 |
| 97 FormState* formState() const { return m_formState.get(); } | 97 FormState* formState() const { return m_formState.get(); } |
| 98 void setFormState(PassRefPtr<FormState> formState) { m_formState = formState
; } | 98 void setFormState(PassRefPtr<FormState> formState) { m_formState = formState
; } |
| 99 | 99 |
| 100 ShouldSendReferrer shouldSendReferrer() const { return m_shouldSendReferrer;
} | 100 ShouldSendReferrer shouldSendReferrer() const { return m_shouldSendReferrer;
} |
| 101 void setShouldSendReferrer(ShouldSendReferrer shouldSendReferrer) { m_should
SendReferrer = shouldSendReferrer; } | 101 void setShouldSendReferrer(ShouldSendReferrer shouldSendReferrer) { m_should
SendReferrer = shouldSendReferrer; } |
| 102 | 102 |
| 103 private: | 103 private: |
| 104 RefPtr<Document> m_originDocument; | 104 RefPtr<Document> m_originDocument; |
| 105 ResourceRequest m_resourceRequest; | 105 ResourceRequest m_resourceRequest; |
| 106 String m_frameName; | 106 AtomicString m_frameName; |
| 107 SubstituteData m_substituteData; | 107 SubstituteData m_substituteData; |
| 108 bool m_lockBackForwardList; | 108 bool m_lockBackForwardList; |
| 109 ClientRedirectPolicy m_clientRedirect; | 109 ClientRedirectPolicy m_clientRedirect; |
| 110 RefPtr<Event> m_triggeringEvent; | 110 RefPtr<Event> m_triggeringEvent; |
| 111 RefPtr<FormState> m_formState; | 111 RefPtr<FormState> m_formState; |
| 112 ShouldSendReferrer m_shouldSendReferrer; | 112 ShouldSendReferrer m_shouldSendReferrer; |
| 113 }; | 113 }; |
| 114 | 114 |
| 115 } | 115 } |
| 116 | 116 |
| 117 #endif // FrameLoadRequest_h | 117 #endif // FrameLoadRequest_h |
| OLD | NEW |