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

Unified Diff: chrome/browser/ui/browser_commands.cc

Issue 694633002: Disable basic printing on ChromeOS. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Fri Oct 31 10:04:51 PDT 2014 Created 6 years, 2 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
« build/common.gypi ('K') | « build/common.gypi ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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
« build/common.gypi ('K') | « build/common.gypi ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698