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

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, 5 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 72 matching lines...) Expand 10 before | Expand all | Expand 10 after
83 bool IsAutocompleteEnabled() override; 83 bool IsAutocompleteEnabled() override;
84 void PropagateAutofillPredictions( 84 void PropagateAutofillPredictions(
85 content::RenderFrameHost* rfh, 85 content::RenderFrameHost* rfh,
86 const std::vector<autofill::FormStructure*>& forms) override; 86 const std::vector<autofill::FormStructure*>& forms) override;
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 bool ExecuteCommand(int id) override;
93 94
94 // content::WebContentsObserver implementation. 95 // content::WebContentsObserver implementation.
95 void MainFrameWasResized(bool width_changed) override; 96 void MainFrameWasResized(bool width_changed) override;
96 void WebContentsDestroyed() override; 97 void WebContentsDestroyed() override;
97 // Hide autofill popup if an interstitial is shown. 98 // Hide autofill popup if an interstitial is shown.
98 void DidAttachInterstitialPage() override; 99 void DidAttachInterstitialPage() override;
99 100
100 #if !defined(OS_ANDROID) 101 #if !defined(OS_ANDROID)
101 // ZoomObserver implementation. 102 // ZoomObserver implementation.
102 void OnZoomChanged( 103 void OnZoomChanged(
103 const zoom::ZoomController::ZoomChangedEventData& data) override; 104 const zoom::ZoomController::ZoomChangedEventData& data) override;
104 #endif // !defined(OS_ANDROID) 105 #endif // !defined(OS_ANDROID)
105 106
106 private: 107 private:
107 explicit ChromeAutofillClient(content::WebContents* web_contents); 108 explicit ChromeAutofillClient(content::WebContents* web_contents);
108 friend class content::WebContentsUserData<ChromeAutofillClient>; 109 friend class content::WebContentsUserData<ChromeAutofillClient>;
109 110
111 void ShowPasswordsSettingsPage();
112
110 base::WeakPtr<AutofillPopupControllerImpl> popup_controller_; 113 base::WeakPtr<AutofillPopupControllerImpl> popup_controller_;
111 CardUnmaskPromptControllerImpl unmask_controller_; 114 CardUnmaskPromptControllerImpl unmask_controller_;
112 115
113 // The identity provider, used for Payments integration. 116 // The identity provider, used for Payments integration.
114 std::unique_ptr<IdentityProvider> identity_provider_; 117 std::unique_ptr<IdentityProvider> identity_provider_;
115 118
116 DISALLOW_COPY_AND_ASSIGN(ChromeAutofillClient); 119 DISALLOW_COPY_AND_ASSIGN(ChromeAutofillClient);
117 }; 120 };
118 121
119 } // namespace autofill 122 } // namespace autofill
120 123
121 #endif // CHROME_BROWSER_UI_AUTOFILL_CHROME_AUTOFILL_CLIENT_H_ 124 #endif // CHROME_BROWSER_UI_AUTOFILL_CHROME_AUTOFILL_CLIENT_H_
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698