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 #include "components/autofill/core/browser/autofill_manager.h" | 5 #include "components/autofill/core/browser/autofill_manager.h" |
6 | 6 |
7 #include <stddef.h> | 7 #include <stddef.h> |
8 | 8 |
9 #include <limits> | 9 #include <limits> |
10 #include <map> | 10 #include <map> |
(...skipping 25 matching lines...) Expand all Loading... |
36 #include "components/autofill/core/browser/phone_number.h" | 36 #include "components/autofill/core/browser/phone_number.h" |
37 #include "components/autofill/core/browser/phone_number_i18n.h" | 37 #include "components/autofill/core/browser/phone_number_i18n.h" |
38 #include "components/autofill/core/common/autofill_messages.h" | 38 #include "components/autofill/core/common/autofill_messages.h" |
39 #include "components/autofill/core/common/autofill_pref_names.h" | 39 #include "components/autofill/core/common/autofill_pref_names.h" |
40 #include "components/autofill/core/common/autofill_switches.h" | 40 #include "components/autofill/core/common/autofill_switches.h" |
41 #include "components/autofill/core/common/form_data.h" | 41 #include "components/autofill/core/common/form_data.h" |
42 #include "components/autofill/core/common/form_data_predictions.h" | 42 #include "components/autofill/core/common/form_data_predictions.h" |
43 #include "components/autofill/core/common/form_field_data.h" | 43 #include "components/autofill/core/common/form_field_data.h" |
44 #include "components/autofill/core/common/password_form_fill_data.h" | 44 #include "components/autofill/core/common/password_form_fill_data.h" |
45 #include "components/user_prefs/pref_registry_syncable.h" | 45 #include "components/user_prefs/pref_registry_syncable.h" |
46 #include "content/public/browser/browser_context.h" | |
47 #include "content/public/browser/render_view_host.h" | 46 #include "content/public/browser/render_view_host.h" |
48 #include "content/public/browser/web_contents.h" | 47 #include "content/public/browser/web_contents.h" |
49 #include "grit/component_strings.h" | 48 #include "grit/component_strings.h" |
50 #include "third_party/WebKit/public/web/WebAutofillClient.h" | 49 #include "third_party/WebKit/public/web/WebAutofillClient.h" |
51 #include "ui/base/l10n/l10n_util.h" | 50 #include "ui/base/l10n/l10n_util.h" |
52 #include "ui/gfx/rect.h" | 51 #include "ui/gfx/rect.h" |
53 #include "url/gurl.h" | 52 #include "url/gurl.h" |
54 | 53 |
55 namespace autofill { | 54 namespace autofill { |
56 | 55 |
(...skipping 1105 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
1162 return false; | 1161 return false; |
1163 | 1162 |
1164 // Disregard forms that we wouldn't ever autofill in the first place. | 1163 // Disregard forms that we wouldn't ever autofill in the first place. |
1165 if (!form.ShouldBeParsed(true)) | 1164 if (!form.ShouldBeParsed(true)) |
1166 return false; | 1165 return false; |
1167 | 1166 |
1168 return true; | 1167 return true; |
1169 } | 1168 } |
1170 | 1169 |
1171 } // namespace autofill | 1170 } // namespace autofill |
OLD | NEW |