Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(90)

Side by Side Diff: chrome/browser/resources/incognito_tab.html

Issue 9455078: Simplify the incognito NTP. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Rebasing, adding Android. Created 8 years, 9 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch | Annotate | Revision Log
OLDNEW
1 <!DOCTYPE html> 1 <!DOCTYPE html>
2 <html i18n-values="dir:textdirection;bookmarkbarattached:bookmarkbarattached"> 2 <html i18n-values="dir:textdirection;bookmarkbarattached:bookmarkbarattached">
3 <head> 3 <head>
4 <title i18n-content="title"></title> 4 <title i18n-content="title"></title>
5 <link rel="stylesheet" href="incognito_tab.css"> 5 <link rel="stylesheet" href="incognito_tab.css">
6 <script> 6 <script>
7 // Until themes can clear the cache, force-reload the theme stylesheet. 7 // Until themes can clear the cache, force-reload the theme stylesheet.
8 document.write('<link id="incognitothemecss" rel="stylesheet" ' + 8 document.write('<link id="incognitothemecss" rel="stylesheet" ' +
9 'href="chrome://theme/css/incognito_new_tab_theme.css?' + 9 'href="chrome://theme/css/incognito_new_tab_theme.css?' +
10 Date.now() + '">'); 10 Date.now() + '">');
11 </script> 11 </script>
12 </head> 12 </head>
13 <body> 13 <body>
14 <div class="content" i18n-values=".style.fontFamily:fontfamily;.style.fontSize:f ontsize"> 14 <div class="content" i18n-values=".style.fontFamily:fontfamily;.style.fontSize:f ontsize">
15 <img src="shared/images/otr_icon_standalone.png" class="icon" /> 15 <img src="shared/images/otr_icon_standalone.png" class="icon" />
16 <span i18n-values=".innerHTML:content"></span> 16 <div i18n-values=".innerHTML:content"></div>
17 <div style="margin-top:15px"> 17 <div style="margin-top:15px">
18 <img src="../../app/theme/extensions_section.png" class="extensionicon" /> 18 <p i18n-values=".innerHTML:extensionsmessage"></p>
19 <span i18n-values=".innerHTML:extensionsmessage"></span>
20 </div> 19 </div>
21 </div> 20 </div>
22 </body> 21 </body>
23 <script> 22 <script>
24 function themeChanged() { 23 function themeChanged() {
25 document.getElementById('incognitothemecss').href = 24 document.getElementById('incognitothemecss').href =
26 'chrome://theme/css/incognito_new_tab_theme.css?' + Date.now(); 25 'chrome://theme/css/incognito_new_tab_theme.css?' + Date.now();
27 } 26 }
28 27
29 function bookmarkBarAttached() { 28 function bookmarkBarAttached() {
30 document.documentElement.setAttribute("bookmarkbarattached", "true"); 29 document.documentElement.setAttribute("bookmarkbarattached", "true");
31 } 30 }
32 31
33 function bookmarkBarDetached() { 32 function bookmarkBarDetached() {
34 document.documentElement.setAttribute("bookmarkbarattached", "false"); 33 document.documentElement.setAttribute("bookmarkbarattached", "false");
35 } 34 }
36 </script> 35 </script>
37 </html> 36 </html>
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698