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 #ifndef COMPONENTS_AUTOFILL_CONTENT_RENDERER_PASSWORD_AUTOFILL_AGENT_H_ | 5 #ifndef COMPONENTS_AUTOFILL_CONTENT_RENDERER_PASSWORD_AUTOFILL_AGENT_H_ |
6 #define COMPONENTS_AUTOFILL_CONTENT_RENDERER_PASSWORD_AUTOFILL_AGENT_H_ | 6 #define COMPONENTS_AUTOFILL_CONTENT_RENDERER_PASSWORD_AUTOFILL_AGENT_H_ |
7 | 7 |
8 #include <map> | 8 #include <map> |
9 #include <memory> | 9 #include <memory> |
10 #include <vector> | 10 #include <vector> |
11 | 11 |
12 #include "base/macros.h" | 12 #include "base/macros.h" |
13 #include "components/autofill/content/common/autofill_agent.mojom.h" | 13 #include "components/autofill/content/common/autofill_agent.mojom.h" |
14 #include "components/autofill/content/common/autofill_driver.mojom.h" | 14 #include "components/autofill/content/common/autofill_driver.mojom.h" |
15 #include "components/autofill/content/renderer/autofill_agent.h" | 15 #include "components/autofill/content/renderer/autofill_agent.h" |
16 #include "components/autofill/content/renderer/password_form_conversion_utils.h" | 16 #include "components/autofill/content/renderer/password_form_conversion_utils.h" |
17 #include "components/autofill/core/common/form_data_predictions.h" | 17 #include "components/autofill/core/common/form_data_predictions.h" |
18 #include "components/autofill/core/common/password_form.h" | 18 #include "components/autofill/core/common/password_form.h" |
19 #include "components/autofill/core/common/password_form_field_prediction_map.h" | 19 #include "components/autofill/core/common/password_form_field_prediction_map.h" |
20 #include "components/autofill/core/common/password_form_fill_data.h" | 20 #include "components/autofill/core/common/password_form_fill_data.h" |
21 #include "content/public/renderer/render_frame_observer.h" | 21 #include "content/public/renderer/render_frame_observer.h" |
22 #include "content/public/renderer/render_view_observer.h" | 22 #include "content/public/renderer/render_view_observer.h" |
23 #include "mojo/public/cpp/bindings/binding.h" | 23 #include "mojo/public/cpp/bindings/binding.h" |
24 #include "third_party/WebKit/public/web/WebInputElement.h" | 24 #include "third_party/WebKit/public/web/WebInputElement.h" |
25 | 25 |
26 namespace blink { | 26 namespace blink { |
27 class WebInputElement; | 27 class WebInputElement; |
28 class WebKeyboardEvent; | |
29 class WebSecurityOrigin; | 28 class WebSecurityOrigin; |
30 } | 29 } |
31 | 30 |
32 namespace autofill { | 31 namespace autofill { |
33 | 32 |
34 class RendererSavePasswordProgressLogger; | 33 class RendererSavePasswordProgressLogger; |
35 | 34 |
36 // This class is responsible for filling password forms. | 35 // This class is responsible for filling password forms. |
37 class PasswordAutofillAgent : public content::RenderFrameObserver, | 36 class PasswordAutofillAgent : public content::RenderFrameObserver, |
38 public mojom::PasswordAutofillAgent { | 37 public mojom::PasswordAutofillAgent { |
(...skipping 241 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
280 mojom::PasswordManagerDriverPtr password_manager_driver_; | 279 mojom::PasswordManagerDriverPtr password_manager_driver_; |
281 | 280 |
282 mojo::Binding<mojom::PasswordAutofillAgent> binding_; | 281 mojo::Binding<mojom::PasswordAutofillAgent> binding_; |
283 | 282 |
284 DISALLOW_COPY_AND_ASSIGN(PasswordAutofillAgent); | 283 DISALLOW_COPY_AND_ASSIGN(PasswordAutofillAgent); |
285 }; | 284 }; |
286 | 285 |
287 } // namespace autofill | 286 } // namespace autofill |
288 | 287 |
289 #endif // COMPONENTS_AUTOFILL_CONTENT_RENDERER_PASSWORD_AUTOFILL_AGENT_H_ | 288 #endif // COMPONENTS_AUTOFILL_CONTENT_RENDERER_PASSWORD_AUTOFILL_AGENT_H_ |
OLD | NEW |