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

Unified Diff: chrome/test/data/webui/print_preview.js

Issue 7891016: Print Preview: Adding UI for margin settings. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Fixing tests again. Created 9 years, 2 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 side-by-side diff with in-line comments
Download patch
« no previous file with comments | « chrome/browser/resources/print_preview/print_preview_utils_test.html ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: chrome/test/data/webui/print_preview.js
diff --git a/chrome/test/data/webui/print_preview.js b/chrome/test/data/webui/print_preview.js
index b47e9aff6ba14994b97e2ed4c5704625cce9b255..a24d0fa19a325b3234db5bb077aeb6c71693758c 100644
--- a/chrome/test/data/webui/print_preview.js
+++ b/chrome/test/data/webui/print_preview.js
@@ -167,6 +167,19 @@ PrintPreviewWebUITest.prototype = {
pdfViewer.removePrintButton = fakeFunction;
pdfViewer.fitToHeight = fakeFunction;
pdfViewer.grayscale = fakeFunction;
+ pdfViewer.getZoomLevel = fakeFunction;
+ pdfViewer.setZoomLevel = fakeFunction;
+ pdfViewer.pageXOffset = fakeFunction;
+ pdfViewer.pageYOffset = fakeFunction;
+ pdfViewer.setPageXOffset = fakeFunction;
+ pdfViewer.setPageYOffset = fakeFunction;
+ pdfViewer.getHeight = fakeFunction;
+ pdfViewer.getWidth = fakeFunction;
+ pdfViewer.getPageLocationNormalized = fakeFunction;
+ pdfViewer.onScroll = fakeFunction;
+ pdfViewer.onPluginSizeChanged = fakeFunction;
+ pdfViewer.getHorizontalScrollbarThickness = fakeFunction;
+ pdfViewer.getVerticalScrollbarThickness = fakeFunction;
$('mainview').appendChild(pdfViewer);
onPDFLoad();
},
« no previous file with comments | « chrome/browser/resources/print_preview/print_preview_utils_test.html ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698