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

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

Issue 7056070: PrintPreview: Preview generation should not block print button. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: '' Created 9 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_tab_controller.h
diff --git a/chrome/browser/printing/print_preview_tab_controller.h b/chrome/browser/printing/print_preview_tab_controller.h
index 90e0a0f5a31f1cd5eda26adb1c9adb2ee21381d2..7c030163b93bbf3e9c7a5da33eac0833b59b90c5 100644
--- a/chrome/browser/printing/print_preview_tab_controller.h
+++ b/chrome/browser/printing/print_preview_tab_controller.h
@@ -60,6 +60,9 @@ class PrintPreviewTabController
// Returns true if |tab| is a print preview tab.
static bool IsPrintPreviewTab(TabContents* tab);
+ // Erase the initiator tab info associated with |preview_tab|.
+ void EraseInitiatorTabInfo(TabContents* preview_tab);
Lei Zhang 2011/06/09 09:54:55 Can we add a unit test for this? Should be easy.
kmadhusu 2011/06/09 18:11:44 Done.
+
private:
friend class base::RefCounted<PrintPreviewTabController>;

Powered by Google App Engine
This is Rietveld 408576698