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

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

Issue 10535045: TabContentsWrapper -> TabContents, for printing code. (Closed) Base URL: svn://chrome-svn/chrome/trunk/src/
Patch Set: Created 8 years, 6 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 140896)
+++ chrome/browser/printing/print_preview_message_handler.h (working copy)
@@ -11,7 +11,6 @@
class PrintPreviewUI;
class TabContents;
-typedef TabContents TabContentsWrapper;
struct PrintHostMsg_DidGetPreviewPageCount_Params;
struct PrintHostMsg_DidPreviewDocument_Params;
struct PrintHostMsg_DidPreviewPage_Params;
@@ -24,9 +23,9 @@
struct PageSizeMargins;
-// TabContentsWrapper offloads print preview message handling to
+// TabContents offloads print preview message handling to
// PrintPreviewMessageHandler. This object has the same life time as the
-// TabContentsWrapper that owns it.
+// TabContents that owns it.
class PrintPreviewMessageHandler : public content::WebContentsObserver {
public:
explicit PrintPreviewMessageHandler(content::WebContents* web_contents);
@@ -39,10 +38,10 @@
private:
// Gets the print preview tab associated with the WebContents being observed.
- TabContentsWrapper* GetPrintPreviewTab();
+ TabContents* GetPrintPreviewTab();
- // Helper function to return the TabContentsWrapper for web_contents().
- TabContentsWrapper* tab_contents_wrapper();
+ // Helper function to return the TabContents for web_contents().
+ TabContents* tab_contents();
// Gets the PrintPreviewUI associated with the WebContents being observed.
PrintPreviewUI* GetPrintPreviewUI();

Powered by Google App Engine
This is Rietveld 408576698