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

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

Issue 7918011: Print Preview: Disable right click -> "Save As" for preview PDF. Users should just print to PDF i... (Closed) Base URL: svn://chrome-svn/chrome/trunk/src/
Patch Set: '' Created 9 years, 3 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
« no previous file with comments | « no previous file | chrome/browser/printing/print_preview_tab_controller.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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);
« no previous file with comments | « no previous file | chrome/browser/printing/print_preview_tab_controller.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698