| OLD | NEW |
| 1 // Copyright (c) 2012 The Chromium Authors. All rights reserved. | 1 // Copyright (c) 2012 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/command_line.h" | 9 #include "base/command_line.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 "chrome/common/autofill/web_element_descriptor.h" | |
| 15 #include "chrome/common/chrome_switches.h" | 14 #include "chrome/common/chrome_switches.h" |
| 16 #include "chrome/common/form_data.h" | 15 #include "components/autofill/common/form_data.h" |
| 17 #include "chrome/common/form_field_data.h" | 16 #include "components/autofill/common/form_field_data.h" |
| 17 #include "components/autofill/common/web_element_descriptor.h" |
| 18 #include "third_party/WebKit/Source/Platform/chromium/public/WebString.h" | 18 #include "third_party/WebKit/Source/Platform/chromium/public/WebString.h" |
| 19 #include "third_party/WebKit/Source/Platform/chromium/public/WebVector.h" | 19 #include "third_party/WebKit/Source/Platform/chromium/public/WebVector.h" |
| 20 #include "third_party/WebKit/Source/WebKit/chromium/public/WebDocument.h" | 20 #include "third_party/WebKit/Source/WebKit/chromium/public/WebDocument.h" |
| 21 #include "third_party/WebKit/Source/WebKit/chromium/public/WebElement.h" | 21 #include "third_party/WebKit/Source/WebKit/chromium/public/WebElement.h" |
| 22 #include "third_party/WebKit/Source/WebKit/chromium/public/WebExceptionCode.h" | 22 #include "third_party/WebKit/Source/WebKit/chromium/public/WebExceptionCode.h" |
| 23 #include "third_party/WebKit/Source/WebKit/chromium/public/WebFormControlElement
.h" | 23 #include "third_party/WebKit/Source/WebKit/chromium/public/WebFormControlElement
.h" |
| 24 #include "third_party/WebKit/Source/WebKit/chromium/public/WebFormElement.h" | 24 #include "third_party/WebKit/Source/WebKit/chromium/public/WebFormElement.h" |
| 25 #include "third_party/WebKit/Source/WebKit/chromium/public/WebFrame.h" | 25 #include "third_party/WebKit/Source/WebKit/chromium/public/WebFrame.h" |
| 26 #include "third_party/WebKit/Source/WebKit/chromium/public/WebInputElement.h" | 26 #include "third_party/WebKit/Source/WebKit/chromium/public/WebInputElement.h" |
| 27 #include "third_party/WebKit/Source/WebKit/chromium/public/WebLabelElement.h" | 27 #include "third_party/WebKit/Source/WebKit/chromium/public/WebLabelElement.h" |
| (...skipping 994 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 1022 continue; | 1022 continue; |
| 1023 | 1023 |
| 1024 if (input_element->isAutofilled()) | 1024 if (input_element->isAutofilled()) |
| 1025 return true; | 1025 return true; |
| 1026 } | 1026 } |
| 1027 | 1027 |
| 1028 return false; | 1028 return false; |
| 1029 } | 1029 } |
| 1030 | 1030 |
| 1031 } // namespace autofill | 1031 } // namespace autofill |
| OLD | NEW |