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

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

Issue 8351048: Print Preview: Making margin selection sticky (part 2/2) (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Updating PrintPreviewWebUITests Created 9 years, 1 month 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
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 7b0ce330c4717589cae655fa646111bbf0e43070..173b1a2b2ec31ff6274070c5dbe79f8a41f677c7 100644
--- a/chrome/test/data/webui/print_preview.js
+++ b/chrome/test/data/webui/print_preview.js
@@ -37,7 +37,7 @@ PrintPreviewWebUITest.prototype = {
function MockPrintPreviewHandler() {}
MockPrintPreviewHandler.prototype = {
- getDefaultPrinter: function() {},
+ getInitialSettings: function() {},
getPrinters: function() {},
getPreview: function(settings, draft_page_count, modifiable) {},
print: function(settings) {},
@@ -58,7 +58,7 @@ PrintPreviewWebUITest.prototype = {
// called before tests run. Specific expectations can be made in the
// tests themselves.
var mockHandler = this.mockHandler = mock(MockPrintPreviewHandler);
- mockHandler.stubs().getDefaultPrinter().
+ mockHandler.stubs().getInitialSettings().
will(callFunction(function() {
setDefaultPrinter('FooDevice');
}));

Powered by Google App Engine
This is Rietveld 408576698