Home | History | Annotate | Download | only in resources
      1 <!DOCTYPE html>
      2 <html i18n-values="dir:textdirection;bookmarkbarattached:bookmarkbarattached">
      3 <head>
      4 <title i18n-content="title"></title>
      5 <link rel="stylesheet" href="incognito_tab.css">
      6 <script>
      7 // Until themes can clear the cache, force-reload the theme stylesheet.
      8 document.write('<link id="incognitothemecss" rel="stylesheet" ' +
      9                'href="chrome://theme/css/newincognitotab.css?' +
     10                Date.now() + '">');
     11 </script>
     12 </head>
     13 <body>
     14 <div class="content" i18n-values=".style.fontFamily:fontfamily;.style.fontSize:fontsize">
     15   <img src="shared/images/otr_icon_standalone.png" class="icon" />
     16   <span i18n-values=".innerHTML:content"></span>
     17   <div style="margin-top:15px">
     18     <img src="../../app/theme/extensions_section.png" class="extensionicon" />
     19     <span i18n-values=".innerHTML:extensionsmessage"></span>
     20   </div>
     21 </div>
     22 </body>
     23 <script>
     24 function themeChanged() {
     25   document.getElementById('incognitothemecss').href =
     26       'chrome://theme/css/newincognitotab.css?' + Date.now();
     27 }
     28 
     29 function bookmarkBarAttached() {
     30   document.documentElement.setAttribute("bookmarkbarattached", "true");
     31 }
     32 
     33 function bookmarkBarDetached() {
     34   document.documentElement.setAttribute("bookmarkbarattached", "false");
     35 }
     36 </script>
     37 </html>
     38