Bug 1412818 - Part 2 - Remove other unused stuff in ToolbarDisplayLayout. r?sebastian draft
authorJan Henning <jh+bugzilla@buttercookie.de>
Tue, 31 Oct 2017 14:45:11 +0100
changeset 689407 830b47366907f52a73f567cac2d819ea0e7a47ec
parent 689406 8d7cd7702ec2967a07c7a9a01e53aa39f97a1897
child 738310 5b8b965e763cbe4d91be6078ac6beedabee990fe
push id87016
push usermozilla@buttercookie.de
push dateTue, 31 Oct 2017 14:28:39 +0000
reviewerssebastian
bugs1412818
milestone58.0a1
Bug 1412818 - Part 2 - Remove other unused stuff in ToolbarDisplayLayout. r?sebastian MozReview-Commit-ID: FFzSODcrEEk
mobile/android/app/src/photon/java/org/mozilla/gecko/toolbar/ToolbarDisplayLayout.java
--- a/mobile/android/app/src/photon/java/org/mozilla/gecko/toolbar/ToolbarDisplayLayout.java
+++ b/mobile/android/app/src/photon/java/org/mozilla/gecko/toolbar/ToolbarDisplayLayout.java
@@ -108,29 +108,16 @@ public class ToolbarDisplayLayout extend
     private final ThemedImageButton mStop;
     private OnStopListener mStopListener;
 
     private final PageActionLayout mPageActionLayout;
 
     private final SiteIdentityPopup mSiteIdentityPopup;
     private int mSecurityImageLevel;
 
-    // Security level constants, which map to the icons / levels defined in:
-    // http://dxr.mozilla.org/mozilla-central/source/mobile/android/base/java/org/mozilla/gecko/resources/drawable/site_security_level.xml
-    // Default level (unverified pages) - globe icon:
-    private static final int LEVEL_DEFAULT_GLOBE = 0;
-    // Levels for displaying Mixed Content state icons.
-    private static final int LEVEL_WARNING_MINOR = 3;
-    private static final int LEVEL_LOCK_DISABLED = 4;
-    // Levels for displaying Tracking Protection state icons.
-    private static final int LEVEL_SHIELD_ENABLED = 5;
-    private static final int LEVEL_SHIELD_DISABLED = 6;
-    // Icon used for about:home
-    private static final int LEVEL_SEARCH_ICON = 999;
-
     private final ForegroundColorSpan mUrlColorSpan;
     private final ForegroundColorSpan mPrivateUrlColorSpan;
     private final ForegroundColorSpan mBlockedColorSpan;
     private final ForegroundColorSpan mPrivateBlockedColorSpan;
     private final ForegroundColorSpan mDomainColorSpan;
     private final ForegroundColorSpan mPrivateDomainColorSpan;
 
     public ToolbarDisplayLayout(Context context, AttributeSet attrs) {