summaryrefslogtreecommitdiffstats
path: root/chrome/browser/browser.cc
diff options
context:
space:
mode:
Diffstat (limited to 'chrome/browser/browser.cc')
-rw-r--r--chrome/browser/browser.cc10
1 files changed, 0 insertions, 10 deletions
diff --git a/chrome/browser/browser.cc b/chrome/browser/browser.cc
index a8e5469..1a037c5 100644
--- a/chrome/browser/browser.cc
+++ b/chrome/browser/browser.cc
@@ -2264,17 +2264,7 @@ void Browser::InitCommandState() {
// Page-related commands
command_updater_.UpdateCommandEnabled(IDC_CLOSE_POPUPS, true);
- // TODO(estade): remove these ifdefs when printing is fully supported.
-#if defined(OS_LINUX)
-#if defined(TOOLKIT_GTK)
- command_updater_.UpdateCommandEnabled(IDC_PRINT,
- CommandLine::ForCurrentProcess()->HasSwitch(switches::kEnablePrinting));
-#elif defined(TOOLKIT_VIEWS)
- command_updater_.UpdateCommandEnabled(IDC_PRINT, false);
-#endif
-#else // !defined(OS_LINUX)
command_updater_.UpdateCommandEnabled(IDC_PRINT, true);
-#endif
command_updater_.UpdateCommandEnabled(IDC_ENCODING_AUTO_DETECT, true);
command_updater_.UpdateCommandEnabled(IDC_ENCODING_UTF8, true);
command_updater_.UpdateCommandEnabled(IDC_ENCODING_UTF16LE, true);