Bug 688082 - Implement "You've entered full-screen" warning for Fennec. r=mfinkle

This commit is contained in:
Margaret Leibovic 2011-11-08 10:36:06 -08:00
parent a8026118c1
commit a7ebfd2e7e
2 changed files with 5 additions and 0 deletions

View File

@ -156,6 +156,9 @@ var BrowserApp = {
type: window.fullScreen ? "ToggleChrome:Show" : "ToggleChrome:Hide"
}
});
if (!window.fullScreen)
NativeWindow.toast.show(Strings.browser.GetStringFromName("alertFullScreenToast"), "short");
}, false);
NativeWindow.init();

View File

@ -109,6 +109,8 @@ alertDownloadsSize=Download too big
alertDownloadsNoSpace=Not enough storage space
alertDownloadsToast=Download started…
alertFullScreenToast=Press BACK to leave full-screen mode
downloadCancelPromptTitle=Cancel Download
downloadCancelPromptMessage=Do you want to cancel this download?