Cleanup: Move TabContent::PrintNow() out of src/content.
BUG=76795
Review URL: http://codereview.chromium.org/6872003
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@81799 0039d316-1c4b-4281-b951-d872f2087c98
diff --git a/chrome/browser/printing/print_view_manager.h b/chrome/browser/printing/print_view_manager.h
index be39ec7..fa766c9 100644
--- a/chrome/browser/printing/print_view_manager.h
+++ b/chrome/browser/printing/print_view_manager.h
@@ -36,6 +36,11 @@
// in |tab_contents|.
void OverrideTitle(TabContents* tab_contents);
+ // Prints the current document immediately. Since the rendering is
+ // asynchronous, the actual printing will not be completed on the return of
+ // this function. Returns false if printing is impossible at the moment.
+ bool PrintNow();
+
// PrintedPagesSource implementation.
virtual string16 RenderSourceName();
virtual GURL RenderSourceUrl();