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

Side by Side Diff: components/autofill/core/browser/autofill_client.h

Issue 2505533002: Http Bad: Add "Learn more" sublabel to warning message and make it clickable (Closed)
Patch Set: 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 COMPONENTS_AUTOFILL_CORE_BROWSER_AUTOFILL_CLIENT_H_ 5 #ifndef COMPONENTS_AUTOFILL_CORE_BROWSER_AUTOFILL_CLIENT_H_
6 #define COMPONENTS_AUTOFILL_CORE_BROWSER_AUTOFILL_CLIENT_H_ 6 #define COMPONENTS_AUTOFILL_CORE_BROWSER_AUTOFILL_CLIENT_H_
7 7
8 #include <memory> 8 #include <memory>
9 #include <string> 9 #include <string>
10 #include <vector> 10 #include <vector>
(...skipping 173 matching lines...) Expand 10 before | Expand all | Expand 10 after
184 184
185 // If the context is secure. 185 // If the context is secure.
186 virtual bool IsContextSecure(const GURL& form_origin) = 0; 186 virtual bool IsContextSecure(const GURL& form_origin) = 0;
187 187
188 // Whether it is appropriate to show a signin promo for this user. 188 // Whether it is appropriate to show a signin promo for this user.
189 virtual bool ShouldShowSigninPromo() = 0; 189 virtual bool ShouldShowSigninPromo() = 0;
190 190
191 // Starts the signin flow. Should not be called if ShouldShowSigninPromo() 191 // Starts the signin flow. Should not be called if ShouldShowSigninPromo()
192 // returns false. 192 // returns false.
193 virtual void StartSigninFlow() = 0; 193 virtual void StartSigninFlow() = 0;
194
195 // Opens url in a new tab.
196 virtual void OpenUrl(const GURL& url) = 0;
194 }; 197 };
195 198
196 } // namespace autofill 199 } // namespace autofill
197 200
198 #endif // COMPONENTS_AUTOFILL_CORE_BROWSER_AUTOFILL_CLIENT_H_ 201 #endif // COMPONENTS_AUTOFILL_CORE_BROWSER_AUTOFILL_CLIENT_H_
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698