OLD | NEW |
1 // Copyright 2014 The Chromium Authors. All rights reserved. | 1 // Copyright 2014 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_BROWSER_CONTENT_AUTOFILL_DRIVER_H_ | 5 #ifndef COMPONENTS_AUTOFILL_CONTENT_BROWSER_CONTENT_AUTOFILL_DRIVER_H_ |
6 #define COMPONENTS_AUTOFILL_CONTENT_BROWSER_CONTENT_AUTOFILL_DRIVER_H_ | 6 #define COMPONENTS_AUTOFILL_CONTENT_BROWSER_CONTENT_AUTOFILL_DRIVER_H_ |
7 | 7 |
8 #include <memory> | 8 #include <memory> |
9 #include <string> | 9 #include <string> |
10 | 10 |
11 #include "base/supports_user_data.h" | 11 #include "base/supports_user_data.h" |
12 #include "components/autofill/content/browser/request_autocomplete_manager.h" | |
13 #include "components/autofill/content/public/interfaces/autofill_agent.mojom.h" | 12 #include "components/autofill/content/public/interfaces/autofill_agent.mojom.h" |
14 #include "components/autofill/content/public/interfaces/autofill_driver.mojom.h" | 13 #include "components/autofill/content/public/interfaces/autofill_driver.mojom.h" |
15 #include "components/autofill/core/browser/autofill_driver.h" | 14 #include "components/autofill/core/browser/autofill_driver.h" |
16 #include "components/autofill/core/browser/autofill_external_delegate.h" | 15 #include "components/autofill/core/browser/autofill_external_delegate.h" |
17 #include "components/autofill/core/browser/autofill_manager.h" | 16 #include "components/autofill/core/browser/autofill_manager.h" |
18 #include "mojo/public/cpp/bindings/binding_set.h" | 17 #include "mojo/public/cpp/bindings/binding_set.h" |
19 | 18 |
20 namespace content { | 19 namespace content { |
21 class BrowserContext; | 20 class BrowserContext; |
22 class RenderFrameHost; | 21 class RenderFrameHost; |
(...skipping 84 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
107 AutofillClient* client_; | 106 AutofillClient* client_; |
108 | 107 |
109 // AutofillManager instance via which this object drives the shared Autofill | 108 // AutofillManager instance via which this object drives the shared Autofill |
110 // code. | 109 // code. |
111 std::unique_ptr<AutofillManager> autofill_manager_; | 110 std::unique_ptr<AutofillManager> autofill_manager_; |
112 | 111 |
113 // AutofillExternalDelegate instance that this object instantiates in the | 112 // AutofillExternalDelegate instance that this object instantiates in the |
114 // case where the Autofill native UI is enabled. | 113 // case where the Autofill native UI is enabled. |
115 AutofillExternalDelegate autofill_external_delegate_; | 114 AutofillExternalDelegate autofill_external_delegate_; |
116 | 115 |
117 // Driver for the interactive autocomplete dialog. | |
118 RequestAutocompleteManager request_autocomplete_manager_; | |
119 | |
120 mojo::BindingSet<mojom::AutofillDriver> bindings_; | 116 mojo::BindingSet<mojom::AutofillDriver> bindings_; |
121 | 117 |
122 mojom::AutofillAgentPtr mojo_autofill_agent_; | 118 mojom::AutofillAgentPtr mojo_autofill_agent_; |
123 }; | 119 }; |
124 | 120 |
125 } // namespace autofill | 121 } // namespace autofill |
126 | 122 |
127 #endif // COMPONENTS_AUTOFILL_CONTENT_BROWSER_CONTENT_AUTOFILL_DRIVER_H_ | 123 #endif // COMPONENTS_AUTOFILL_CONTENT_BROWSER_CONTENT_AUTOFILL_DRIVER_H_ |
OLD | NEW |