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

Side by Side Diff: chrome/browser/resources/contextual_search/promo.html

Issue 587803003: [Search] Add a header image to the promo flow. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Using finch parameter for hiding the header Created 6 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
OLDNEW
1 <!DOCTYPE html> 1 <!DOCTYPE html>
2 <html> 2 <html>
3 <!-- Copyright 2014 The Chromium Authors. All rights reserved. 3 <!-- Copyright 2014 The Chromium Authors. All rights reserved.
4 Use of this source code is governed by a BSD-style license that can be 4 Use of this source code is governed by a BSD-style license that can be
5 found in the LICENSE file. --> 5 found in the LICENSE file. -->
6 <head> 6 <head>
7 <script src="../../../../ui/webui/resources/js/util.js"></script> 7 <script src="chrome://contextual-search-promo/config.js"></script>
8 <script src="../../../../ui/webui/resources/js/load_time_data.js"></script> 8 <script src="chrome://contextual-search-promo/promo.js"></script>
9 <script src="promo.js"></script>
10 <link rel="stylesheet" href="promo.css"> 9 <link rel="stylesheet" href="promo.css">
pedro (no code reviews) 2014/09/22 18:25:20 For maximum rendering performance CSS should come
Mathieu 2014/09/22 21:35:06 Done.
11 <meta charset="utf-8"> 10 <meta charset="utf-8">
pedro (no code reviews) 2014/09/22 18:25:20 Nit: meta tags come before script and stylesheets.
Mathieu 2014/09/22 21:35:06 Done.
12 <meta name="viewport" content="width=device-width, user-scalable=no"> 11 <meta name="viewport" content="width=device-width, user-scalable=no">
13 </head> 12 </head>
14 <body> 13 <body>
15 <div id="container"> 14 <div id="container">
15 <img id="header-image" src="header.svg">
16 <p i18n-content="heading" id="heading"></p> 16 <p i18n-content="heading" id="heading"></p>
17 <p i18n-content="description" id="description"></p> 17 <p i18n-content="description" id="description"></p>
18 <div id="button-container"> 18 <div id="button-container">
19 <span class="label"><a href="#optout" i18n-content="optOut"></a></span> 19 <span class="label"><a href="#optout" i18n-content="optOut"></a></span>
20 <span id="optin-label" class="label"><a class="colored" href="#optin" i18n -content="optIn"></a></span> 20 <span id="optin-label" class="label"><a class="colored" href="#optin" i18n -content="optIn"></a></span>
21 </div> 21 </div>
22 </div> 22 </div>
23 </body> 23 </body>
24 </html> 24 </html>
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698