| 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 <stddef.h> | 8 #include <stddef.h> |
| 9 | 9 |
| 10 #include <map> | 10 #include <map> |
| 11 #include <set> | 11 #include <set> |
| 12 #include <vector> | 12 #include <vector> |
| 13 | 13 |
| 14 #include "base/macros.h" | 14 #include "base/macros.h" |
| 15 #include "base/strings/string16.h" | 15 #include "base/strings/string16.h" |
| 16 #include "components/autofill/core/common/form_data.h" | 16 #include "components/autofill/core/common/form_data.h" |
| 17 | 17 |
| 18 namespace blink { | 18 namespace blink { |
| 19 class WebDocument; | |
| 20 class WebElement; | |
| 21 class WebElementCollection; | |
| 22 class WebFormControlElement; | 19 class WebFormControlElement; |
| 23 class WebFrame; | 20 class WebFrame; |
| 24 class WebInputElement; | 21 class WebInputElement; |
| 25 class WebSelectElement; | 22 class WebSelectElement; |
| 26 } | 23 } |
| 27 | 24 |
| 28 namespace autofill { | 25 namespace autofill { |
| 29 | 26 |
| 30 struct FormDataPredictions; | 27 struct FormDataPredictions; |
| 31 | 28 |
| (...skipping 48 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 80 | 77 |
| 81 // The cached initial values for checkable <input> elements. | 78 // The cached initial values for checkable <input> elements. |
| 82 std::map<const blink::WebInputElement, bool> initial_checked_state_; | 79 std::map<const blink::WebInputElement, bool> initial_checked_state_; |
| 83 | 80 |
| 84 DISALLOW_COPY_AND_ASSIGN(FormCache); | 81 DISALLOW_COPY_AND_ASSIGN(FormCache); |
| 85 }; | 82 }; |
| 86 | 83 |
| 87 } // namespace autofill | 84 } // namespace autofill |
| 88 | 85 |
| 89 #endif // COMPONENTS_AUTOFILL_CONTENT_RENDERER_FORM_CACHE_H_ | 86 #endif // COMPONENTS_AUTOFILL_CONTENT_RENDERER_FORM_CACHE_H_ |
| OLD | NEW |