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

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

Issue 2971783002: Skeleton for showing "Show all saved passwords row" for Linux/CrOs/Windows platforms (Closed)
Patch Set: . Created 3 years, 4 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 69 matching lines...) Expand 10 before | Expand all | Expand 10 after
80 const std::vector<base::string16>& labels) override; 80 const std::vector<base::string16>& labels) override;
81 void HideAutofillPopup() override; 81 void HideAutofillPopup() override;
82 bool IsAutocompleteEnabled() override; 82 bool IsAutocompleteEnabled() override;
83 void PropagateAutofillPredictions( 83 void PropagateAutofillPredictions(
84 content::RenderFrameHost* rfh, 84 content::RenderFrameHost* rfh,
85 const std::vector<autofill::FormStructure*>& forms) override; 85 const std::vector<autofill::FormStructure*>& forms) override;
86 void DidFillOrPreviewField(const base::string16& autofilled_value, 86 void DidFillOrPreviewField(const base::string16& autofilled_value,
87 const base::string16& profile_full_name) override; 87 const base::string16& profile_full_name) override;
88 bool IsContextSecure() override; 88 bool IsContextSecure() override;
89 bool ShouldShowSigninPromo() override; 89 bool ShouldShowSigninPromo() override;
90 void StartSigninFlow() override;
91 void ShowHttpNotSecureExplanation() override;
92 bool IsAutofillSupported() override; 90 bool IsAutofillSupported() override;
91 void ExecuteCommand(int id) override;
93 92
94 // content::WebContentsObserver implementation. 93 // content::WebContentsObserver implementation.
95 void MainFrameWasResized(bool width_changed) override; 94 void MainFrameWasResized(bool width_changed) override;
96 void WebContentsDestroyed() override; 95 void WebContentsDestroyed() override;
97 // Hide autofill popup if an interstitial is shown. 96 // Hide autofill popup if an interstitial is shown.
98 void DidAttachInterstitialPage() override; 97 void DidAttachInterstitialPage() override;
99 98
100 #if !defined(OS_ANDROID) 99 #if !defined(OS_ANDROID)
101 // ZoomObserver implementation. 100 // ZoomObserver implementation.
102 void OnZoomChanged( 101 void OnZoomChanged(
103 const zoom::ZoomController::ZoomChangedEventData& data) override; 102 const zoom::ZoomController::ZoomChangedEventData& data) override;
104 #endif // !defined(OS_ANDROID) 103 #endif // !defined(OS_ANDROID)
105 104
106 private: 105 private:
107 explicit ChromeAutofillClient(content::WebContents* web_contents); 106 explicit ChromeAutofillClient(content::WebContents* web_contents);
108 friend class content::WebContentsUserData<ChromeAutofillClient>; 107 friend class content::WebContentsUserData<ChromeAutofillClient>;
109 108
109 void ShowHttpNotSecureExplanation();
110
110 base::WeakPtr<AutofillPopupControllerImpl> popup_controller_; 111 base::WeakPtr<AutofillPopupControllerImpl> popup_controller_;
111 CardUnmaskPromptControllerImpl unmask_controller_; 112 CardUnmaskPromptControllerImpl unmask_controller_;
112 113
113 // The identity provider, used for Payments integration. 114 // The identity provider, used for Payments integration.
114 std::unique_ptr<IdentityProvider> identity_provider_; 115 std::unique_ptr<IdentityProvider> identity_provider_;
115 116
116 DISALLOW_COPY_AND_ASSIGN(ChromeAutofillClient); 117 DISALLOW_COPY_AND_ASSIGN(ChromeAutofillClient);
117 }; 118 };
118 119
119 } // namespace autofill 120 } // namespace autofill
120 121
121 #endif // CHROME_BROWSER_UI_AUTOFILL_CHROME_AUTOFILL_CLIENT_H_ 122 #endif // CHROME_BROWSER_UI_AUTOFILL_CHROME_AUTOFILL_CLIENT_H_
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698