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

Unified Diff: chrome/browser/ui/webui/print_preview_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/ui/webui/print_preview_handler.h
===================================================================
--- chrome/browser/ui/webui/print_preview_handler.h (revision 98744)
+++ chrome/browser/ui/webui/print_preview_handler.h (working copy)
@@ -16,6 +16,7 @@
class FilePath;
class PrintSystemTaskProxy;
+class TabContentsWrapper;
namespace base {
class FundamentalValue;
@@ -65,7 +66,8 @@
private:
friend class PrintSystemTaskProxy;
- TabContents* preview_tab();
+ TabContentsWrapper* preview_tab_wrapper() const;
+ TabContents* preview_tab() const;
// Gets the default printer. |args| is unused.
void HandleGetDefaultPrinter(const base::ListValue* args);
@@ -138,7 +140,7 @@
std::string print_ticket);
// Gets the initiator tab for the print preview tab.
- TabContents* GetInitiatorTab();
+ TabContentsWrapper* GetInitiatorTab() const;
// Closes the print preview tab.
void ClosePrintPreviewTab();

Powered by Google App Engine
This is Rietveld 408576698