b2g/chrome/content/shell.html

changeset 0
6474c204b198
     1.1 --- /dev/null	Thu Jan 01 00:00:00 1970 +0000
     1.2 +++ b/b2g/chrome/content/shell.html	Wed Dec 31 06:09:35 2014 +0100
     1.3 @@ -0,0 +1,56 @@
     1.4 +<!DOCTYPE html>
     1.5 +<!-- This Source Code Form is subject to the terms of the Mozilla Public
     1.6 +   - License, v. 2.0. If a copy of the MPL was not distributed with this file,
     1.7 +   - You can obtain one at http://mozilla.org/MPL/2.0/.  -->
     1.8 +
     1.9 +<html xmlns="http://www.w3.org/1999/xhtml "
    1.10 +      id="shell"
    1.11 +      windowtype="navigator:browser"
    1.12 +#ifdef ANDROID
    1.13 +      sizemode="fullscreen"
    1.14 +#endif
    1.15 +      >
    1.16 +
    1.17 +<head>
    1.18 +  <link rel="stylesheet" href="shell.css" type="text/css">
    1.19 +#ifdef FXOS_SIMULATOR
    1.20 +  <link rel="stylesheet" href="desktop.css" type="text/css">
    1.21 +#endif
    1.22 +
    1.23 +  <script type="application/javascript;version=1.8"
    1.24 +          src="chrome://b2g/content/settings.js"> </script>
    1.25 +  <script type="application/javascript;version=1.8"
    1.26 +          src="chrome://b2g/content/shell.js"> </script>
    1.27 +
    1.28 +#ifndef MOZ_WIDGET_GONK
    1.29 +  <!-- various task that has to happen only on desktop -->
    1.30 +  <script type="application/javascript;version=1.8"
    1.31 +          src="chrome://b2g/content/desktop.js"> </script>
    1.32 +  <!-- this script handles the screen argument for desktop builds -->
    1.33 +  <script type="application/javascript;version=1.8"
    1.34 +          src="chrome://b2g/content/screen.js"> </script>
    1.35 +  <!-- this script handles the "runapp" argument for desktop builds -->
    1.36 +  <script type="application/javascript;version=1.8"
    1.37 +          src="chrome://b2g/content/runapp.js"> </script>
    1.38 +#endif
    1.39 +</head>
    1.40 +  <body id="container">
    1.41 +#ifdef FXOS_SIMULATOR
    1.42 +    <!--
    1.43 +     Some additional buttons are displayed on desktop to fake hardware buttons.
    1.44 +    -->
    1.45 +    <footer id="controls">
    1.46 +      <button id="home-button"></button>
    1.47 +      <button id="rotate-button"></button>
    1.48 +    </footer>
    1.49 +#endif
    1.50 +#ifdef MOZ_WIDGET_COCOA
    1.51 +    <!--
    1.52 +     If the document is empty at startup, we don't display the window
    1.53 +     at all on Mac OS...
    1.54 +    -->
    1.55 +    <h1 id="placeholder">wtf mac os!</h1>
    1.56 +#endif
    1.57 +    <!-- The html:iframe containing the UI is created here. -->
    1.58 +  </body>
    1.59 +</html>

mercurial