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

Unified Diff: components/toolbar/toolbar_model_impl.cc

Issue 2329153002: Remove the WARNING security level.
Patch Set: Restore top control test for sub.originalwebsite.com (but with ERROR instead of WARNING). Created 4 years, 3 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 side-by-side diff with in-line comments
Download patch
Index: components/toolbar/toolbar_model_impl.cc
diff --git a/components/toolbar/toolbar_model_impl.cc b/components/toolbar/toolbar_model_impl.cc
index 47388f7889c05a85e65156d58df6e8ebffb71e34..92724471c1d381f5bb4c4a738facb5fb2ec775ff 100644
--- a/components/toolbar/toolbar_model_impl.cc
+++ b/components/toolbar/toolbar_model_impl.cc
@@ -77,9 +77,6 @@ int ToolbarModelImpl::GetIcon() const {
case SecurityStateModel::EV_SECURE:
case SecurityStateModel::SECURE:
return IDR_OMNIBOX_HTTPS_VALID;
- case SecurityStateModel::SECURITY_WARNING:
- // Surface Dubious as Neutral.
- return IDR_LOCATION_BAR_HTTP;
case SecurityStateModel::SECURITY_POLICY_WARNING:
return IDR_OMNIBOX_HTTPS_POLICY_WARNING;
case SecurityStateModel::SECURITY_ERROR:
@@ -98,9 +95,6 @@ gfx::VectorIconId ToolbarModelImpl::GetVectorIcon() const {
case SecurityStateModel::EV_SECURE:
case SecurityStateModel::SECURE:
return gfx::VectorIconId::LOCATION_BAR_HTTPS_VALID;
- case SecurityStateModel::SECURITY_WARNING:
- // Surface Dubious as Neutral.
- return gfx::VectorIconId::LOCATION_BAR_HTTP;
case SecurityStateModel::SECURITY_POLICY_WARNING:
return gfx::VectorIconId::BUSINESS;
case SecurityStateModel::SECURITY_ERROR:
« no previous file with comments | « components/security_state/security_state_model.cc ('k') | content/browser/devtools/protocol/security_handler.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698