diff --git a/suite/browser/navigator.js b/suite/browser/navigator.js
index 11f1d7d5c6d..f38fa83e1dd 100644
--- a/suite/browser/navigator.js
+++ b/suite/browser/navigator.js
@@ -414,8 +414,14 @@ function Startup()
remoteService.addBrowserInstance(window);
}
}
+
+ // called when we go into full screen, even if it is
+ // initiated by a web page script
+ addEventListener("fullscreen", onFullScreen, false);
+
// now load bookmarks after a delay
setTimeout(LoadBookmarksCallback, 0);
+
}
function LoadBookmarksCallback()
@@ -1543,3 +1549,14 @@ function FillInPTTooltip(tipElement)
return true; // show tooltip
}
+
+function BrowserFullScreen()
+{
+ window.fullScreen = !window.fullScreen;
+}
+
+function onFullScreen()
+{
+ FullScreen.toggle();
+}
+
diff --git a/suite/browser/navigator.xul b/suite/browser/navigator.xul
index f1eed6eeccd..080eb84b37d 100644
--- a/suite/browser/navigator.xul
+++ b/suite/browser/navigator.xul
@@ -60,6 +60,7 @@ Contributor(s): ______________________________________. -->
+
@@ -124,7 +125,7 @@ Contributor(s): ______________________________________. -->
+ tbalign="stretch" fullscreentoolbar="true">
+
+
+
+
+
+
+
+
+
@@ -226,6 +227,9 @@
+
diff --git a/suite/browser/win/platformNavigationBindings.xul b/suite/browser/win/platformNavigationBindings.xul
index 8c3fe14b5f6..15ed8b1d624 100644
--- a/suite/browser/win/platformNavigationBindings.xul
+++ b/suite/browser/win/platformNavigationBindings.xul
@@ -20,8 +20,10 @@
+
+
diff --git a/suite/locales/en-US/chrome/browser/navigator.dtd b/suite/locales/en-US/chrome/browser/navigator.dtd
index a100d86dc5e..54928cb82f2 100644
--- a/suite/locales/en-US/chrome/browser/navigator.dtd
+++ b/suite/locales/en-US/chrome/browser/navigator.dtd
@@ -63,6 +63,8 @@
+
+