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

Unified Diff: chrome/browser/chrome_browser_main_posix.cc

Issue 231733005: Delete the GTK+ port of Chrome. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Remerge to ToT Created 6 years, 8 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
Index: chrome/browser/chrome_browser_main_posix.cc
diff --git a/chrome/browser/chrome_browser_main_posix.cc b/chrome/browser/chrome_browser_main_posix.cc
index 9bdacc7eedf10c5ef232bcee4fcb24bacd8d4252..6067aef970795be7f78779d650d0923a41d6d381 100644
--- a/chrome/browser/chrome_browser_main_posix.cc
+++ b/chrome/browser/chrome_browser_main_posix.cc
@@ -27,15 +27,6 @@
#include "content/public/browser/notification_registrar.h"
#include "content/public/browser/notification_service.h"
-#if defined(TOOLKIT_GTK)
-#include "chrome/browser/ui/gtk/chrome_browser_main_extra_parts_gtk.h"
-
-#if defined(ENABLE_PRINTING)
-#include "chrome/browser/printing/print_dialog_gtk.h"
-#include "chrome/browser/printing/printing_gtk_util.h"
-#endif // defined(ENABLE_PRINTING)
-#endif // defined(TOOLKIT_GTK)
-
using content::BrowserThread;
namespace {
@@ -351,13 +342,6 @@ void ChromeBrowserMainPartsPosix::PostMainMessageLoopStart() {
// distros send SIGHUP, SIGTERM, and then SIGKILL.
action.sa_handler = SIGHUPHandler;
CHECK(sigaction(SIGHUP, &action, NULL) == 0);
-
-#if defined(TOOLKIT_GTK) && defined(ENABLE_PRINTING)
- printing::PrintingContextLinux::SetCreatePrintDialogFunction(
- &PrintDialogGtk::CreatePrintDialog);
- printing::PrintingContextLinux::SetPdfPaperSizeFunction(
- &GetPdfPaperSizeDeviceUnitsGtk);
-#endif
}
void ChromeBrowserMainPartsPosix::ShowMissingLocaleMessageBox() {
@@ -366,9 +350,6 @@ void ChromeBrowserMainPartsPosix::ShowMissingLocaleMessageBox() {
#elif defined(OS_MACOSX)
// Not called on Mac because we load the locale files differently.
NOTREACHED();
-#elif defined(TOOLKIT_GTK)
- ChromeBrowserMainExtraPartsGtk::ShowMessageBox(
- chrome_browser::kMissingLocaleDataMessage);
#elif defined(USE_AURA)
// TODO(port): We may want a views based message dialog here eventually, but
// for now, crash.

Powered by Google App Engine
This is Rietveld 408576698