From e6f29af9974cddf20b8a216d6d56e55db2d7794a Mon Sep 17 00:00:00 2001 From: SHIMODA Hiroshi Date: Wed, 14 Dec 2011 15:28:47 +0900 Subject: [PATCH] isMaximized => maximized --- modules/window.js | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/modules/window.js b/modules/window.js index 3d4ac326..39fbede1 100644 --- a/modules/window.js +++ b/modules/window.js @@ -205,7 +205,7 @@ TreeStyleTabWindow.prototype = { return toolbox && toolbox.customizing; }, - get isMaximized() + get maximized() { return ( this.window.fullScreen || @@ -218,7 +218,7 @@ TreeStyleTabWindow.prototype = { { aTabBrowser = aTabBrowser || this.browser; var safePadding = 20; // for window border, etc. - var windowWidth = this.isMaximized ? this.window.screen.availWidth - safePadding : this.window.outerWidth ; + var windowWidth = this.maximized ? this.window.screen.availWidth - safePadding : this.window.outerWidth ; var rootWidth = parseInt(this.document.documentElement.getAttribute('width') || 0); var max = Math.max(windowWidth, rootWidth); return Math.max(0, Math.min(aWidth, max * this.MAX_TABBAR_SIZE_RATIO)); @@ -228,7 +228,7 @@ TreeStyleTabWindow.prototype = { { aTabBrowser = aTabBrowser || this.browser; var safePadding = 20; // for window border, etc. - var windowHeight = this.isMaximized ? this.window.screen.availHeight - safePadding : this.window.outerHeight ; + var windowHeight = this.maximized ? this.window.screen.availHeight - safePadding : this.window.outerHeight ; var rootHeight = parseInt(this.document.documentElement.getAttribute('height') || 0); var max = Math.max(windowHeight, rootHeight); return Math.max(0, Math.min(aHeight, max * this.MAX_TABBAR_SIZE_RATIO));