Chromium Code Reviews| Index: third_party/WebKit/Source/core/loader/FormSubmission.h |
| diff --git a/third_party/WebKit/Source/core/loader/FormSubmission.h b/third_party/WebKit/Source/core/loader/FormSubmission.h |
| index 36e3ec76e2c5ff03c9ca6bbdb8574aab4dfa9f1a..97e1009366154d09f5363205c0f7a2300257e52b 100644 |
| --- a/third_party/WebKit/Source/core/loader/FormSubmission.h |
| +++ b/third_party/WebKit/Source/core/loader/FormSubmission.h |
| @@ -31,6 +31,7 @@ |
| #ifndef FormSubmission_h |
| #define FormSubmission_h |
| +#include "core/loader/FrameLoadRequest.h" |
|
Łukasz Anforowicz
2016/06/08 20:32:43
Needed for createFrameLoadRequest, but introduces
|
| #include "platform/heap/Handle.h" |
| #include "platform/weborigin/KURL.h" |
| #include "platform/weborigin/Referrer.h" |
| @@ -38,9 +39,9 @@ |
| namespace blink { |
| +class Document; |
| class EncodedFormData; |
| class Event; |
| -struct FrameLoadRequest; |
| class HTMLFormElement; |
| class FormSubmission : public GarbageCollectedFinalized<FormSubmission> { |
| @@ -92,7 +93,7 @@ public: |
| static FormSubmission* create(HTMLFormElement*, const Attributes&, Event*); |
| DECLARE_TRACE(); |
| - void populateFrameLoadRequest(FrameLoadRequest&); |
| + FrameLoadRequest createFrameLoadRequest(Document* originDocument); |
| KURL requestURL() const; |
| @@ -102,7 +103,6 @@ public: |
| void clearTarget() { m_target = nullAtom; } |
| HTMLFormElement* form() const { return m_form.get(); } |
| EncodedFormData* data() const { return m_formData.get(); } |
| - Event* event() const { return m_event.get(); } |
|
Łukasz Anforowicz
2016/06/08 20:32:43
This accessor is no longer needed after folding 2
|
| const String& result() const { return m_result; } |