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

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

Issue 2505533002: Http Bad: Add "Learn more" sublabel to warning message and make it clickable (Closed)
Patch Set: rebase Created 4 years 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 62 matching lines...) Expand 10 before | Expand all | Expand 10 after
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(const GURL& form_origin) override;
81 bool ShouldShowSigninPromo() override; 81 bool ShouldShowSigninPromo() override;
82 void StartSigninFlow() override; 82 void StartSigninFlow() override;
83 void ShowHttpNotSecureExplanation() override;
83 84
84 // content::WebContentsObserver implementation. 85 // content::WebContentsObserver implementation.
85 void MainFrameWasResized(bool width_changed) override; 86 void MainFrameWasResized(bool width_changed) override;
86 void WebContentsDestroyed() override; 87 void WebContentsDestroyed() override;
87 88
88 // ZoomObserver implementation. 89 // ZoomObserver implementation.
89 void OnZoomChanged( 90 void OnZoomChanged(
90 const zoom::ZoomController::ZoomChangedEventData& data) override; 91 const zoom::ZoomController::ZoomChangedEventData& data) override;
91 92
92 private: 93 private:
93 explicit ChromeAutofillClient(content::WebContents* web_contents); 94 explicit ChromeAutofillClient(content::WebContents* web_contents);
94 friend class content::WebContentsUserData<ChromeAutofillClient>; 95 friend class content::WebContentsUserData<ChromeAutofillClient>;
95 96
96 base::WeakPtr<AutofillPopupControllerImpl> popup_controller_; 97 base::WeakPtr<AutofillPopupControllerImpl> popup_controller_;
97 CardUnmaskPromptControllerImpl unmask_controller_; 98 CardUnmaskPromptControllerImpl unmask_controller_;
98 99
99 // The identity provider, used for Payments integration. 100 // The identity provider, used for Payments integration.
100 std::unique_ptr<IdentityProvider> identity_provider_; 101 std::unique_ptr<IdentityProvider> identity_provider_;
101 102
102 DISALLOW_COPY_AND_ASSIGN(ChromeAutofillClient); 103 DISALLOW_COPY_AND_ASSIGN(ChromeAutofillClient);
103 }; 104 };
104 105
105 } // namespace autofill 106 } // namespace autofill
106 107
107 #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 | « chrome/browser/ui/autofill/autofill_popup_controller_impl.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