Bug 1412818 - Part 2 - Remove other unused stuff in ToolbarDisplayLayout. r?sebastian
MozReview-Commit-ID: FFzSODcrEEk
--- 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) {