| 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_PASSWORD_FORM_CONVERSION_UTILS_H_ | 5 #ifndef COMPONENTS_AUTOFILL_CONTENT_RENDERER_PASSWORD_FORM_CONVERSION_UTILS_H_ |
| 6 #define COMPONENTS_AUTOFILL_CONTENT_RENDERER_PASSWORD_FORM_CONVERSION_UTILS_H_ | 6 #define COMPONENTS_AUTOFILL_CONTENT_RENDERER_PASSWORD_FORM_CONVERSION_UTILS_H_ |
| 7 | 7 |
| 8 #include <map> | 8 #include <map> |
| 9 #include <memory> | 9 #include <memory> |
| 10 #include <vector> | 10 #include <vector> |
| 11 | 11 |
| 12 #include <components/autofill/core/common/password_form.h> | 12 #include "components/autofill/core/common/password_form.h" |
| 13 #include "components/autofill/core/common/password_form_field_prediction_map.h" | 13 #include "components/autofill/core/common/password_form_field_prediction_map.h" |
| 14 #include "third_party/WebKit/public/platform/WebString.h" | 14 #include "third_party/WebKit/public/platform/WebString.h" |
| 15 #include "url/gurl.h" | 15 #include "url/gurl.h" |
| 16 | 16 |
| 17 namespace blink { | 17 namespace blink { |
| 18 class WebDocument; | 18 class WebDocument; |
| 19 class WebFormElement; | 19 class WebFormElement; |
| 20 class WebFormControlElement; | 20 class WebFormControlElement; |
| 21 class WebFrame; | 21 class WebFrame; |
| 22 class WebInputElement; | 22 class WebInputElement; |
| (...skipping 40 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 63 const FormsPredictionsMap* form_predictions); | 63 const FormsPredictionsMap* form_predictions); |
| 64 | 64 |
| 65 // Checks in a case-insensitive way if the autocomplete attribute for the given | 65 // Checks in a case-insensitive way if the autocomplete attribute for the given |
| 66 // |element| is present and has the specified |value_in_lowercase|. | 66 // |element| is present and has the specified |value_in_lowercase|. |
| 67 bool HasAutocompleteAttributeValue(const blink::WebInputElement& element, | 67 bool HasAutocompleteAttributeValue(const blink::WebInputElement& element, |
| 68 const char* value_in_lowercase); | 68 const char* value_in_lowercase); |
| 69 | 69 |
| 70 } // namespace autofill | 70 } // namespace autofill |
| 71 | 71 |
| 72 #endif // COMPONENTS_AUTOFILL_CONTENT_RENDERER_PASSWORD_FORM_CONVERSION_UTILS_H
__ | 72 #endif // COMPONENTS_AUTOFILL_CONTENT_RENDERER_PASSWORD_FORM_CONVERSION_UTILS_H
__ |
| OLD | NEW |