b2g/chrome/content/shell.html
author Wes Kocher <wkocher@mozilla.com>
Thu, 24 Apr 2014 14:30:44 -0700
changeset 198620 bd55f7f8b48cfa2bc5b9590ca647f371aead6b5c
parent 198608 f7b85c252914c7b0855fff96262b48965f943f52
child 220886 cc73a5e460b0db78973f43addc4b46bb6703dd9d
permissions -rw-r--r--
Backed out 7 changesets (bug 942756) for Gi bustage Backed out changeset 87b1be303630 (bug 942756) Backed out changeset eb385c85d88b (bug 942756) Backed out changeset d234447173a8 (bug 942756) Backed out changeset f7b85c252914 (bug 942756) Backed out changeset 4e540736b330 (bug 942756) Backed out changeset 824aec2863f5 (bug 942756) Backed out changeset 43feed75916e (bug 942756)

<!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
      >

<head>
  <link rel="stylesheet" href="shell.css" type="text/css">
#ifdef FXOS_SIMULATOR
  <link rel="stylesheet" href="desktop.css" type="text/css">
#endif

  <script type="application/javascript;version=1.8"
          src="chrome://b2g/content/settings.js"> </script>
  <script type="application/javascript;version=1.8"
          src="chrome://b2g/content/shell.js"> </script>

#ifndef MOZ_WIDGET_GONK
  <!-- various task that has to happen only on desktop -->
  <script type="application/javascript;version=1.8"
          src="chrome://b2g/content/desktop.js"> </script>
  <!-- this script handles the screen argument for desktop builds -->
  <script type="application/javascript;version=1.8"
          src="chrome://b2g/content/screen.js"> </script>
  <!-- this script handles the "runapp" argument for desktop builds -->
  <script type="application/javascript;version=1.8"
          src="chrome://b2g/content/runapp.js"> </script>
#endif
</head>
  <body id="container">
#ifdef FXOS_SIMULATOR
    <!--
     Some additional buttons are displayed on desktop to fake hardware buttons.
    -->
    <footer id="controls">
      <button id="home-button"></button>
      <button id="rotate-button"></button>
    </footer>
#endif
#ifdef MOZ_WIDGET_COCOA
    <!--
     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>