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

Unified Diff: chrome/browser/browser.cc

Issue 211036: Linux: Remove linux splash page and printing command line switch.... (Closed) Base URL: svn://chrome-svn/chrome/trunk/src/
Patch Set: Created 11 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/browser_about_handler.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: chrome/browser/browser.cc
===================================================================
--- chrome/browser/browser.cc (revision 26621)
+++ chrome/browser/browser.cc (working copy)
@@ -2264,17 +2264,7 @@
// 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);
« no previous file with comments | « no previous file | chrome/browser/browser_about_handler.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698