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

Unified Diff: chrome/browser/ui/autofill/autofill_popup_controller.h

Issue 2478043002: HTTP Bad: Add warning message to autofill dropdown for http sites (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 side-by-side diff with in-line comments
Download patch
Index: chrome/browser/ui/autofill/autofill_popup_controller.h
diff --git a/chrome/browser/ui/autofill/autofill_popup_controller.h b/chrome/browser/ui/autofill/autofill_popup_controller.h
index 53a729245a1cde659304023a8969dd683404cf25..26845f2d75a45540914ee1ff0821150acddacb9d 100644
--- a/chrome/browser/ui/autofill/autofill_popup_controller.h
+++ b/chrome/browser/ui/autofill/autofill_popup_controller.h
@@ -65,6 +65,10 @@ class AutofillPopupController : public AutofillPopupViewDelegate {
virtual const AutofillPopupLayoutModel& layout_model() const = 0;
+ // Returns false for http sites in which case autofill popup will show "login
+ // not secure" warning message.
+ virtual bool IsTopLevelURLSecure() const = 0;
+
protected:
~AutofillPopupController() override {}
};

Powered by Google App Engine
This is Rietveld 408576698