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

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

Issue 8695007: Replace TOUCH_UI condition in WebUI with dynamic flag. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Tiny tweaks based on CR feedback Created 9 years 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=" 2 <html i18n-values="
3 dir:textdirection; 3 dir:textdirection;
4 hasattribution:hasattribution; 4 hasattribution:hasattribution;
5 customlogo:customlogo; 5 customlogo:customlogo;
6 themegravity:themegravity;" 6 themegravity:themegravity;"
7 class="starting-up"> 7 class="starting-up">
8 <head> 8 <head>
9 <meta charset="utf-8"> 9 <meta charset="utf-8">
10 <title i18n-content="title"></title> 10 <title i18n-content="title"></title>
11 <!-- Don't scale the viewport in either portrait or landscape mode. 11 <!-- Don't scale the viewport in either portrait or landscape mode.
12 Note that this means apps will be reflowed when rotated (like iPad). 12 Note that this means apps will be reflowed when rotated (like iPad).
13 If we wanted to maintain position we could remove 'maximum-scale' so 13 If we wanted to maintain position we could remove 'maximum-scale' so
14 that we'd zoom out in portrait mode, but then there would be a bunch 14 that we'd zoom out in portrait mode, but then there would be a bunch
15 of unusable space at the bottom. 15 of unusable space at the bottom.
16 --> 16 -->
17 <meta name="viewport" 17 <meta name="viewport"
18 content="user-scalable=no, width=device-width, maximum-scale=1.0"> 18 content="user-scalable=no, width=device-width, maximum-scale=1.0">
19 19
20 <!-- It's important that this be the first script loaded. --> 20 <!-- It's important that this be the first script loaded. -->
21 <script src="logging.js"></script> 21 <script src="logging.js"></script>
22 22
23 <if expr="pp_ifdef('touchui')">
24 <script>
25 document.documentElement.setAttribute('touchui', true);
26 </script>
27 </if>
28
29 <link rel="stylesheet" href="../shared/css/button.css"> 23 <link rel="stylesheet" href="../shared/css/button.css">
30 <link rel="stylesheet" href="../shared/css/bubble.css"> 24 <link rel="stylesheet" href="../shared/css/bubble.css">
31 <link rel="stylesheet" href="../shared/css/expandable_bubble.css"> 25 <link rel="stylesheet" href="../shared/css/expandable_bubble.css">
32 <link rel="stylesheet" href="../shared/css/menu.css"> 26 <link rel="stylesheet" href="../shared/css/menu.css">
33 <link rel="stylesheet" href="apps_page.css"> 27 <link rel="stylesheet" href="apps_page.css">
34 <link rel="stylesheet" href="bookmarks_page.css"> 28 <link rel="stylesheet" href="bookmarks_page.css">
35 <link rel="stylesheet" href="most_visited_page.css"> 29 <link rel="stylesheet" href="most_visited_page.css">
36 <link rel="stylesheet" href="nav_dot.css"> 30 <link rel="stylesheet" href="nav_dot.css">
37 <link rel="stylesheet" href="new_tab.css"> 31 <link rel="stylesheet" href="new_tab.css">
38 <link rel="stylesheet" href="recently_closed.css"> 32 <link rel="stylesheet" href="recently_closed.css">
(...skipping 156 matching lines...) Expand 10 before | Expand all | Expand 10 after
195 </div> 189 </div>
196 190
197 <!-- Bookmarks Import Data Link --> 191 <!-- Bookmarks Import Data Link -->
198 <div id="bookmarks-import-data-link-template" 192 <div id="bookmarks-import-data-link-template"
199 class="bookmarks-import-data-link-wrapper" hidden> 193 class="bookmarks-import-data-link-wrapper" hidden>
200 <a href="chrome://settings/importData" 194 <a href="chrome://settings/importData"
201 i18n-content="importDataLinkTitle" class="link-color"></a> 195 i18n-content="importDataLinkTitle" class="link-color"></a>
202 </div> 196 </div>
203 197
204 </html> 198 </html>
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698