Bug 913890 - Remove dead action bar code, formerly associated with the Awesome Bar. r=mleibovic
authorChris Kitching <ckitching@mozilla.com>
Fri, 13 Sep 2013 14:38:43 -0400
changeset 147044 75098ad2784b15a7710713afc443ac9ac5b548d5
parent 147043 0071687b2b2fc99f1a4fb26a62742ad82b0a1462
child 147045 6dcc6fc612e449c61fbd83f05d251fe174adbe00
push id2646
push userryanvm@gmail.com
push dateFri, 13 Sep 2013 18:40:44 +0000
treeherderfx-team@6dcc6fc612e4 [default view] [failures only]
perfherder[talos] [build metrics] [platform microbench] (compared to previous push)
reviewersmleibovic
bugs913890
milestone26.0a1
Bug 913890 - Remove dead action bar code, formerly associated with the Awesome Bar. r=mleibovic
mobile/android/base/BrowserApp.java
--- a/mobile/android/base/BrowserApp.java
+++ b/mobile/android/base/BrowserApp.java
@@ -956,23 +956,16 @@ abstract public class BrowserApp extends
         invalidateOptionsMenu();
         updateSideBarState();
         mTabsPanel.refresh();
         if (mSiteIdentityPopup != null) {
             mSiteIdentityPopup.dismiss();
         }
     }
 
-    public View getActionBarLayout() {
-        RelativeLayout actionBar = (RelativeLayout) LayoutInflater.from(this).inflate(R.layout.browser_toolbar, null);
-        actionBar.setLayoutParams(new RelativeLayout.LayoutParams(RelativeLayout.LayoutParams.FILL_PARENT,
-                                                                  (int) getResources().getDimension(R.dimen.browser_toolbar_height)));
-        return actionBar;
-    }
-
     @Override
     public boolean hasTabsSideBar() {
         return (mTabsPanel != null && mTabsPanel.isSideBar());
     }
 
     private void updateSideBarState() {
         if (mMainLayoutAnimator != null)
             mMainLayoutAnimator.stop();