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

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

Issue 2478043002: HTTP Bad: Add warning message to autofill dropdown for http sites (Closed)
Patch Set: add test to AutofillManagerTest Created 4 years, 1 month 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 64 matching lines...) Expand 10 before | Expand all | Expand 10 after
75 const std::vector<base::string16>& labels) override; 75 const std::vector<base::string16>& labels) override;
76 void HideAutofillPopup() override; 76 void HideAutofillPopup() override;
77 bool IsAutocompleteEnabled() override; 77 bool IsAutocompleteEnabled() override;
78 void PropagateAutofillPredictions( 78 void PropagateAutofillPredictions(
79 content::RenderFrameHost* rfh, 79 content::RenderFrameHost* rfh,
80 const std::vector<autofill::FormStructure*>& forms) override; 80 const std::vector<autofill::FormStructure*>& forms) override;
81 void DidFillOrPreviewField(const base::string16& autofilled_value, 81 void DidFillOrPreviewField(const base::string16& autofilled_value,
82 const base::string16& profile_full_name) override; 82 const base::string16& profile_full_name) override;
83 void OnFirstUserGestureObserved() override; 83 void OnFirstUserGestureObserved() override;
84 bool IsContextSecure(const GURL& form_origin) override; 84 bool IsContextSecure(const GURL& form_origin) override;
85 bool IsTopLevelURLSecure() override;
85 bool ShouldShowSigninPromo() override; 86 bool ShouldShowSigninPromo() override;
86 void StartSigninFlow() override; 87 void StartSigninFlow() override;
87 88
88 // content::WebContentsObserver implementation. 89 // content::WebContentsObserver implementation.
89 void MainFrameWasResized(bool width_changed) override; 90 void MainFrameWasResized(bool width_changed) override;
90 void WebContentsDestroyed() override; 91 void WebContentsDestroyed() override;
91 92
92 // ZoomObserver implementation. 93 // ZoomObserver implementation.
93 void OnZoomChanged( 94 void OnZoomChanged(
94 const zoom::ZoomController::ZoomChangedEventData& data) override; 95 const zoom::ZoomController::ZoomChangedEventData& data) override;
95 96
96 private: 97 private:
97 explicit ChromeAutofillClient(content::WebContents* web_contents); 98 explicit ChromeAutofillClient(content::WebContents* web_contents);
98 friend class content::WebContentsUserData<ChromeAutofillClient>; 99 friend class content::WebContentsUserData<ChromeAutofillClient>;
99 100
100 base::WeakPtr<AutofillPopupControllerImpl> popup_controller_; 101 base::WeakPtr<AutofillPopupControllerImpl> popup_controller_;
101 CardUnmaskPromptControllerImpl unmask_controller_; 102 CardUnmaskPromptControllerImpl unmask_controller_;
102 103
103 // The identity provider, used for Payments integration. 104 // The identity provider, used for Payments integration.
104 std::unique_ptr<IdentityProvider> identity_provider_; 105 std::unique_ptr<IdentityProvider> identity_provider_;
105 106
106 DISALLOW_COPY_AND_ASSIGN(ChromeAutofillClient); 107 DISALLOW_COPY_AND_ASSIGN(ChromeAutofillClient);
107 }; 108 };
108 109
109 } // namespace autofill 110 } // namespace autofill
110 111
111 #endif // CHROME_BROWSER_UI_AUTOFILL_CHROME_AUTOFILL_CLIENT_H_ 112 #endif // CHROME_BROWSER_UI_AUTOFILL_CHROME_AUTOFILL_CLIENT_H_
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698