Add new certificateProvider extension API.
[chromium-blink-merge.git] / chrome / browser / resources / ntp4 / incognito_tab.html
blob276d854b1d9bdb55c22a8eb0d5d4294daebb9cab
1 <!doctype html>
2 <html i18n-values="dir:textdirection;
3 bookmarkbarattached:bookmarkbarattached;
4 lang:language">
5 <head>
6 <meta charset="utf-8">
7 <title i18n-content="title"></title>
8 <link rel="stylesheet" href="chrome://resources/css/text_defaults.css">
9 <link rel="stylesheet" href="incognito_and_guest_tab.css">
10 <link rel="stylesheet" href="incognito_tab.css">
11 <script>
12 // Until themes can clear the cache, force-reload the theme stylesheet.
13 document.write('<link id="incognitothemecss" rel="stylesheet" ' +
14 'href="chrome://theme/css/incognito_new_tab_theme.css?' +
15 Date.now() + '">');
16 </script>
17 </head>
18 <body>
19 <div class="content">
20 <div class="icon"></div>
21 <span>
22 <h1 i18n-content="incognitoTabHeading"></h1>
23 <p>
24 <span i18n-values=".innerHTML:incognitoTabDescription"></span>
25 <a i18n-content="learnMore" i18n-values=".href:learnMoreLink"></a>
26 </p>
27 <p>
28 <strong i18n-content="incognitoTabWarning"></strong>
29 </p>
30 </span>
31 </div>
32 </body>
33 <script src="chrome://resources/js/cr.js"></script>
34 <script>
35 cr.define('ntp', function() {
36 'use strict';
37 /**
38 * Set whether the bookmarks bar is attached or not.
39 * @param {boolean} attached Whether the bar is attached or not.
41 function setBookmarkBarAttached(attached) {
42 document.documentElement.setAttribute('bookmarkbarattached', !!attached);
45 function themeChanged() {
46 document.getElementById('incognitothemecss').href =
47 'chrome://theme/css/incognito_new_tab_theme.css?' + Date.now();
50 return {
51 setBookmarkBarAttached: setBookmarkBarAttached,
52 themeChanged: themeChanged,
54 });
55 </script>
56 </html>