mirror of
https://github.com/mozilla/gecko-dev.git
synced 2024-11-26 06:11:37 +00:00
Click global icon, toggles to normal mode - non fullscreen, so far.
This commit is contained in:
parent
bb76c92795
commit
7d01b1a9b8
@ -675,17 +675,24 @@ function BrowserScreenRotate()
|
||||
function BrowserMenuPopup() {
|
||||
document.getElementById("menu_MainPopup").showPopup(document.getElementById("menu-button"),-1,-1,"popup","bottomleft", "topleft");
|
||||
}
|
||||
|
||||
function BrowserMenuPopupFalse() {
|
||||
document.getElementById("menu_MainPopup").hidePopup();
|
||||
}
|
||||
|
||||
function BrowserMenuPopupContextualMenu() {
|
||||
document.getElementById("contentAreaContextMenu").hidePopup();
|
||||
DoFullScreen();
|
||||
BrowserMenuPopup();
|
||||
}
|
||||
|
||||
function MenuPopupShowing() {
|
||||
gShowingMenuPopup=true;
|
||||
document.getElementById("menu-button").focus();
|
||||
gShowingMenuPopup=true;
|
||||
document.getElementById("menu-button").focus();
|
||||
}
|
||||
|
||||
function MenuPopupHidden() {
|
||||
gShowingMenuPopup=false;
|
||||
gShowingMenuPopup=false;
|
||||
}
|
||||
|
||||
/*
|
||||
|
@ -88,6 +88,7 @@
|
||||
<command id="cmd_DoPanelPreferences" oncommand="DoPanelPreferences()" />
|
||||
<command id="cmd_DoBrowserRSS" oncommand="DoBrowserRSS()" />
|
||||
<command id="cmd_BrowserMenu" oncommand="BrowserMenuPopup()" />
|
||||
<command id="cmd_BrowserMenuContextual" oncommand="BrowserMenuPopupContextualMenu()" />
|
||||
<command id="cmd_Quit" oncommand="window.close();" />
|
||||
|
||||
<toolbar id="nav-bar" accessfocus="menu-button" accessnextrule="toolbar-view" accessprevrule="accesstabcontent" >
|
||||
|
Loading…
Reference in New Issue
Block a user