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

Side by Side Diff: chrome/browser/ui/autofill/chrome_autofill_client.h

Issue 2905343002: Show interstitial on a password on focus ping with PHISHING verdict. (Closed)
Patch Set: nit Created 3 years, 6 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 unified diff | Download patch
OLDNEW
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>
(...skipping 76 matching lines...) Expand 10 before | Expand all | Expand 10 after
87 void DidFillOrPreviewField(const base::string16& autofilled_value, 87 void DidFillOrPreviewField(const base::string16& autofilled_value,
88 const base::string16& profile_full_name) override; 88 const base::string16& profile_full_name) override;
89 bool IsContextSecure() override; 89 bool IsContextSecure() override;
90 bool ShouldShowSigninPromo() override; 90 bool ShouldShowSigninPromo() override;
91 void StartSigninFlow() override; 91 void StartSigninFlow() override;
92 void ShowHttpNotSecureExplanation() override; 92 void ShowHttpNotSecureExplanation() override;
93 93
94 // content::WebContentsObserver implementation. 94 // content::WebContentsObserver implementation.
95 void MainFrameWasResized(bool width_changed) override; 95 void MainFrameWasResized(bool width_changed) override;
96 void WebContentsDestroyed() override; 96 void WebContentsDestroyed() override;
97 // Hide autofill popup if an interstitial is shown.
98 void DidAttachInterstitialPage() override;
97 99
98 #if !defined(OS_ANDROID) 100 #if !defined(OS_ANDROID)
99 // ZoomObserver implementation. 101 // ZoomObserver implementation.
100 void OnZoomChanged( 102 void OnZoomChanged(
101 const zoom::ZoomController::ZoomChangedEventData& data) override; 103 const zoom::ZoomController::ZoomChangedEventData& data) override;
102 #endif // !defined(OS_ANDROID) 104 #endif // !defined(OS_ANDROID)
103 105
104 private: 106 private:
105 explicit ChromeAutofillClient(content::WebContents* web_contents); 107 explicit ChromeAutofillClient(content::WebContents* web_contents);
106 friend class content::WebContentsUserData<ChromeAutofillClient>; 108 friend class content::WebContentsUserData<ChromeAutofillClient>;
107 109
108 base::WeakPtr<AutofillPopupControllerImpl> popup_controller_; 110 base::WeakPtr<AutofillPopupControllerImpl> popup_controller_;
109 CardUnmaskPromptControllerImpl unmask_controller_; 111 CardUnmaskPromptControllerImpl unmask_controller_;
110 112
111 // The identity provider, used for Payments integration. 113 // The identity provider, used for Payments integration.
112 std::unique_ptr<IdentityProvider> identity_provider_; 114 std::unique_ptr<IdentityProvider> identity_provider_;
113 115
114 DISALLOW_COPY_AND_ASSIGN(ChromeAutofillClient); 116 DISALLOW_COPY_AND_ASSIGN(ChromeAutofillClient);
115 }; 117 };
116 118
117 } // namespace autofill 119 } // namespace autofill
118 120
119 #endif // CHROME_BROWSER_UI_AUTOFILL_CHROME_AUTOFILL_CLIENT_H_ 121 #endif // CHROME_BROWSER_UI_AUTOFILL_CHROME_AUTOFILL_CLIENT_H_
OLDNEW
« no previous file with comments | « chrome/browser/ssl/security_state_tab_helper.cc ('k') | chrome/browser/ui/autofill/chrome_autofill_client.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698