OLD | NEW |
1 // Copyright 2013 The Chromium Authors. All rights reserved. | 1 // Copyright 2013 The Chromium Authors. All rights reserved. |
2 // Use of this source code is governed by a BSD-style license that can be | 2 // Use of this source code is governed by a BSD-style license that can be |
3 // found in the LICENSE file. | 3 // found in the LICENSE file. |
4 | 4 |
5 #ifndef COMPONENTS_AUTOFILL_CONTENT_RENDERER_FORM_CACHE_H_ | 5 #ifndef COMPONENTS_AUTOFILL_CONTENT_RENDERER_FORM_CACHE_H_ |
6 #define COMPONENTS_AUTOFILL_CONTENT_RENDERER_FORM_CACHE_H_ | 6 #define COMPONENTS_AUTOFILL_CONTENT_RENDERER_FORM_CACHE_H_ |
7 | 7 |
8 #include <map> | 8 #include <map> |
9 #include <set> | 9 #include <set> |
10 #include <vector> | 10 #include <vector> |
11 | 11 |
12 #include "base/strings/string16.h" | 12 #include "base/strings/string16.h" |
13 | 13 |
14 namespace blink { | 14 namespace blink { |
15 class WebDocument; | 15 class WebDocument; |
16 class WebFormControlElement; | 16 class WebFormControlElement; |
17 class WebFormElement; | |
18 class WebFrame; | 17 class WebFrame; |
19 class WebInputElement; | 18 class WebInputElement; |
20 class WebSelectElement; | 19 class WebSelectElement; |
21 } | 20 } |
22 | 21 |
23 namespace autofill { | 22 namespace autofill { |
24 | 23 |
25 struct FormData; | 24 struct FormData; |
26 struct FormDataPredictions; | 25 struct FormDataPredictions; |
27 | 26 |
(...skipping 34 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
62 | 61 |
63 // The cached initial values for checkable <input> elements. | 62 // The cached initial values for checkable <input> elements. |
64 std::map<const blink::WebInputElement, bool> initial_checked_state_; | 63 std::map<const blink::WebInputElement, bool> initial_checked_state_; |
65 | 64 |
66 DISALLOW_COPY_AND_ASSIGN(FormCache); | 65 DISALLOW_COPY_AND_ASSIGN(FormCache); |
67 }; | 66 }; |
68 | 67 |
69 } // namespace autofill | 68 } // namespace autofill |
70 | 69 |
71 #endif // COMPONENTS_AUTOFILL_CONTENT_RENDERER_FORM_CACHE_H_ | 70 #endif // COMPONENTS_AUTOFILL_CONTENT_RENDERER_FORM_CACHE_H_ |
OLD | NEW |