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

Unified Diff: chrome/browser/printing/print_view_manager.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_view_manager.h
===================================================================
--- chrome/browser/printing/print_view_manager.h (revision 140896)
+++ chrome/browser/printing/print_view_manager.h (working copy)
@@ -14,7 +14,6 @@
#include "printing/printed_pages_source.h"
class TabContents;
-typedef TabContents TabContentsWrapper;
struct PrintHostMsg_DidPrintPage_Params;
namespace content {
@@ -28,14 +27,14 @@
class PrintJobWorkerOwner;
class PrintViewManagerObserver;
-// Manages the print commands in relation to a TabContentsWrapper.
-// TabContentsWrapper delegates a few printing related commands to this
+// Manages the print commands in relation to a TabContents.
+// TabContents delegates a few printing related commands to this
// instance.
class PrintViewManager : public content::NotificationObserver,
public PrintedPagesSource,
public content::WebContentsObserver {
public:
- explicit PrintViewManager(TabContentsWrapper* tab);
+ explicit PrintViewManager(TabContents* tab);
virtual ~PrintViewManager();
// Prints the current document immediately. Since the rendering is
@@ -163,8 +162,8 @@
// Release the PrinterQuery associated with our |cookie_|.
void ReleasePrinterQuery();
- // TabContentsWrapper we're associated with.
- TabContentsWrapper* tab_;
+ // TabContents we're associated with.
+ TabContents* tab_;
content::NotificationRegistrar registrar_;
« no previous file with comments | « chrome/browser/printing/print_preview_tab_controller_unittest.cc ('k') | chrome/browser/printing/print_view_manager.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698