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