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/message_loop.h" | 9 #include "base/message_loop/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/time.h" | 13 #include "base/time/time.h" |
| 14 #include "components/autofill/content/common/autofill_messages.h" |
14 #include "components/autofill/content/renderer/form_autofill_util.h" | 15 #include "components/autofill/content/renderer/form_autofill_util.h" |
15 #include "components/autofill/content/renderer/page_click_tracker.h" | 16 #include "components/autofill/content/renderer/page_click_tracker.h" |
16 #include "components/autofill/content/renderer/password_autofill_agent.h" | 17 #include "components/autofill/content/renderer/password_autofill_agent.h" |
17 #include "components/autofill/core/common/autofill_constants.h" | 18 #include "components/autofill/core/common/autofill_constants.h" |
18 #include "components/autofill/core/common/autofill_messages.h" | |
19 #include "components/autofill/core/common/autofill_switches.h" | 19 #include "components/autofill/core/common/autofill_switches.h" |
20 #include "components/autofill/core/common/form_data.h" | 20 #include "components/autofill/core/common/form_data.h" |
21 #include "components/autofill/core/common/form_data_predictions.h" | 21 #include "components/autofill/core/common/form_data_predictions.h" |
22 #include "components/autofill/core/common/form_field_data.h" | 22 #include "components/autofill/core/common/form_field_data.h" |
23 #include "components/autofill/core/common/password_form.h" | 23 #include "components/autofill/core/common/password_form.h" |
24 #include "components/autofill/core/common/web_element_descriptor.h" | 24 #include "components/autofill/core/common/web_element_descriptor.h" |
25 #include "content/public/common/ssl_status.h" | 25 #include "content/public/common/ssl_status.h" |
26 #include "content/public/common/url_constants.h" | 26 #include "content/public/common/url_constants.h" |
27 #include "content/public/renderer/render_view.h" | 27 #include "content/public/renderer/render_view.h" |
28 #include "grit/component_strings.h" | 28 #include "grit/component_strings.h" |
(...skipping 586 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
615 // Only monitors dynamic forms created in the top frame. Dynamic forms | 615 // Only monitors dynamic forms created in the top frame. Dynamic forms |
616 // inserted in iframes are not captured yet. | 616 // inserted in iframes are not captured yet. |
617 if (!frame->parent()) { | 617 if (!frame->parent()) { |
618 password_autofill_agent_->OnDynamicFormsSeen(frame); | 618 password_autofill_agent_->OnDynamicFormsSeen(frame); |
619 return; | 619 return; |
620 } | 620 } |
621 } | 621 } |
622 } | 622 } |
623 | 623 |
624 } // namespace autofill | 624 } // namespace autofill |
OLD | NEW |