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/core/browser/autofill_external_delegate.h" | 5 #include "components/autofill/core/browser/autofill_external_delegate.h" |
6 | 6 |
7 #include "base/strings/utf_string_conversions.h" | 7 #include "base/strings/utf_string_conversions.h" |
8 #include "components/autofill/core/browser/autocomplete_history_manager.h" | 8 #include "components/autofill/core/browser/autocomplete_history_manager.h" |
9 #include "components/autofill/core/browser/autofill_driver.h" | 9 #include "components/autofill/core/browser/autofill_driver.h" |
10 #include "components/autofill/core/browser/autofill_manager.h" | 10 #include "components/autofill/core/browser/autofill_manager.h" |
11 #include "components/autofill/core/common/autofill_messages.h" | 11 #include "components/autofill/core/common/autofill_messages.h" |
12 #include "content/public/browser/render_view_host.h" | 12 #include "content/public/browser/render_view_host.h" |
13 #include "content/public/browser/web_contents.h" | 13 #include "content/public/browser/web_contents.h" |
14 #include "grit/component_strings.h" | 14 #include "grit/component_strings.h" |
15 #include "third_party/WebKit/public/web/WebAutofillClient.h" | 15 #include "third_party/WebKit/public/web/WebAutofillClient.h" |
16 #include "ui/base/l10n/l10n_util.h" | 16 #include "ui/base/l10n/l10n_util.h" |
17 | 17 |
18 using content::RenderViewHost; | 18 using content::RenderViewHost; |
19 using WebKit::WebAutofillClient; | 19 using blink::WebAutofillClient; |
20 | 20 |
21 namespace autofill { | 21 namespace autofill { |
22 | 22 |
23 AutofillExternalDelegate::AutofillExternalDelegate( | 23 AutofillExternalDelegate::AutofillExternalDelegate( |
24 content::WebContents* web_contents, | 24 content::WebContents* web_contents, |
25 AutofillManager* autofill_manager, | 25 AutofillManager* autofill_manager, |
26 AutofillDriver* autofill_driver) | 26 AutofillDriver* autofill_driver) |
27 : web_contents_(web_contents), | 27 : web_contents_(web_contents), |
28 autofill_manager_(autofill_manager), | 28 autofill_manager_(autofill_manager), |
29 autofill_driver_(autofill_driver), | 29 autofill_driver_(autofill_driver), |
(...skipping 328 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
358 // Set the values that all datalist elements share. | 358 // Set the values that all datalist elements share. |
359 autofill_icons->insert(autofill_icons->begin(), | 359 autofill_icons->insert(autofill_icons->begin(), |
360 data_list_values_.size(), | 360 data_list_values_.size(), |
361 base::string16()); | 361 base::string16()); |
362 autofill_unique_ids->insert(autofill_unique_ids->begin(), | 362 autofill_unique_ids->insert(autofill_unique_ids->begin(), |
363 data_list_values_.size(), | 363 data_list_values_.size(), |
364 WebAutofillClient::MenuItemIDDataListEntry); | 364 WebAutofillClient::MenuItemIDDataListEntry); |
365 } | 365 } |
366 | 366 |
367 } // namespace autofill | 367 } // namespace autofill |
OLD | NEW |