Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(270)

Unified Diff: Source/WebCore/loader/FormState.h

Issue 9963061: Merge 112184 (Closed) Base URL: http://svn.webkit.org/repository/webkit/branches/chromium/1025/
Patch Set: Created 8 years, 9 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « Source/WebCore/dom/Document.cpp ('k') | Source/WebCore/loader/FormState.cpp » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: Source/WebCore/loader/FormState.h
===================================================================
--- Source/WebCore/loader/FormState.h (revision 112895)
+++ Source/WebCore/loader/FormState.h (working copy)
@@ -34,7 +34,7 @@
namespace WebCore {
- class Frame;
+ class Document;
class HTMLFormElement;
enum FormSubmissionTrigger {
@@ -46,19 +46,19 @@
class FormState : public RefCounted<FormState> {
public:
- static PassRefPtr<FormState> create(PassRefPtr<HTMLFormElement>, StringPairVector& textFieldValuesToAdopt, PassRefPtr<Frame>, FormSubmissionTrigger);
+ static PassRefPtr<FormState> create(PassRefPtr<HTMLFormElement>, StringPairVector& textFieldValuesToAdopt, PassRefPtr<Document>, FormSubmissionTrigger);
HTMLFormElement* form() const { return m_form.get(); }
const StringPairVector& textFieldValues() const { return m_textFieldValues; }
- Frame* sourceFrame() const { return m_sourceFrame.get(); }
+ Document* sourceDocument() const { return m_sourceDocument.get(); }
FormSubmissionTrigger formSubmissionTrigger() const { return m_formSubmissionTrigger; }
private:
- FormState(PassRefPtr<HTMLFormElement>, StringPairVector& textFieldValuesToAdopt, PassRefPtr<Frame>, FormSubmissionTrigger);
+ FormState(PassRefPtr<HTMLFormElement>, StringPairVector& textFieldValuesToAdopt, PassRefPtr<Document>, FormSubmissionTrigger);
RefPtr<HTMLFormElement> m_form;
StringPairVector m_textFieldValues;
- RefPtr<Frame> m_sourceFrame;
+ RefPtr<Document> m_sourceDocument;
FormSubmissionTrigger m_formSubmissionTrigger;
};
« no previous file with comments | « Source/WebCore/dom/Document.cpp ('k') | Source/WebCore/loader/FormState.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698