diff -r fe1263a246bd browser/base/Makefile.in --- a/browser/base/Makefile.in Mon Oct 18 16:29:37 2010 +0300 +++ b/browser/base/Makefile.in Sun Oct 31 15:52:18 2010 +0100 @@ -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 fe1263a246bd browser/base/content/browser-menubar.inc --- a/browser/base/content/browser-menubar.inc Mon Oct 18 16:29:37 2010 +0300 +++ b/browser/base/content/browser-menubar.inc Sun Oct 31 15:52:18 2010 +0100 @@ -209,11 +209,13 @@ +#ifdef MOZ_TAB_VIEW +#endif diff -r fe1263a246bd browser/base/content/browser-sets.inc --- a/browser/base/content/browser-sets.inc Mon Oct 18 16:29:37 2010 +0300 +++ b/browser/base/content/browser-sets.inc Sun Oct 31 15:52:18 2010 +0100 @@ -116,9 +116,11 @@ +#ifdef MOZ_TAB_VIEW +#endif diff -r fe1263a246bd browser/base/content/browser.js --- a/browser/base/content/browser.js Mon Oct 18 16:29:37 2010 +0300 +++ b/browser/base/content/browser.js Sun Oct 31 15:52:18 2010 +0100 @@ -180,7 +180,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 @@ -1558,7 +1560,9 @@ gSyncUI.init(); #endif +#ifdef MOZ_TAB_VIEW TabView.init(); +#endif // Enable Inspector? let enabled = gPrefService.getBoolPref(InspectorUI.prefEnabledName); @@ -6809,8 +6813,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 fe1263a246bd browser/base/content/browser.xul --- a/browser/base/content/browser.xul Mon Oct 18 16:29:37 2010 +0300 +++ b/browser/base/content/browser.xul Sun Oct 31 15:52:18 2010 +0100 @@ -123,6 +123,7 @@