Index: chrome/browser/printing/print_preview_tab_controller.h |
=================================================================== |
--- chrome/browser/printing/print_preview_tab_controller.h (revision 101261) |
+++ chrome/browser/printing/print_preview_tab_controller.h (working copy) |
@@ -21,6 +21,7 @@ |
#include "content/common/notification_registrar.h" |
class Browser; |
+class GURL; |
class RenderProcessHost; |
class TabContentsWrapper; |
@@ -65,6 +66,9 @@ |
// Returns true if |tab| is a print preview tab. |
static bool IsPrintPreviewTab(TabContentsWrapper* tab); |
+ // Returns true if |url| is a print preview url. |
+ static bool IsPrintPreviewURL(const GURL& url); |
+ |
// Erase the initiator tab info associated with |preview_tab|. |
void EraseInitiatorTabInfo(TabContentsWrapper* preview_tab); |