[ExpandablePaymentHandler] Improve Security Icon
Before change: * Security icon is not updated on new navigation until visible security state has changed. * if Connection Security Level is NONE, set an omnibox_info icon * if Connection Security Level is WARNING, set omnibox_info icon After change: * Security icon is cleared once PH page starts new navigation. * if Connection Security Level is NONE and the device has a small screen, set an empty icon * if Connection Security Level is WARNING, whether to show a "not secure" icon or an "info" icon depends on SecurityStateModel.shouldShowDangerTriangleForWarningLevel(). Change: Remove the custom Security Level-Icon mapping logic; replace it with SecurityStatusIcon.getSecurityIconResource() which is used by the browser toolbar. Bug: 1052133 Change-Id: I5347e1040cd2ceae99192977dc41e2d089a4e27e Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/2058910Reviewed-by:Rouslan Solomakhin <rouslan@chromium.org> Commit-Queue: Liquan (Max) Gu <maxlg@chromium.org> Cr-Commit-Position: refs/heads/master@{#742839}
Showing
Please register or sign in to comment