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

Unified Diff: chrome/android/java/src/org/chromium/chrome/browser/omnibox/LocationBarLayout.java

Issue 2461553002: Always show (i) icon in Clank omnibox if HTTP_SHOW_WARNING is set (Closed)
Patch Set: Created 4 years, 2 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
« no previous file with comments | « no previous file | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: chrome/android/java/src/org/chromium/chrome/browser/omnibox/LocationBarLayout.java
diff --git a/chrome/android/java/src/org/chromium/chrome/browser/omnibox/LocationBarLayout.java b/chrome/android/java/src/org/chromium/chrome/browser/omnibox/LocationBarLayout.java
index ac7190a764cd658bcca88b2a11ee49e6902a1c2d..9dba6f4bef963e964bbb3c5e3ab8f3ee449fc653 100644
--- a/chrome/android/java/src/org/chromium/chrome/browser/omnibox/LocationBarLayout.java
+++ b/chrome/android/java/src/org/chromium/chrome/browser/omnibox/LocationBarLayout.java
@@ -1276,8 +1276,9 @@ public class LocationBarLayout extends FrameLayout implements OnClickListener,
}
switch (securityLevel) {
case ConnectionSecurityLevel.NONE:
- case ConnectionSecurityLevel.HTTP_SHOW_WARNING:
return isSmallDevice ? 0 : R.drawable.omnibox_info;
+ case ConnectionSecurityLevel.HTTP_SHOW_WARNING:
+ return R.drawable.omnibox_info;
case ConnectionSecurityLevel.SECURITY_WARNING:
return R.drawable.omnibox_info;
case ConnectionSecurityLevel.DANGEROUS:
« no previous file with comments | « no previous file | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698