Bug 695172 (Part 2) - Clean up unused stuff in GeckoViewsFactory. r=mfinkle
authorMargaret Leibovic <margaret.leibovic@gmail.com>
Wed, 30 May 2012 13:26:16 -0700
changeset 95293 14a55152ab573015b5d2fdccd04ce1545b644420
parent 95292 2389f26e4efaea58d7b2cef6c4b597b40745073e
child 95294 ec507e41777f85c5ac7faefb0ee86a0eb5994b18
push id10047
push usermleibovic@mozilla.com
push dateWed, 30 May 2012 20:26:28 +0000
treeherdermozilla-inbound@14a55152ab57 [default view] [failures only]
perfherder[talos] [build metrics] [platform microbench] (compared to previous push)
reviewersmfinkle
bugs695172
milestone15.0a1
first release with
nightly linux32
nightly linux64
nightly mac
nightly win32
nightly win64
last release without
nightly linux32
nightly linux64
nightly mac
nightly win32
nightly win64
Bug 695172 (Part 2) - Clean up unused stuff in GeckoViewsFactory. r=mfinkle
mobile/android/base/GeckoViewsFactory.java
--- a/mobile/android/base/GeckoViewsFactory.java
+++ b/mobile/android/base/GeckoViewsFactory.java
@@ -1,35 +1,27 @@
 /* This Source Code Form is subject to the terms of the Mozilla Public
  * License, v. 2.0. If a copy of the MPL was not distributed with this file,
  * You can obtain one at http://mozilla.org/MPL/2.0/. */
 
 package org.mozilla.gecko;
 
-import java.util.HashMap;
-
 import android.content.Context;
 import android.text.TextUtils;
 import android.util.AttributeSet;
 import android.util.Log;
 import android.view.LayoutInflater;
 import android.view.View;
 
 public final class GeckoViewsFactory implements LayoutInflater.Factory {
     private static final String LOGTAG = "GeckoViewsFactory";
 
     private static final String GECKO_VIEW_IDENTIFIER = "org.mozilla.gecko.";
     private static final int GECKO_VIEW_IDENTIFIER_LENGTH = GECKO_VIEW_IDENTIFIER.length();
 
-    // List of custom views used
-    private static final int ABOUT_HOME_SECTION = 1;
-    private static final int AWESOME_BAR_TABS = 2;
-    private static final int FORM_ASSIST_POPUP = 3;
-    private static final int LINK_TEXT_VIEW = 4;
-
     private GeckoViewsFactory() { }
 
     // Making this a singleton class.
     private static final GeckoViewsFactory INSTANCE = new GeckoViewsFactory();
 
     public static GeckoViewsFactory getInstance() {
         return INSTANCE;
     }