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/content/renderer/autofill_agent.h" | 5 #include "components/autofill/content/renderer/autofill_agent.h" |
6 | 6 |
7 #include "base/bind.h" | 7 #include "base/bind.h" |
8 #include "base/command_line.h" | 8 #include "base/command_line.h" |
9 #include "base/message_loop.h" | 9 #include "base/message_loop.h" |
10 #include "base/strings/string_split.h" | 10 #include "base/strings/string_split.h" |
11 #include "base/strings/string_util.h" | 11 #include "base/strings/string_util.h" |
12 #include "base/strings/utf_string_conversions.h" | 12 #include "base/strings/utf_string_conversions.h" |
13 #include "base/time.h" | 13 #include "base/time.h" |
14 #include "components/autofill/common/autocheckout_status.h" | |
15 #include "components/autofill/common/autofill_constants.h" | |
16 #include "components/autofill/common/autofill_messages.h" | |
17 #include "components/autofill/common/autofill_switches.h" | |
18 #include "components/autofill/common/form_data.h" | |
19 #include "components/autofill/common/form_data_predictions.h" | |
20 #include "components/autofill/common/form_field_data.h" | |
21 #include "components/autofill/common/web_element_descriptor.h" | |
22 #include "components/autofill/content/renderer/form_autofill_util.h" | 14 #include "components/autofill/content/renderer/form_autofill_util.h" |
23 #include "components/autofill/content/renderer/page_click_tracker.h" | 15 #include "components/autofill/content/renderer/page_click_tracker.h" |
24 #include "components/autofill/content/renderer/password_autofill_agent.h" | 16 #include "components/autofill/content/renderer/password_autofill_agent.h" |
| 17 #include "components/autofill/core/common/autocheckout_status.h" |
| 18 #include "components/autofill/core/common/autofill_constants.h" |
| 19 #include "components/autofill/core/common/autofill_messages.h" |
| 20 #include "components/autofill/core/common/autofill_switches.h" |
| 21 #include "components/autofill/core/common/form_data.h" |
| 22 #include "components/autofill/core/common/form_data_predictions.h" |
| 23 #include "components/autofill/core/common/form_field_data.h" |
| 24 #include "components/autofill/core/common/web_element_descriptor.h" |
25 #include "content/public/common/password_form.h" | 25 #include "content/public/common/password_form.h" |
26 #include "content/public/common/ssl_status.h" | 26 #include "content/public/common/ssl_status.h" |
27 #include "content/public/renderer/render_view.h" | 27 #include "content/public/renderer/render_view.h" |
28 #include "grit/component_resources.h" | 28 #include "grit/component_resources.h" |
29 #include "third_party/WebKit/Source/WebKit/chromium/public/WebDataSource.h" | 29 #include "third_party/WebKit/Source/WebKit/chromium/public/WebDataSource.h" |
30 #include "third_party/WebKit/Source/WebKit/chromium/public/WebDocument.h" | 30 #include "third_party/WebKit/Source/WebKit/chromium/public/WebDocument.h" |
31 #include "third_party/WebKit/Source/WebKit/chromium/public/WebFormControlElement
.h" | 31 #include "third_party/WebKit/Source/WebKit/chromium/public/WebFormControlElement
.h" |
32 #include "third_party/WebKit/Source/WebKit/chromium/public/WebFormElement.h" | 32 #include "third_party/WebKit/Source/WebKit/chromium/public/WebFormElement.h" |
33 #include "third_party/WebKit/Source/WebKit/chromium/public/WebFrame.h" | 33 #include "third_party/WebKit/Source/WebKit/chromium/public/WebFrame.h" |
34 #include "third_party/WebKit/Source/WebKit/chromium/public/WebInputEvent.h" | 34 #include "third_party/WebKit/Source/WebKit/chromium/public/WebInputEvent.h" |
(...skipping 962 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
997 if (!forms.empty()) { | 997 if (!forms.empty()) { |
998 if (click_timer_.IsRunning()) | 998 if (click_timer_.IsRunning()) |
999 click_timer_.Stop(); | 999 click_timer_.Stop(); |
1000 Send(new AutofillHostMsg_FormsSeen(routing_id(), forms, | 1000 Send(new AutofillHostMsg_FormsSeen(routing_id(), forms, |
1001 forms_seen_timestamp_, | 1001 forms_seen_timestamp_, |
1002 state)); | 1002 state)); |
1003 } | 1003 } |
1004 } | 1004 } |
1005 | 1005 |
1006 } // namespace autofill | 1006 } // namespace autofill |
OLD | NEW |