summaryrefslogtreecommitdiffstats
path: root/b2g/chrome/content/shell.html
blob: 5507a65aac905c7e6c3ebcecbe1d33f5c8e2eb67 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
<!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
#ifdef MOZ_GRAPHENE
      macanimationtype="document"
      fullscreenbutton="true"
      chromemargin="0,0,0,0"
#endif
      >

<head>
  <link rel="stylesheet" href="shell.css" type="text/css">
  <script type="text/javascript">
  <!-- Add raptor performance marker -->
  window.performance.mark('gecko-shell-html-load');
  </script>
  <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 ANDROID
#ifndef MOZ_GRAPHENE
  <!-- 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>
#endif
#else
  <!-- this file is only loaded on Gonk to manage ADB state -->
  <script type="application/javascript;version=1.8"
          src="chrome://b2g/content/devtools/adb.js"> </script>
#endif
  <!-- manages DevTools server state -->
  <script type="application/javascript;version=1.8"
          src="chrome://b2g/content/devtools/debugger.js"> </script>
</head>
  <body id="container">
#ifndef MOZ_GRAPHENE
#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
#else
    <div id="titlebar-buttonbox"></div>
    <div id="installing">
      <div class="throbber"></div>
      <div class="message"></div>
    </div>
#endif
    <!-- The html:iframe containing the UI is created here. -->
  </body>
</html>