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

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

Issue 4186009: Changed new tab content for Guest Session. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src/chrome/browser
Patch Set: fix the link Created 10 years, 1 month 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 <style> 5 <link rel="stylesheet" href="incognito_tab.css">
6 body {
7 margin:10px 8px 10px 8px;
8 }
9 html[dir="ltr"] .icon {
10 float:right;
11 margin:0 6px 0 3px;
12 -webkit-transform: scale(-1, 1);
13 }
14 html[dir="rtl"] .icon {
15 float:left;
16 margin:0 3px 0 6px;
17 }
18 .content {
19 border-radius: 5px 5px;
20 background-color:#eee;
21 color:black;
22 padding:10px 10px 10px 10px;
23 max-width:600px;
24 margin-left:auto;
25 margin-right:auto;
26 margin-top:66px;
27 }
28 .extensionsmessage {
29 color:black;
30 padding:10px 10px 10px 10px;
31 max-width:600px;
32 margin-left:auto;
33 margin-right:auto;
34 margin-top:5px;
35 }
36 .extensionicon {
37 float:left;
38 margin:10px 5px 0 0px;
39 width:30px;
40 }
41 </style>
42 <script> 6 <script>
43 // Until themes can clear the cache, force-reload the theme stylesheet. 7 // Until themes can clear the cache, force-reload the theme stylesheet.
44 document.write('<link id="incognitothemecss" rel="stylesheet" ' + 8 document.write('<link id="incognitothemecss" rel="stylesheet" ' +
45 'href="chrome://theme/css/newincognitotab.css?' + 9 'href="chrome://theme/css/newincognitotab.css?' +
46 Date.now() + '">'); 10 Date.now() + '">');
47 </script> 11 </script>
48 </head> 12 </head>
49 <body> 13 <body>
50 <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">
51 <img src="shared/images/otr_icon_standalone.png" class="icon" /> 15 <img src="shared/images/otr_icon_standalone.png" class="icon" />
(...skipping 12 matching lines...) Expand all
64 28
65 function bookmarkBarAttached() { 29 function bookmarkBarAttached() {
66 document.documentElement.setAttribute("bookmarkbarattached", "true"); 30 document.documentElement.setAttribute("bookmarkbarattached", "true");
67 } 31 }
68 32
69 function bookmarkBarDetached() { 33 function bookmarkBarDetached() {
70 document.documentElement.setAttribute("bookmarkbarattached", "false"); 34 document.documentElement.setAttribute("bookmarkbarattached", "false");
71 } 35 }
72 </script> 36 </script>
73 </html> 37 </html>
OLDNEW
« no previous file with comments | « chrome/browser/resources/incognito_tab.css ('k') | chrome/browser/resources/shared/images/guest_icon_standalone.png » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698