| OLD | NEW |
| 1 // Copyright (c) 2011 The Chromium Authors. All rights reserved. | 1 // Copyright (c) 2011 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 #include "chrome/renderer/autofill/form_autofill_util.h" | 5 #include "chrome/renderer/autofill/form_autofill_util.h" |
| 6 | 6 |
| 7 #include <map> | 7 #include <map> |
| 8 | 8 |
| 9 #include "base/callback_old.h" | 9 #include "base/callback_old.h" |
| 10 #include "base/logging.h" | 10 #include "base/logging.h" |
| 11 #include "base/memory/scoped_vector.h" | 11 #include "base/memory/scoped_vector.h" |
| 12 #include "base/string_util.h" | 12 #include "base/string_util.h" |
| 13 #include "base/utf_string_conversions.h" | 13 #include "base/utf_string_conversions.h" |
| 14 #include "third_party/WebKit/Source/WebKit/chromium/public/WebDocument.h" | 14 #include "third_party/WebKit/Source/WebKit/chromium/public/WebDocument.h" |
| 15 #include "third_party/WebKit/Source/WebKit/chromium/public/WebElement.h" | 15 #include "third_party/WebKit/Source/WebKit/chromium/public/WebElement.h" |
| 16 #include "third_party/WebKit/Source/WebKit/chromium/public/WebFormElement.h" | 16 #include "third_party/WebKit/Source/WebKit/chromium/public/WebFormElement.h" |
| 17 #include "third_party/WebKit/Source/WebKit/chromium/public/WebFormControlElement
.h" | 17 #include "third_party/WebKit/Source/WebKit/chromium/public/WebFormControlElement
.h" |
| 18 #include "third_party/WebKit/Source/WebKit/chromium/public/WebFrame.h" | 18 #include "third_party/WebKit/Source/WebKit/chromium/public/WebFrame.h" |
| 19 #include "third_party/WebKit/Source/WebKit/chromium/public/WebInputElement.h" | 19 #include "third_party/WebKit/Source/WebKit/chromium/public/WebInputElement.h" |
| 20 #include "third_party/WebKit/Source/WebKit/chromium/public/WebLabelElement.h" | 20 #include "third_party/WebKit/Source/WebKit/chromium/public/WebLabelElement.h" |
| 21 #include "third_party/WebKit/Source/WebKit/chromium/public/WebNode.h" | 21 #include "third_party/WebKit/Source/WebKit/chromium/public/WebNode.h" |
| 22 #include "third_party/WebKit/Source/WebKit/chromium/public/WebNodeList.h" | 22 #include "third_party/WebKit/Source/WebKit/chromium/public/WebNodeList.h" |
| 23 #include "third_party/WebKit/Source/WebKit/chromium/public/WebOptionElement.h" | 23 #include "third_party/WebKit/Source/WebKit/chromium/public/WebOptionElement.h" |
| 24 #include "third_party/WebKit/Source/WebKit/chromium/public/WebSelectElement.h" | 24 #include "third_party/WebKit/Source/WebKit/chromium/public/WebSelectElement.h" |
| 25 #include "third_party/WebKit/Source/WebKit/chromium/public/WebString.h" | 25 #include "third_party/WebKit/Source/WebKit/chromium/public/platform/WebString.h" |
| 26 #include "third_party/WebKit/Source/WebKit/chromium/public/WebVector.h" | 26 #include "third_party/WebKit/Source/WebKit/chromium/public/platform/WebVector.h" |
| 27 #include "webkit/glue/form_data.h" | 27 #include "webkit/glue/form_data.h" |
| 28 #include "webkit/glue/form_field.h" | 28 #include "webkit/glue/form_field.h" |
| 29 | 29 |
| 30 using WebKit::WebElement; | 30 using WebKit::WebElement; |
| 31 using WebKit::WebFormControlElement; | 31 using WebKit::WebFormControlElement; |
| 32 using WebKit::WebFormElement; | 32 using WebKit::WebFormElement; |
| 33 using WebKit::WebFrame; | 33 using WebKit::WebFrame; |
| 34 using WebKit::WebInputElement; | 34 using WebKit::WebInputElement; |
| 35 using WebKit::WebLabelElement; | 35 using WebKit::WebLabelElement; |
| 36 using WebKit::WebNode; | 36 using WebKit::WebNode; |
| (...skipping 856 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 893 continue; | 893 continue; |
| 894 | 894 |
| 895 if (input_element->isAutofilled()) | 895 if (input_element->isAutofilled()) |
| 896 return true; | 896 return true; |
| 897 } | 897 } |
| 898 | 898 |
| 899 return false; | 899 return false; |
| 900 } | 900 } |
| 901 | 901 |
| 902 } // namespace autofill | 902 } // namespace autofill |
| OLD | NEW |