| 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" |
| (...skipping 114 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 125 PasswordGenerationAgent* password_generation_agent) | 125 PasswordGenerationAgent* password_generation_agent) |
| 126 : content::RenderViewObserver(render_view), | 126 : content::RenderViewObserver(render_view), |
| 127 password_autofill_agent_(password_autofill_agent), | 127 password_autofill_agent_(password_autofill_agent), |
| 128 password_generation_agent_(password_generation_agent), | 128 password_generation_agent_(password_generation_agent), |
| 129 autofill_query_id_(0), | 129 autofill_query_id_(0), |
| 130 web_view_(render_view->GetWebView()), | 130 web_view_(render_view->GetWebView()), |
| 131 display_warning_if_disabled_(false), | 131 display_warning_if_disabled_(false), |
| 132 was_query_node_autofilled_(false), | 132 was_query_node_autofilled_(false), |
| 133 has_shown_autofill_popup_for_current_edit_(false), | 133 has_shown_autofill_popup_for_current_edit_(false), |
| 134 did_set_node_text_(false), | 134 did_set_node_text_(false), |
| 135 has_new_forms_for_browser_(false), | |
| 136 ignore_text_changes_(false), | 135 ignore_text_changes_(false), |
| 137 is_popup_possibly_visible_(false), | 136 is_popup_possibly_visible_(false), |
| 138 main_frame_processed_(false), | 137 main_frame_processed_(false), |
| 139 weak_ptr_factory_(this) { | 138 weak_ptr_factory_(this) { |
| 140 render_view->GetWebView()->setAutofillClient(this); | 139 render_view->GetWebView()->setAutofillClient(this); |
| 141 | 140 |
| 142 // The PageClickTracker is a RenderViewObserver, and hence will be freed when | 141 // The PageClickTracker is a RenderViewObserver, and hence will be freed when |
| 143 // the RenderView is destroyed. | 142 // the RenderView is destroyed. |
| 144 new PageClickTracker(render_view, this); | 143 new PageClickTracker(render_view, this); |
| 145 } | 144 } |
| (...skipping 575 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 721 // parsed form. | 720 // parsed form. |
| 722 if (frame && !frame->parent() && !frame->isLoading()) { | 721 if (frame && !frame->parent() && !frame->isLoading()) { |
| 723 ProcessForms(*frame); | 722 ProcessForms(*frame); |
| 724 password_autofill_agent_->OnDynamicFormsSeen(frame); | 723 password_autofill_agent_->OnDynamicFormsSeen(frame); |
| 725 return; | 724 return; |
| 726 } | 725 } |
| 727 } | 726 } |
| 728 } | 727 } |
| 729 | 728 |
| 730 } // namespace autofill | 729 } // namespace autofill |
| OLD | NEW |