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

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

Issue 7670073: ntp4: disable animations for pages that are off screen (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Created 9 years, 4 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
« no previous file with comments | « chrome/browser/resources/ntp4/new_tab.css ('k') | chrome/browser/resources/ntp4/new_tab.js » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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 <head> 8 <head>
8 <meta charset="utf-8"> 9 <meta charset="utf-8">
9 <title i18n-content="title"></title> 10 <title i18n-content="title"></title>
10 <!-- Don't scale the viewport in either portrait or landscape mode. 11 <!-- Don't scale the viewport in either portrait or landscape mode.
11 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).
12 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
13 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
14 of unusable space at the bottom. 15 of unusable space at the bottom.
15 --> 16 -->
16 <meta name="viewport" 17 <meta name="viewport"
(...skipping 100 matching lines...) Expand 10 before | Expand all | Expand 10 after
117 <a class="title"></a> 118 <a class="title"></a>
118 </div> 119 </div>
119 120
120 <!-- Bookmarks Title Wrapper --> 121 <!-- Bookmarks Title Wrapper -->
121 <div id="bookmarks-title-wrapper" class="section-title-wrapper" hidden> 122 <div id="bookmarks-title-wrapper" class="section-title-wrapper" hidden>
122 <div class="section-title-mask"></div> 123 <div class="section-title-mask"></div>
123 <div class="section-title"></div> 124 <div class="section-title"></div>
124 </div> 125 </div>
125 126
126 </html> 127 </html>
OLDNEW
« no previous file with comments | « chrome/browser/resources/ntp4/new_tab.css ('k') | chrome/browser/resources/ntp4/new_tab.js » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698