b2g/chrome/content/shell.html

Thu, 22 Jan 2015 13:21:57 +0100

author
Michael Schloh von Bennewitz <michael@schloh.com>
date
Thu, 22 Jan 2015 13:21:57 +0100
branch
TOR_BUG_9701
changeset 15
b8a032363ba2
permissions
-rw-r--r--

Incorporate requested changes from Mozilla in review:
https://bugzilla.mozilla.org/show_bug.cgi?id=1123480#c6

     1 <!DOCTYPE html>
     2 <!-- This Source Code Form is subject to the terms of the Mozilla Public
     3    - License, v. 2.0. If a copy of the MPL was not distributed with this file,
     4    - You can obtain one at http://mozilla.org/MPL/2.0/.  -->
     6 <html xmlns="http://www.w3.org/1999/xhtml "
     7       id="shell"
     8       windowtype="navigator:browser"
     9 #ifdef ANDROID
    10       sizemode="fullscreen"
    11 #endif
    12       >
    14 <head>
    15   <link rel="stylesheet" href="shell.css" type="text/css">
    16 #ifdef FXOS_SIMULATOR
    17   <link rel="stylesheet" href="desktop.css" type="text/css">
    18 #endif
    20   <script type="application/javascript;version=1.8"
    21           src="chrome://b2g/content/settings.js"> </script>
    22   <script type="application/javascript;version=1.8"
    23           src="chrome://b2g/content/shell.js"> </script>
    25 #ifndef MOZ_WIDGET_GONK
    26   <!-- various task that has to happen only on desktop -->
    27   <script type="application/javascript;version=1.8"
    28           src="chrome://b2g/content/desktop.js"> </script>
    29   <!-- this script handles the screen argument for desktop builds -->
    30   <script type="application/javascript;version=1.8"
    31           src="chrome://b2g/content/screen.js"> </script>
    32   <!-- this script handles the "runapp" argument for desktop builds -->
    33   <script type="application/javascript;version=1.8"
    34           src="chrome://b2g/content/runapp.js"> </script>
    35 #endif
    36 </head>
    37   <body id="container">
    38 #ifdef FXOS_SIMULATOR
    39     <!--
    40      Some additional buttons are displayed on desktop to fake hardware buttons.
    41     -->
    42     <footer id="controls">
    43       <button id="home-button"></button>
    44       <button id="rotate-button"></button>
    45     </footer>
    46 #endif
    47 #ifdef MOZ_WIDGET_COCOA
    48     <!--
    49      If the document is empty at startup, we don't display the window
    50      at all on Mac OS...
    51     -->
    52     <h1 id="placeholder">wtf mac os!</h1>
    53 #endif
    54     <!-- The html:iframe containing the UI is created here. -->
    55   </body>
    56 </html>

mercurial