| OLD | NEW |
| 1 /* | 1 /* |
| 2 * Copyright (C) 2006, 2007, 2008, 2009, 2010, 2011 Apple Inc. All rights reserv
ed. | 2 * Copyright (C) 2006, 2007, 2008, 2009, 2010, 2011 Apple Inc. All rights reserv
ed. |
| 3 * Copyright (C) 2010, 2011, 2012 Google Inc. All rights reserved. | 3 * Copyright (C) 2010, 2011, 2012 Google Inc. All rights reserved. |
| 4 * | 4 * |
| 5 * This library is free software; you can redistribute it and/or | 5 * This library is free software; you can redistribute it and/or |
| 6 * modify it under the terms of the GNU Library General Public | 6 * modify it under the terms of the GNU Library General Public |
| 7 * License as published by the Free Software Foundation; either | 7 * License as published by the Free Software Foundation; either |
| 8 * version 2 of the License, or (at your option) any later version. | 8 * version 2 of the License, or (at your option) any later version. |
| 9 * | 9 * |
| 10 * This library is distributed in the hope that it will be useful, | 10 * This library is distributed in the hope that it will be useful, |
| (...skipping 13 matching lines...) Expand all Loading... |
| 24 | 24 |
| 25 #include "core/html/forms/RadioButtonGroupScope.h" | 25 #include "core/html/forms/RadioButtonGroupScope.h" |
| 26 #include "platform/heap/Handle.h" | 26 #include "platform/heap/Handle.h" |
| 27 #include "wtf/Forward.h" | 27 #include "wtf/Forward.h" |
| 28 #include "wtf/ListHashSet.h" | 28 #include "wtf/ListHashSet.h" |
| 29 #include "wtf/Vector.h" | 29 #include "wtf/Vector.h" |
| 30 #include "wtf/text/AtomicStringHash.h" | 30 #include "wtf/text/AtomicStringHash.h" |
| 31 | 31 |
| 32 namespace blink { | 32 namespace blink { |
| 33 | 33 |
| 34 class FormAssociatedElement; | |
| 35 class FormKeyGenerator; | 34 class FormKeyGenerator; |
| 36 class HTMLFormControlElementWithState; | 35 class HTMLFormControlElementWithState; |
| 37 class HTMLFormElement; | 36 class HTMLFormElement; |
| 38 class SavedFormState; | 37 class SavedFormState; |
| 39 | 38 |
| 40 class FormControlState { | 39 class FormControlState { |
| 41 public: | 40 public: |
| 42 FormControlState() : m_type(TypeSkip) { } | 41 FormControlState() : m_type(TypeSkip) { } |
| 43 explicit FormControlState(const String& value) : m_type(TypeRestore) { m_val
ues.append(value); } | 42 explicit FormControlState(const String& value) : m_type(TypeRestore) { m_val
ues.append(value); } |
| 44 static FormControlState deserialize(const Vector<String>& stateVector, size_
t& index); | 43 static FormControlState deserialize(const Vector<String>& stateVector, size_
t& index); |
| (...skipping 74 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 119 static void formStatesFromStateVector(const Vector<String>&, SavedFormStateM
ap&); | 118 static void formStatesFromStateVector(const Vector<String>&, SavedFormStateM
ap&); |
| 120 | 119 |
| 121 RadioButtonGroupScope m_radioButtonGroupScope; | 120 RadioButtonGroupScope m_radioButtonGroupScope; |
| 122 RefPtrWillBeMember<DocumentState> m_documentState; | 121 RefPtrWillBeMember<DocumentState> m_documentState; |
| 123 SavedFormStateMap m_savedFormStateMap; | 122 SavedFormStateMap m_savedFormStateMap; |
| 124 OwnPtrWillBeMember<FormKeyGenerator> m_formKeyGenerator; | 123 OwnPtrWillBeMember<FormKeyGenerator> m_formKeyGenerator; |
| 125 }; | 124 }; |
| 126 | 125 |
| 127 } // namespace blink | 126 } // namespace blink |
| 128 #endif | 127 #endif |
| OLD | NEW |