OLD | NEW |
1 /* | 1 /* |
2 * Copyright (C) 2006, 2007, 2008, 2009, 2010, 2011 Apple Inc. All rights | 2 * Copyright (C) 2006, 2007, 2008, 2009, 2010, 2011 Apple Inc. All rights |
3 * reserved. | 3 * reserved. |
4 * Copyright (C) 2010, 2011, 2012 Google Inc. All rights reserved. | 4 * Copyright (C) 2010, 2011, 2012 Google Inc. All rights reserved. |
5 * | 5 * |
6 * This library is free software; you can redistribute it and/or | 6 * This library is free software; you can redistribute it and/or |
7 * modify it under the terms of the GNU Library General Public | 7 * modify it under the terms of the GNU Library General Public |
8 * License as published by the Free Software Foundation; either | 8 * License as published by the Free Software Foundation; either |
9 * version 2 of the License, or (at your option) any later version. | 9 * version 2 of the License, or (at your option) any later version. |
10 * | 10 * |
11 * This library is distributed in the hope that it will be useful, | 11 * This library is distributed in the hope that it will be useful, |
12 * but WITHOUT ANY WARRANTY; without even the implied warranty of | 12 * but WITHOUT ANY WARRANTY; without even the implied warranty of |
13 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU | 13 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU |
14 * Library General Public License for more details. | 14 * Library General Public License for more details. |
15 * | 15 * |
16 * You should have received a copy of the GNU Library General Public License | 16 * You should have received a copy of the GNU Library General Public License |
17 * along with this library; see the file COPYING.LIB. If not, write to | 17 * along with this library; see the file COPYING.LIB. If not, write to |
18 * the Free Software Foundation, Inc., 51 Franklin Street, Fifth Floor, | 18 * the Free Software Foundation, Inc., 51 Franklin Street, Fifth Floor, |
19 * Boston, MA 02110-1301, USA. | 19 * Boston, MA 02110-1301, USA. |
20 * | 20 * |
21 */ | 21 */ |
22 | 22 |
23 #ifndef FormController_h | 23 #ifndef FormController_h |
24 #define FormController_h | 24 #define FormController_h |
25 | 25 |
| 26 #include <memory> |
26 #include "platform/heap/Handle.h" | 27 #include "platform/heap/Handle.h" |
27 #include "wtf/Allocator.h" | 28 #include "wtf/Allocator.h" |
28 #include "wtf/Forward.h" | 29 #include "wtf/Forward.h" |
29 #include "wtf/ListHashSet.h" | 30 #include "wtf/ListHashSet.h" |
30 #include "wtf/Vector.h" | 31 #include "wtf/Vector.h" |
31 #include "wtf/text/AtomicStringHash.h" | 32 #include "wtf/text/AtomicStringHash.h" |
32 #include <memory> | |
33 | 33 |
34 namespace blink { | 34 namespace blink { |
35 | 35 |
36 class FormKeyGenerator; | 36 class FormKeyGenerator; |
37 class HTMLFormControlElementWithState; | 37 class HTMLFormControlElementWithState; |
38 class HTMLFormElement; | 38 class HTMLFormElement; |
39 class SavedFormState; | 39 class SavedFormState; |
40 | 40 |
41 class FormControlState { | 41 class FormControlState { |
42 DISALLOW_NEW_EXCEPT_PLACEMENT_NEW(); | 42 DISALLOW_NEW_EXCEPT_PLACEMENT_NEW(); |
(...skipping 82 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
125 static void formStatesFromStateVector(const Vector<String>&, | 125 static void formStatesFromStateVector(const Vector<String>&, |
126 SavedFormStateMap&); | 126 SavedFormStateMap&); |
127 | 127 |
128 Member<DocumentState> m_documentState; | 128 Member<DocumentState> m_documentState; |
129 SavedFormStateMap m_savedFormStateMap; | 129 SavedFormStateMap m_savedFormStateMap; |
130 Member<FormKeyGenerator> m_formKeyGenerator; | 130 Member<FormKeyGenerator> m_formKeyGenerator; |
131 }; | 131 }; |
132 | 132 |
133 } // namespace blink | 133 } // namespace blink |
134 #endif | 134 #endif |
OLD | NEW |