diff -r 5588c9796f0b browser/base/Makefile.in --- a/browser/base/Makefile.in Tue Sep 14 20:23:33 2010 +1200 +++ b/browser/base/Makefile.in Tue Sep 14 13:12:01 2010 +0200 @@ -85,5 +85,7 @@ DEFINES += -DMENUBAR_CAN_AUTOHIDE=1 endif +ifdef MOZ_TAB_VIEW libs:: $(NSINSTALL) $(srcdir)/content/tabview/modules/* $(FINAL_TARGET)/modules/tabview +endif diff -r 5588c9796f0b browser/base/content/browser-menubar.inc --- a/browser/base/content/browser-menubar.inc Tue Sep 14 20:23:33 2010 +1200 +++ b/browser/base/content/browser-menubar.inc Tue Sep 14 13:12:01 2010 +0200 @@ -208,10 +208,12 @@ +#ifdef MOZ_TAB_VIEW +#endif diff -r edf05b298094 browser/base/content/browser-sets.inc --- a/browser/base/content/browser-sets.inc Thu Sep 30 12:35:34 2010 -0700 +++ b/browser/base/content/browser-sets.inc Thu Sep 30 23:33:49 2010 +0200 @@ -116,9 +116,11 @@ +#ifdef MOZ_TAB_VIEW +#endif diff -r 5588c9796f0b browser/base/content/browser.js --- a/browser/base/content/browser.js Tue Sep 14 20:23:33 2010 +1200 +++ b/browser/base/content/browser.js Tue Sep 14 13:12:01 2010 +0200 @@ -178,7 +178,9 @@ #include inspector.js #include browser-places.js #include browser-tabPreviews.js +#ifdef MOZ_TAB_VIEW #include browser-tabview.js +#endif #ifdef MOZ_SERVICES_SYNC #include browser-syncui.js @@ -1580,7 +1582,9 @@ gSyncUI.init(); #endif +#ifdef MOZ_TAB_VIEW TabView.init(); +#endif // Enable Inspector? let enabled = gPrefService.getBoolPref(InspectorUI.prefEnabledName); @@ -6960,8 +6964,10 @@ this._command = document.getElementById("Browser:BookmarkAllTabs"); gBrowser.tabContainer.addEventListener("TabOpen", this, true); gBrowser.tabContainer.addEventListener("TabClose", this, true); +#ifdef MOZ_TAB_VIEW gBrowser.tabContainer.addEventListener("TabShow", this, true); gBrowser.tabContainer.addEventListener("TabHide", this, true); +#endif this._updateCommandState(); }, diff -r 5588c9796f0b browser/base/content/browser.xul --- a/browser/base/content/browser.xul Tue Sep 14 20:23:33 2010 +1200 +++ b/browser/base/content/browser.xul Tue Sep 14 13:12:01 2010 +0200 @@ -126,6 +126,7 @@