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

Side by Side Diff: chrome/browser/resources/pdf/pdf.js

Issue 111723010: Added toolbar Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: . Created 7 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
« no previous file with comments | « chrome/browser/resources/pdf/pdf.html ('k') | chrome/browser/resources/pdf/polymer_loader.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 // Copyright 2013 The Chromium Authors. All rights reserved. 1 // Copyright (c) 2013 The Chromium Authors. All rights reserved.
2 // Use of this source code is governed by a BSD-style license that can be 2 // Use of this source code is governed by a BSD-style license that can be
3 // found in the LICENSE file. 3 // found in the LICENSE file.
4 4
5 (function() { 5 (function() {
6 6
7 var plugin; 7 var plugin;
8 var sizer; 8 var sizer;
9 9
10 function onScroll() { 10 function onScroll() {
11 var coordinates = [window.pageXOffset, window.pageYOffset]; 11 var coordinates = [window.pageXOffset, window.pageYOffset];
(...skipping 30 matching lines...) Expand all
42 sizer.style.zIndex = '0'; 42 sizer.style.zIndex = '0';
43 sizer.style.position = 'absolute'; 43 sizer.style.position = 'absolute';
44 sizer.style.width = '100%'; 44 sizer.style.width = '100%';
45 sizer.style.height = '100%'; 45 sizer.style.height = '100%';
46 document.body.appendChild(sizer); 46 document.body.appendChild(sizer);
47 } 47 }
48 48
49 load(); 49 load();
50 50
51 })(); 51 })();
OLDNEW
« no previous file with comments | « chrome/browser/resources/pdf/pdf.html ('k') | chrome/browser/resources/pdf/polymer_loader.js » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698