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

Side by Side Diff: chrome/browser/resources/ntp4/guest_tab.html

Issue 23587012: Remove guest icon and update screen text according to new approved UI. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: restore original android page content Created 7 years, 3 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="guest_tab.css"> 5 <link rel="stylesheet" href="guest_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="guestthemecss" rel="stylesheet" ' + 8 document.write('<link id="guestthemecss" rel="stylesheet" ' +
9 'href="chrome://theme/css/guest_new_tab_theme.css?' + 9 'href="chrome://theme/css/guest_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" 14 <div class="content"
15 i18n-values=".style.fontFamily:fontfamily;.style.fontSize:fontsize"> 15 i18n-values=".style.fontFamily:fontfamily;.style.fontSize:fontsize">
16 <img src="../../../../ui/webui/resources/images/guest_icon_standalone.png"
17 class="icon">
18 <span i18n-values=".innerHTML:content"></span> 16 <span i18n-values=".innerHTML:content"></span>
19 </div> 17 </div>
20 </body> 18 </body>
21 <script src="chrome://resources/js/cr.js"></script> 19 <script src="chrome://resources/js/cr.js"></script>
22 <script> 20 <script>
23 cr.define('ntp', function() { 21 cr.define('ntp', function() {
24 'use strict'; 22 'use strict';
25 23
26 function themeChanged() { 24 function themeChanged() {
27 document.getElementById('guestthemecss').href = 25 document.getElementById('guestthemecss').href =
28 'chrome://theme/css/guest_new_tab_theme.css?' + Date.now(); 26 'chrome://theme/css/guest_new_tab_theme.css?' + Date.now();
29 } 27 }
30 28
31 return { 29 return {
32 themeChanged: themeChanged, 30 themeChanged: themeChanged,
33 }; 31 };
34 }); 32 });
35 </script> 33 </script>
36 </html> 34 </html>
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698