_notifyBackgroundTab was not overridden on Firefox 3.6 and later

This commit is contained in:
Piro / SHIMODA Hiroshi 2010-12-07 02:02:38 +09:00
parent 88aeaeab2f
commit fe1cb0a837

View File

@ -30,6 +30,8 @@ TreeStyleTabBrowser.prototype = {
sizeProp : 'height', sizeProp : 'height',
invertedPositionProp : 'screenX', invertedPositionProp : 'screenX',
invertedSizeProp : 'width', invertedSizeProp : 'width',
startProp : 'top',
endProp : 'bottom',
maxTreeLevel : -1, maxTreeLevel : -1,
maxTreeLevelPhisical : false, maxTreeLevelPhisical : false,
@ -508,6 +510,10 @@ TreeStyleTabBrowser.prototype = {
/\.screenX/g, '[treeStyleTab.positionProp]' /\.screenX/g, '[treeStyleTab.positionProp]'
).replace( ).replace(
/\.width/g, '[treeStyleTab.sizeProp]' /\.width/g, '[treeStyleTab.sizeProp]'
).replace(
/\.left/g, '[treeStyleTab.startProp]'
).replace(
/\.right/g, '[treeStyleTab.endProp]'
) )
); );
@ -1059,6 +1065,8 @@ TreeStyleTabBrowser.prototype = {
this.sizeProp = 'height'; this.sizeProp = 'height';
this.invertedPositionProp = 'screenX'; this.invertedPositionProp = 'screenX';
this.invertedSizeProp = 'width'; this.invertedSizeProp = 'width';
this.startProp = 'top';
this.endProp = 'bottom';
b.mTabBox.orient = splitter.orient = 'horizontal'; b.mTabBox.orient = splitter.orient = 'horizontal';
strip.orient = strip.orient =
@ -1133,6 +1141,8 @@ TreeStyleTabBrowser.prototype = {
this.sizeProp = 'width'; this.sizeProp = 'width';
this.invertedPositionProp = 'screenY'; this.invertedPositionProp = 'screenY';
this.invertedSizeProp = 'height'; this.invertedSizeProp = 'height';
this.startProp = 'left';
this.endProp = 'right';
b.mTabBox.orient = splitter.orient = 'vertical'; b.mTabBox.orient = splitter.orient = 'vertical';
strip.orient = strip.orient =