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

Side by Side Diff: Source/core/loader/FormSubmission.h

Issue 270483003: Oilpan: Prepare to move HTMLFormElement, HTMLFormElement::PastNamesMap, FormKeyGenerator, and FormS… (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: FIXME: Oilpan: Created 6 years, 7 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 unified diff | Download patch | Annotate | Revision Log
« no previous file with comments | « Source/core/loader/FormState.cpp ('k') | Source/core/loader/FormSubmission.cpp » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
1 /* 1 /*
2 * Copyright (C) 2010 Google Inc. All rights reserved. 2 * Copyright (C) 2010 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 95 matching lines...) Expand 10 before | Expand all | Expand 10 after
106 FormState* state() const { return m_formState.get(); } 106 FormState* state() const { return m_formState.get(); }
107 FormData* data() const { return m_formData.get(); } 107 FormData* data() const { return m_formData.get(); }
108 Event* event() const { return m_event.get(); } 108 Event* event() const { return m_event.get(); }
109 109
110 void setReferrer(const Referrer& referrer) { m_referrer = referrer; } 110 void setReferrer(const Referrer& referrer) { m_referrer = referrer; }
111 void setOrigin(const String& origin) { m_origin = origin; } 111 void setOrigin(const String& origin) { m_origin = origin; }
112 112
113 const String& result() const { return m_result; } 113 const String& result() const { return m_result; }
114 114
115 private: 115 private:
116 FormSubmission(Method, const KURL& action, const AtomicString& target, const AtomicString& contentType, PassRefPtr<FormState>, PassRefPtr<FormData>, const S tring& boundary, PassRefPtrWillBeRawPtr<Event>); 116 FormSubmission(Method, const KURL& action, const AtomicString& target, const AtomicString& contentType, PassRefPtrWillBeRawPtr<FormState>, PassRefPtr<FormDa ta>, const String& boundary, PassRefPtrWillBeRawPtr<Event>);
117 // FormSubmission for DialogMethod 117 // FormSubmission for DialogMethod
118 FormSubmission(const String& result); 118 FormSubmission(const String& result);
119 119
120 // FIXME: Hold an instance of Attributes instead of individual members. 120 // FIXME: Hold an instance of Attributes instead of individual members.
121 Method m_method; 121 Method m_method;
122 KURL m_action; 122 KURL m_action;
123 AtomicString m_target; 123 AtomicString m_target;
124 AtomicString m_contentType; 124 AtomicString m_contentType;
125 RefPtr<FormState> m_formState; 125 RefPtrWillBePersistent<FormState> m_formState;
126 RefPtr<FormData> m_formData; 126 RefPtr<FormData> m_formData;
127 String m_boundary; 127 String m_boundary;
128 RefPtrWillBePersistent<Event> m_event; 128 RefPtrWillBePersistent<Event> m_event;
129 Referrer m_referrer; 129 Referrer m_referrer;
130 String m_origin; 130 String m_origin;
131 String m_result; 131 String m_result;
132 }; 132 };
133 133
134 } 134 }
135 135
136 #endif // FormSubmission_h 136 #endif // FormSubmission_h
OLDNEW
« no previous file with comments | « Source/core/loader/FormState.cpp ('k') | Source/core/loader/FormSubmission.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698