mirror of
https://github.com/mozilla/gecko-dev.git
synced 2024-10-11 20:35:50 +00:00
Followup bug 580870 to rename gTabDeck/gTabFrame to gTabView*.
This commit is contained in:
parent
17d693812b
commit
b3e2889d22
@ -114,15 +114,15 @@ window.Page = {
|
||||
// Function: isTabCandyVisible
|
||||
// Returns true if the TabCandy UI is currently shown.
|
||||
isTabCandyVisible: function(){
|
||||
return gTabDeck.selectedIndex == 1;
|
||||
return gTabViewDeck.selectedIndex == 1;
|
||||
},
|
||||
|
||||
// ----------
|
||||
// Function: hideChrome
|
||||
// Hides the main browser UI and shows TabCandy.
|
||||
hideChrome: function(){
|
||||
gTabDeck.selectedIndex = 1;
|
||||
gTabFrame.contentWindow.focus();
|
||||
gTabViewDeck.selectedIndex = 1;
|
||||
gTabViewFrame.contentWindow.focus();
|
||||
|
||||
gBrowser.updateTitlebar();
|
||||
#ifdef XP_MACOSX
|
||||
@ -134,7 +134,7 @@ window.Page = {
|
||||
// Function: showChrome
|
||||
// Shows the main browser UI and hides Tab Candy.
|
||||
showChrome: function(){
|
||||
gTabDeck.selectedIndex = 0;
|
||||
gTabViewDeck.selectedIndex = 0;
|
||||
gBrowser.contentWindow.focus();
|
||||
|
||||
// set the close button on tab
|
||||
@ -207,7 +207,7 @@ window.Page = {
|
||||
|
||||
// When you click on the background/empty part of TabCandy,
|
||||
// we create a new group.
|
||||
iQ(gTabFrame.contentDocument).mousedown(function(e){
|
||||
iQ(gTabViewFrame.contentDocument).mousedown(function(e){
|
||||
if ( e.originalTarget.id == "content" )
|
||||
self._createGroupOnDrag(e)
|
||||
});
|
||||
|
@ -61,11 +61,11 @@ XPCOMUtils.defineLazyGetter(this, "gWindow", function() {
|
||||
|
||||
XPCOMUtils.defineLazyGetter(this, "gBrowser", function() gWindow.gBrowser);
|
||||
|
||||
XPCOMUtils.defineLazyGetter(this, "gTabDeck", function() {
|
||||
XPCOMUtils.defineLazyGetter(this, "gTabViewDeck", function() {
|
||||
return gWindow.document.getElementById("tab-candy-deck");
|
||||
});
|
||||
|
||||
XPCOMUtils.defineLazyGetter(this, "gTabFrame", function() {
|
||||
XPCOMUtils.defineLazyGetter(this, "gTabViewFrame", function() {
|
||||
return gWindow.document.getElementById("tab-candy");
|
||||
});
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user