OLD | NEW |
1 // Copyright (c) 2012 The Chromium Authors. All rights reserved. | 1 // Copyright (c) 2012 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 "chrome/browser/ui/autofill/tab_autofill_manager_delegate.h" | 5 #include "chrome/browser/ui/autofill/tab_autofill_manager_delegate.h" |
6 | 6 |
7 #include "base/logging.h" | 7 #include "base/logging.h" |
8 #include "base/prefs/pref_service.h" | 8 #include "base/prefs/pref_service.h" |
9 #include "chrome/browser/api/infobars/infobar_service.h" | 9 #include "chrome/browser/api/infobars/infobar_service.h" |
10 #include "chrome/browser/autofill/autofill_cc_infobar_delegate.h" | 10 #include "chrome/browser/autofill/autofill_cc_infobar_delegate.h" |
11 #include "chrome/browser/autofill/password_generator.h" | |
12 #include "chrome/browser/autofill/personal_data_manager_factory.h" | 11 #include "chrome/browser/autofill/personal_data_manager_factory.h" |
13 #include "chrome/browser/password_manager/password_manager.h" | 12 #include "chrome/browser/password_manager/password_manager.h" |
14 #include "chrome/browser/profiles/profile.h" | 13 #include "chrome/browser/profiles/profile.h" |
15 #include "chrome/browser/sync/profile_sync_service.h" | 14 #include "chrome/browser/sync/profile_sync_service.h" |
16 #include "chrome/browser/sync/profile_sync_service_factory.h" | 15 #include "chrome/browser/sync/profile_sync_service_factory.h" |
17 #include "chrome/browser/ui/autofill/autocheckout_bubble.h" | 16 #include "chrome/browser/ui/autofill/autocheckout_bubble.h" |
18 #include "chrome/browser/ui/autofill/autofill_dialog_controller_impl.h" | 17 #include "chrome/browser/ui/autofill/autofill_dialog_controller_impl.h" |
19 #include "chrome/browser/ui/browser.h" | 18 #include "chrome/browser/ui/browser.h" |
20 #include "chrome/browser/ui/browser_finder.h" | 19 #include "chrome/browser/ui/browser_finder.h" |
21 #include "chrome/browser/ui/browser_window.h" | 20 #include "chrome/browser/ui/browser_window.h" |
22 #include "chrome/browser/ui/chrome_pages.h" | 21 #include "chrome/browser/ui/chrome_pages.h" |
23 #include "chrome/common/url_constants.h" | 22 #include "chrome/common/url_constants.h" |
| 23 #include "components/autofill/browser/password_generator.h" |
24 #include "content/public/browser/web_contents_view.h" | 24 #include "content/public/browser/web_contents_view.h" |
25 #include "content/public/common/password_form.h" | 25 #include "content/public/common/password_form.h" |
26 #include "ui/gfx/rect.h" | 26 #include "ui/gfx/rect.h" |
27 | 27 |
28 DEFINE_WEB_CONTENTS_USER_DATA_KEY(autofill::TabAutofillManagerDelegate); | 28 DEFINE_WEB_CONTENTS_USER_DATA_KEY(autofill::TabAutofillManagerDelegate); |
29 | 29 |
30 namespace autofill { | 30 namespace autofill { |
31 | 31 |
32 TabAutofillManagerDelegate::TabAutofillManagerDelegate( | 32 TabAutofillManagerDelegate::TabAutofillManagerDelegate( |
33 content::WebContents* web_contents) | 33 content::WebContents* web_contents) |
(...skipping 169 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
203 const content::LoadCommittedDetails& details, | 203 const content::LoadCommittedDetails& details, |
204 const content::FrameNavigateParams& params) { | 204 const content::FrameNavigateParams& params) { |
205 if (dialog_controller_ && | 205 if (dialog_controller_ && |
206 dialog_controller_->dialog_type() == | 206 dialog_controller_->dialog_type() == |
207 autofill::DIALOG_TYPE_REQUEST_AUTOCOMPLETE) { | 207 autofill::DIALOG_TYPE_REQUEST_AUTOCOMPLETE) { |
208 HideRequestAutocompleteDialog(); | 208 HideRequestAutocompleteDialog(); |
209 } | 209 } |
210 } | 210 } |
211 | 211 |
212 } // namespace autofill | 212 } // namespace autofill |
OLD | NEW |