Output more debug print

This commit is contained in:
YUKI Hiroshi 2015-11-05 18:08:22 +09:00
parent e219b479f2
commit 296bae010f
2 changed files with 8 additions and 1 deletions

View File

@ -4951,6 +4951,11 @@ TreeStyleTabBrowser.prototype = inherit(TreeStyleTabWindow.prototype, {
} }
if (isContentResize || isChromeResize) { if (isContentResize || isChromeResize) {
if (utils.isDebugging('browser')) {
dump('TSTBrowser_onResize\n');
dump(' isContentResize = '+isContentResize+'\n');
dump(' isChromeResize = '+isChromeResize+'\n');
}
this.updateFloatingTabbar(this.kTABBAR_UPDATE_BY_WINDOW_RESIZE); this.updateFloatingTabbar(this.kTABBAR_UPDATE_BY_WINDOW_RESIZE);
this.updateInvertedTabContentsOrder(true); this.updateInvertedTabContentsOrder(true);
this.mTabBrowser.mTabContainer.adjustTabstrip(); this.mTabBrowser.mTabContainer.adjustTabstrip();

View File

@ -90,8 +90,10 @@ BrowserUIShowHideObserver.prototype = {
switch (aMutation.type) switch (aMutation.type)
{ {
case 'childList': case 'childList':
if (aMutation.target == this.box) if (aMutation.target == this.box) {
this.dumpMutation(aMutation, 'BrowserUIShowHideObserver_onMutation/childList');
this.owner.browser.treeStyleTab.updateFloatingTabbar(TreeStyleTabConstants.kTABBAR_UPDATE_BY_WINDOW_RESIZE); this.owner.browser.treeStyleTab.updateFloatingTabbar(TreeStyleTabConstants.kTABBAR_UPDATE_BY_WINDOW_RESIZE);
}
return; return;
case 'attributes': case 'attributes':