| OLD | NEW |
| 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 18 matching lines...) Expand all Loading... |
| 29 */ | 29 */ |
| 30 | 30 |
| 31 #ifndef FormSubmission_h | 31 #ifndef FormSubmission_h |
| 32 #define FormSubmission_h | 32 #define FormSubmission_h |
| 33 | 33 |
| 34 #include "core/loader/FormState.h" | 34 #include "core/loader/FormState.h" |
| 35 #include "platform/heap/Handle.h" | 35 #include "platform/heap/Handle.h" |
| 36 #include "platform/weborigin/KURL.h" | 36 #include "platform/weborigin/KURL.h" |
| 37 #include "platform/weborigin/Referrer.h" | 37 #include "platform/weborigin/Referrer.h" |
| 38 | 38 |
| 39 namespace WTF{ | |
| 40 class TextEncoding; | |
| 41 } | |
| 42 | |
| 43 namespace blink { | 39 namespace blink { |
| 44 | 40 |
| 45 class Document; | |
| 46 class Event; | 41 class Event; |
| 47 class FormData; | 42 class FormData; |
| 48 struct FrameLoadRequest; | 43 struct FrameLoadRequest; |
| 49 class HTMLFormElement; | 44 class HTMLFormElement; |
| 50 | 45 |
| 51 class FormSubmission : public RefCountedWillBeGarbageCollectedFinalized<FormSubm
ission> { | 46 class FormSubmission : public RefCountedWillBeGarbageCollectedFinalized<FormSubm
ission> { |
| 52 public: | 47 public: |
| 53 enum Method { GetMethod, PostMethod, DialogMethod }; | 48 enum Method { GetMethod, PostMethod, DialogMethod }; |
| 54 | 49 |
| 55 class Attributes { | 50 class Attributes { |
| (...skipping 72 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 128 String m_boundary; | 123 String m_boundary; |
| 129 RefPtrWillBeMember<Event> m_event; | 124 RefPtrWillBeMember<Event> m_event; |
| 130 Referrer m_referrer; | 125 Referrer m_referrer; |
| 131 String m_origin; | 126 String m_origin; |
| 132 String m_result; | 127 String m_result; |
| 133 }; | 128 }; |
| 134 | 129 |
| 135 } | 130 } |
| 136 | 131 |
| 137 #endif // FormSubmission_h | 132 #endif // FormSubmission_h |
| OLD | NEW |