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

Unified Diff: chrome/renderer/print_web_view_helper.h

Issue 7831041: Fix print preview workflow to reflect settings of selected printer. (Closed) Base URL: http://git.chromium.org/git/chromium.git@trunk
Patch Set: Update per code review Created 9 years, 3 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
Index: chrome/renderer/print_web_view_helper.h
diff --git a/chrome/renderer/print_web_view_helper.h b/chrome/renderer/print_web_view_helper.h
index 82d5e034e4548ade1936d77da43e6ac013fd40a3..b5ef9b60a9d4a7e008f9a6fcfa6dfea2c6a5e941 100644
--- a/chrome/renderer/print_web_view_helper.h
+++ b/chrome/renderer/print_web_view_helper.h
@@ -172,14 +172,11 @@ class PrintWebViewHelper : public RenderViewObserver,
// Print Settings -----------------------------------------------------------
// Initialize print page settings with default settings.
- bool InitPrintSettings(WebKit::WebFrame* frame,
- WebKit::WebNode* node,
- bool is_preview);
-
- // Initialize print page settings with default settings and prepare the frame
- // for print. A new PrepareFrameAndViewForPrint is created to fulfill the
- // request and is filled into the |prepare| argument.
- bool InitPrintSettingsAndPrepareFrame(
+ bool InitPrintSettings(WebKit::WebFrame* frame);
+
+ // Prepare the frame for print. A new PrepareFrameAndViewForPrint is created
+ // to fulfill the request and is filled into the |prepare| argument.
+ bool PrepareFrame(
WebKit::WebFrame* frame,
WebKit::WebNode* node,
scoped_ptr<PrepareFrameAndViewForPrint>* prepare);

Powered by Google App Engine
This is Rietveld 408576698