| 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 CHROME_BROWSER_UI_AUTOFILL_CHROME_AUTOFILL_CLIENT_H_ | 5 #ifndef CHROME_BROWSER_UI_AUTOFILL_CHROME_AUTOFILL_CLIENT_H_ |
| 6 #define CHROME_BROWSER_UI_AUTOFILL_CHROME_AUTOFILL_CLIENT_H_ | 6 #define CHROME_BROWSER_UI_AUTOFILL_CHROME_AUTOFILL_CLIENT_H_ |
| 7 | 7 |
| 8 #include <memory> | 8 #include <memory> |
| 9 #include <string> | 9 #include <string> |
| 10 #include <vector> | 10 #include <vector> |
| 11 | 11 |
| 12 #include "base/callback.h" | 12 #include "base/callback.h" |
| 13 #include "base/compiler_specific.h" | 13 #include "base/compiler_specific.h" |
| 14 #include "base/i18n/rtl.h" | 14 #include "base/i18n/rtl.h" |
| 15 #include "base/macros.h" | 15 #include "base/macros.h" |
| 16 #include "base/memory/weak_ptr.h" | 16 #include "base/memory/weak_ptr.h" |
| 17 #include "components/autofill/core/browser/autofill_client.h" | 17 #include "components/autofill/core/browser/autofill_client.h" |
| 18 #include "components/autofill/core/browser/ui/card_unmask_prompt_controller_impl
.h" | 18 #include "components/autofill/core/browser/ui/card_unmask_prompt_controller_impl
.h" |
| 19 #include "components/zoom/zoom_observer.h" | 19 #include "components/zoom/zoom_observer.h" |
| 20 #include "content/public/browser/web_contents_observer.h" | 20 #include "content/public/browser/web_contents_observer.h" |
| 21 #include "content/public/browser/web_contents_user_data.h" | 21 #include "content/public/browser/web_contents_user_data.h" |
| 22 | 22 |
| 23 namespace content { | 23 namespace content { |
| 24 struct FrameNavigateParams; | |
| 25 struct LoadCommittedDetails; | |
| 26 class WebContents; | 24 class WebContents; |
| 27 } | 25 } |
| 28 | 26 |
| 29 namespace autofill { | 27 namespace autofill { |
| 30 | 28 |
| 31 class AutofillPopupControllerImpl; | 29 class AutofillPopupControllerImpl; |
| 32 class CreditCardScannerController; | |
| 33 struct FormData; | |
| 34 | 30 |
| 35 // Chrome implementation of AutofillClient. | 31 // Chrome implementation of AutofillClient. |
| 36 class ChromeAutofillClient | 32 class ChromeAutofillClient |
| 37 : public AutofillClient, | 33 : public AutofillClient, |
| 38 public content::WebContentsUserData<ChromeAutofillClient>, | 34 public content::WebContentsUserData<ChromeAutofillClient>, |
| 39 public content::WebContentsObserver, | 35 public content::WebContentsObserver, |
| 40 public zoom::ZoomObserver { | 36 public zoom::ZoomObserver { |
| 41 public: | 37 public: |
| 42 ~ChromeAutofillClient() override; | 38 ~ChromeAutofillClient() override; |
| 43 | 39 |
| (...skipping 58 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 102 | 98 |
| 103 // The identity provider, used for Payments integration. | 99 // The identity provider, used for Payments integration. |
| 104 std::unique_ptr<IdentityProvider> identity_provider_; | 100 std::unique_ptr<IdentityProvider> identity_provider_; |
| 105 | 101 |
| 106 DISALLOW_COPY_AND_ASSIGN(ChromeAutofillClient); | 102 DISALLOW_COPY_AND_ASSIGN(ChromeAutofillClient); |
| 107 }; | 103 }; |
| 108 | 104 |
| 109 } // namespace autofill | 105 } // namespace autofill |
| 110 | 106 |
| 111 #endif // CHROME_BROWSER_UI_AUTOFILL_CHROME_AUTOFILL_CLIENT_H_ | 107 #endif // CHROME_BROWSER_UI_AUTOFILL_CHROME_AUTOFILL_CLIENT_H_ |
| OLD | NEW |