Index: chrome/browser/printing/print_view_manager.h |
diff --git a/chrome/browser/printing/print_view_manager.h b/chrome/browser/printing/print_view_manager.h |
index 5406725fb8b178a8c422c3c25930f6278434b2db..d07299b7a2b0097fa9ba94869c9adfc18f42ab20 100644 |
--- a/chrome/browser/printing/print_view_manager.h |
+++ b/chrome/browser/printing/print_view_manager.h |
@@ -22,6 +22,7 @@ class PrintViewManager : public PrintViewManagerBase, |
public: |
virtual ~PrintViewManager(); |
+#if !defined(DISABLE_BASIC_PRINTING) |
// Same as PrintNow(), but for the case where a user prints with the system |
// dialog from print preview. |
bool PrintForSystemDialogNow(); |
@@ -29,7 +30,8 @@ class PrintViewManager : public PrintViewManagerBase, |
// Same as PrintNow(), but for the case where a user press "ctrl+shift+p" to |
// show the native system dialog. This can happen from both initiator and |
// preview dialog. |
- bool AdvancedPrintNow(); |
+ bool BasicPrint(); |
+#endif // !DISABLE_BASIC_PRINTING |
// Initiate print preview of the current document by first notifying the |
// renderer. Since this happens asynchronous, the print preview dialog |