Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(2545)

Unified Diff: chrome/browser/ui/autofill/chrome_autofill_client.h

Issue 1931043002: Remove requestAutocomplete (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: rebase Created 4 years, 7 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
Index: chrome/browser/ui/autofill/chrome_autofill_client.h
diff --git a/chrome/browser/ui/autofill/chrome_autofill_client.h b/chrome/browser/ui/autofill/chrome_autofill_client.h
index 09d025f123cacbef96338ca0b314166eb300ad2a..3345dbd6043c2f87d82cc529f0d1baaf6ab88c3f 100644
--- a/chrome/browser/ui/autofill/chrome_autofill_client.h
+++ b/chrome/browser/ui/autofill/chrome_autofill_client.h
@@ -27,7 +27,6 @@ class WebContents;
namespace autofill {
-class AutofillDialogController;
class AutofillPopupControllerImpl;
class CreditCardScannerController;
struct FormData;
@@ -41,9 +40,6 @@ class ChromeAutofillClient
public:
~ChromeAutofillClient() override;
- // Called when the tab corresponding to |this| instance is activated.
- void TabActivated();
-
// AutofillClient:
PersonalDataManager* GetPersonalDataManager() override;
scoped_refptr<AutofillWebDataService> GetDatabase() override;
@@ -51,7 +47,6 @@ class ChromeAutofillClient
sync_driver::SyncService* GetSyncService() override;
IdentityProvider* GetIdentityProvider() override;
rappor::RapporService* GetRapporService() override;
- void HideRequestAutocompleteDialog() override;
void ShowAutofillSettings() override;
void ShowUnmaskPrompt(const CreditCard& card,
UnmaskCardReason reason,
@@ -67,10 +62,6 @@ class ChromeAutofillClient
const base::Callback<void(const std::string&)>& callback) override;
bool HasCreditCardScanFeature() override;
void ScanCreditCard(const CreditCardScanCallback& callback) override;
- void ShowRequestAutocompleteDialog(
- const FormData& form,
- content::RenderFrameHost* render_frame_host,
- const ResultCallback& callback) override;
void ShowAutofillPopup(
const gfx::RectF& element_bounds,
base::i18n::TextDirection text_direction,
@@ -90,11 +81,6 @@ class ChromeAutofillClient
bool IsContextSecure(const GURL& form_origin) override;
// content::WebContentsObserver implementation.
- void RenderFrameDeleted(content::RenderFrameHost* rfh) override;
- void DidNavigateAnyFrame(
- content::RenderFrameHost* render_frame_host,
- const content::LoadCommittedDetails& details,
- const content::FrameNavigateParams& params) override;
void MainFrameWasResized(bool width_changed) override;
void WebContentsDestroyed() override;
@@ -102,26 +88,13 @@ class ChromeAutofillClient
void OnZoomChanged(
const ui_zoom::ZoomController::ZoomChangedEventData& data) override;
- // Exposed for testing.
- AutofillDialogController* GetDialogControllerForTesting() {
- return dialog_controller_.get();
- }
- void SetDialogControllerForTesting(
- const base::WeakPtr<AutofillDialogController>& dialog_controller) {
- dialog_controller_ = dialog_controller;
- }
-
private:
explicit ChromeAutofillClient(content::WebContents* web_contents);
friend class content::WebContentsUserData<ChromeAutofillClient>;
- base::WeakPtr<AutofillDialogController> dialog_controller_;
base::WeakPtr<AutofillPopupControllerImpl> popup_controller_;
CardUnmaskPromptControllerImpl unmask_controller_;
- // The last render frame that called requestAutocomplete.
- content::RenderFrameHost* last_rfh_to_rac_;
-
// The identity provider, used for Payments integration.
std::unique_ptr<IdentityProvider> identity_provider_;
« no previous file with comments | « chrome/browser/ui/autofill/autofill_dialog_view_tester.h ('k') | chrome/browser/ui/autofill/chrome_autofill_client.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698