Index: chrome/browser/ui/browser_commands.cc |
diff --git a/chrome/browser/ui/browser_commands.cc b/chrome/browser/ui/browser_commands.cc |
index 351396bd7ef6364f160c1a9808c9233ae80ae91c..99d836d51db6b963922f607958fff643f49c9b08 100644 |
--- a/chrome/browser/ui/browser_commands.cc |
+++ b/chrome/browser/ui/browser_commands.cc |
@@ -268,6 +268,7 @@ bool IsShowingWebContentsModalDialog(Browser* browser) { |
return browser->popup_manager()->IsWebModalDialogActive(web_contents); |
} |
+#if !defined(DISABLE_BASIC_PRINTING) |
bool PrintPreviewShowing(const Browser* browser) { |
#if defined(ENABLE_FULL_PRINTING) |
WebContents* contents = browser->tab_strip_model()->GetActiveWebContents(); |
@@ -279,6 +280,7 @@ bool PrintPreviewShowing(const Browser* browser) { |
return false; |
#endif |
} |
+#endif // !DISABLE_BASIC_PRINTING |
} // namespace |