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

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

Issue 8564040: Revert 110035 - Print Preview: Making margin selection sticky (part 2/2) (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src/
Patch Set: 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
« no previous file with comments | « chrome/renderer/print_web_view_helper.cc ('k') | printing/page_size_margins.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: chrome/test/data/webui/print_preview.js
===================================================================
--- chrome/test/data/webui/print_preview.js (revision 110039)
+++ chrome/test/data/webui/print_preview.js (working copy)
@@ -26,7 +26,7 @@
* @override
*/
preLoad: function() {
- this.makeAndRegisterMockHandler(['getInitialSettings',
+ this.makeAndRegisterMockHandler(['getDefaultPrinter',
'getPrinters',
'getPreview',
'print',
@@ -45,7 +45,7 @@
// Register stubs for methods expected to be called before tests
// run. Specific expectations can be made in the tests themselves.
- this.mockHandler.stubs().getInitialSettings().
+ this.mockHandler.stubs().getDefaultPrinter().
will(callFunction(function() {
setDefaultPrinter('FooDevice');
}));
« no previous file with comments | « chrome/renderer/print_web_view_helper.cc ('k') | printing/page_size_margins.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698