タブバーの自動開閉でイベントを発行するようにした

git-svn-id: http://www.cozmixng.org/repos/piro/treestyletab/trunk@2727 599a83e7-65a4-db11-8015-0010dcdd6dc2
This commit is contained in:
piro 2008-06-25 11:31:55 +00:00
parent f9a7b320ba
commit 848f4e5cf4

View File

@ -2979,6 +2979,11 @@ TreeStyleTabBrowser.prototype = {
aSelf.checkTabsIndentOverflow();
aSelf.redrawContentArea();
fullScreenCanvas.hide();
var event = document.createEvent('Events');
event.initEvent('TreeStyleTabAutoHideStateChange', true, true);
event.shown = aSelf.autoHideShown;
aSelf.mTabBrowser.dispatchEvent(event);
}, 0, this);
},
showHideTabbarReason : 0,