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

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

Issue 2672623005: Record Autofill form events specially for nonsecure pages (Closed)
Patch Set: fix test added in rebase Created 3 years, 10 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 59 matching lines...) Expand 10 before | Expand all | Expand 10 after
70 const std::vector<base::string16>& values, 70 const std::vector<base::string16>& values,
71 const std::vector<base::string16>& labels) override; 71 const std::vector<base::string16>& labels) override;
72 void HideAutofillPopup() override; 72 void HideAutofillPopup() override;
73 bool IsAutocompleteEnabled() override; 73 bool IsAutocompleteEnabled() override;
74 void PropagateAutofillPredictions( 74 void PropagateAutofillPredictions(
75 content::RenderFrameHost* rfh, 75 content::RenderFrameHost* rfh,
76 const std::vector<autofill::FormStructure*>& forms) override; 76 const std::vector<autofill::FormStructure*>& forms) override;
77 void DidFillOrPreviewField(const base::string16& autofilled_value, 77 void DidFillOrPreviewField(const base::string16& autofilled_value,
78 const base::string16& profile_full_name) override; 78 const base::string16& profile_full_name) override;
79 void OnFirstUserGestureObserved() override; 79 void OnFirstUserGestureObserved() override;
80 bool IsContextSecure(const GURL& form_origin) override; 80 bool IsContextSecure() override;
81 bool ShouldShowSigninPromo() override; 81 bool ShouldShowSigninPromo() override;
82 void StartSigninFlow() override; 82 void StartSigninFlow() override;
83 void ShowHttpNotSecureExplanation() override; 83 void ShowHttpNotSecureExplanation() override;
84 84
85 // content::WebContentsObserver implementation. 85 // content::WebContentsObserver implementation.
86 void MainFrameWasResized(bool width_changed) override; 86 void MainFrameWasResized(bool width_changed) override;
87 void WebContentsDestroyed() override; 87 void WebContentsDestroyed() override;
88 88
89 // ZoomObserver implementation. 89 // ZoomObserver implementation.
90 void OnZoomChanged( 90 void OnZoomChanged(
91 const zoom::ZoomController::ZoomChangedEventData& data) override; 91 const zoom::ZoomController::ZoomChangedEventData& data) override;
92 92
93 private: 93 private:
94 explicit ChromeAutofillClient(content::WebContents* web_contents); 94 explicit ChromeAutofillClient(content::WebContents* web_contents);
95 friend class content::WebContentsUserData<ChromeAutofillClient>; 95 friend class content::WebContentsUserData<ChromeAutofillClient>;
96 96
97 base::WeakPtr<AutofillPopupControllerImpl> popup_controller_; 97 base::WeakPtr<AutofillPopupControllerImpl> popup_controller_;
98 CardUnmaskPromptControllerImpl unmask_controller_; 98 CardUnmaskPromptControllerImpl unmask_controller_;
99 99
100 // The identity provider, used for Payments integration. 100 // The identity provider, used for Payments integration.
101 std::unique_ptr<IdentityProvider> identity_provider_; 101 std::unique_ptr<IdentityProvider> identity_provider_;
102 102
103 DISALLOW_COPY_AND_ASSIGN(ChromeAutofillClient); 103 DISALLOW_COPY_AND_ASSIGN(ChromeAutofillClient);
104 }; 104 };
105 105
106 } // namespace autofill 106 } // namespace autofill
107 107
108 #endif // CHROME_BROWSER_UI_AUTOFILL_CHROME_AUTOFILL_CLIENT_H_ 108 #endif // CHROME_BROWSER_UI_AUTOFILL_CHROME_AUTOFILL_CLIENT_H_
OLDNEW
« no previous file with comments | « android_webview/native/aw_autofill_client.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