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/browser/request_autocomplete_manager.h" | 5 #include "components/autofill/content/browser/request_autocomplete_manager.h" |
6 | 6 |
7 #include "components/autofill/content/browser/autofill_driver_impl.h" | 7 #include "components/autofill/content/browser/autofill_driver_impl.h" |
| 8 #include "components/autofill/content/common/autofill_messages.h" |
8 #include "components/autofill/core/browser/form_structure.h" | 9 #include "components/autofill/core/browser/form_structure.h" |
9 #include "components/autofill/core/common/autofill_messages.h" | |
10 #include "components/autofill/core/common/form_data.h" | 10 #include "components/autofill/core/common/form_data.h" |
11 #include "content/public/browser/render_view_host.h" | 11 #include "content/public/browser/render_view_host.h" |
12 #include "content/public/browser/web_contents.h" | 12 #include "content/public/browser/web_contents.h" |
13 #include "url/gurl.h" | 13 #include "url/gurl.h" |
14 | 14 |
15 namespace autofill { | 15 namespace autofill { |
16 | 16 |
17 RequestAutocompleteManager::RequestAutocompleteManager( | 17 RequestAutocompleteManager::RequestAutocompleteManager( |
18 AutofillDriverImpl* autofill_driver) | 18 AutofillDriverImpl* autofill_driver) |
19 : autofill_driver_(autofill_driver), | 19 : autofill_driver_(autofill_driver), |
(...skipping 51 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
71 void RequestAutocompleteManager::ShowRequestAutocompleteDialog( | 71 void RequestAutocompleteManager::ShowRequestAutocompleteDialog( |
72 const FormData& form, | 72 const FormData& form, |
73 const GURL& source_url, | 73 const GURL& source_url, |
74 const base::Callback<void(const FormStructure*)>& callback) { | 74 const base::Callback<void(const FormStructure*)>& callback) { |
75 AutofillManagerDelegate* delegate = | 75 AutofillManagerDelegate* delegate = |
76 autofill_driver_->autofill_manager()->delegate(); | 76 autofill_driver_->autofill_manager()->delegate(); |
77 delegate->ShowRequestAutocompleteDialog(form, source_url, callback); | 77 delegate->ShowRequestAutocompleteDialog(form, source_url, callback); |
78 } | 78 } |
79 | 79 |
80 } // namespace autofill | 80 } // namespace autofill |
OLD | NEW |