2013-08-28 21:35:34 +00:00
|
|
|
<!DOCTYPE html>
|
|
|
|
<!-- This Source Code Form is subject to the terms of the Mozilla Public
|
|
|
|
- License, v. 2.0. If a copy of the MPL was not distributed with this file,
|
|
|
|
- You can obtain one at http://mozilla.org/MPL/2.0/. -->
|
|
|
|
|
|
|
|
<html xmlns="http://www.w3.org/1999/xhtml "
|
|
|
|
id="shell"
|
|
|
|
windowtype="navigator:browser"
|
|
|
|
#ifdef ANDROID
|
|
|
|
sizemode="fullscreen"
|
|
|
|
#endif
|
2014-02-19 16:00:34 +00:00
|
|
|
>
|
2013-08-28 21:35:34 +00:00
|
|
|
|
|
|
|
<head>
|
2014-03-19 12:38:59 +00:00
|
|
|
<link rel="stylesheet" href="shell.css" type="text/css">
|
|
|
|
#ifdef FXOS_SIMULATOR
|
|
|
|
<link rel="stylesheet" href="desktop.css" type="text/css">
|
|
|
|
#endif
|
|
|
|
|
2013-08-28 21:35:34 +00:00
|
|
|
<script type="application/javascript;version=1.8"
|
2014-02-11 14:24:20 +00:00
|
|
|
src="chrome://b2g/content/settings.js"> </script>
|
2013-08-28 21:35:34 +00:00
|
|
|
<script type="application/javascript;version=1.8"
|
2014-02-11 14:24:20 +00:00
|
|
|
src="chrome://b2g/content/shell.js"> </script>
|
2013-08-28 21:35:34 +00:00
|
|
|
|
|
|
|
#ifndef MOZ_WIDGET_GONK
|
2014-01-15 14:28:04 +00:00
|
|
|
<!-- various task that has to happen only on desktop -->
|
|
|
|
<script type="application/javascript;version=1.8"
|
2014-02-11 14:24:20 +00:00
|
|
|
src="chrome://b2g/content/desktop.js"> </script>
|
2013-08-28 21:35:34 +00:00
|
|
|
<!-- this script handles the screen argument for desktop builds -->
|
|
|
|
<script type="application/javascript;version=1.8"
|
2014-02-11 14:24:20 +00:00
|
|
|
src="chrome://b2g/content/screen.js"> </script>
|
2013-08-28 21:35:34 +00:00
|
|
|
<!-- this script handles the "runapp" argument for desktop builds -->
|
|
|
|
<script type="application/javascript;version=1.8"
|
2014-02-11 14:24:20 +00:00
|
|
|
src="chrome://b2g/content/runapp.js"> </script>
|
2013-08-28 21:35:34 +00:00
|
|
|
#endif
|
|
|
|
</head>
|
2014-02-19 16:00:34 +00:00
|
|
|
<body id="container">
|
2014-03-19 12:38:59 +00:00
|
|
|
#ifdef FXOS_SIMULATOR
|
|
|
|
<!--
|
|
|
|
Some additional buttons are displayed on desktop to fake hardware buttons.
|
|
|
|
-->
|
|
|
|
<footer id="controls">
|
|
|
|
<button id="home-button"></button>
|
2014-03-19 12:38:59 +00:00
|
|
|
<button id="rotate-button"></button>
|
2014-03-19 12:38:59 +00:00
|
|
|
</footer>
|
2014-03-29 00:46:13 +00:00
|
|
|
#endif
|
|
|
|
#ifdef MOZ_WIDGET_COCOA
|
2013-08-28 21:35:34 +00:00
|
|
|
<!--
|
|
|
|
If the document is empty at startup, we don't display the window
|
|
|
|
at all on Mac OS...
|
|
|
|
-->
|
|
|
|
<h1 id="placeholder">wtf mac os!</h1>
|
|
|
|
#endif
|
|
|
|
<!-- The html:iframe containing the UI is created here. -->
|
|
|
|
</body>
|
|
|
|
</html>
|