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

Unified Diff: chrome/browser/printing/print_preview_message_handler.h

Issue 7790020: Cleanup: Convert PrintPreviewTabController to use TabContentsWrapper. (Closed) Base URL: svn://chrome-svn/chrome/trunk/src/
Patch Set: '' Created 9 years, 4 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/browser/printing/print_preview_message_handler.h
===================================================================
--- chrome/browser/printing/print_preview_message_handler.h (revision 98744)
+++ chrome/browser/printing/print_preview_message_handler.h (working copy)
@@ -8,6 +8,7 @@
#include "content/browser/tab_contents/tab_contents_observer.h"
+class TabContentsWrapper;
struct PrintHostMsg_DidGetPreviewPageCount_Params;
struct PrintHostMsg_DidPreviewDocument_Params;
struct PrintHostMsg_DidPreviewPage_Params;
@@ -30,7 +31,9 @@
private:
// Gets the print preview tab associated with the TabContents being observed.
- TabContents* GetPrintPreviewTab();
+ TabContentsWrapper* GetPrintPreviewTab();
+ // Helper function to return the TabContentsWrapper for tab_contents().
kmadhusu 2011/08/30 21:00:01 nit: Add a blank line before this.
+ TabContentsWrapper* tab_contents_wrapper();
// Message handlers.
void OnRequestPrintPreview();
« no previous file with comments | « chrome/browser/printing/background_printing_manager.cc ('k') | chrome/browser/printing/print_preview_message_handler.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698