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

Unified Diff: chrome/renderer/render_view.h

Issue 6296018: Cleanup: Merge common code in RenderView::OnPrintPages and RenderView::OnPrin... (Closed) Base URL: svn://chrome-svn/chrome/trunk/src/
Patch Set: Created 9 years, 11 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 | « no previous file | chrome/renderer/render_view.cc » ('j') | chrome/renderer/render_view.cc » ('J')
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: chrome/renderer/render_view.h
===================================================================
--- chrome/renderer/render_view.h (revision 71761)
+++ chrome/renderer/render_view.h (working copy)
@@ -1075,6 +1075,9 @@
const WebKit::WebURLError& error,
bool replace);
+ // Common method for OnPrintPages() and OnPrintPreview().
+ void OnPrint(bool is_preview);
+
// Prints |frame|.
void Print(WebKit::WebFrame* frame, bool script_initiated, bool is_preview);
« no previous file with comments | « no previous file | chrome/renderer/render_view.cc » ('j') | chrome/renderer/render_view.cc » ('J')

Powered by Google App Engine
This is Rietveld 408576698