From 54352ae4bb809203c88c9c1da9b888ce49091cd3 Mon Sep 17 00:00:00 2001 From: "estade@chromium.org" Date: Tue, 10 Mar 2009 00:44:25 +0000 Subject: Get rid of renderer startup dialog implementation on linux. That flag has been replaced in functionality by --renderer-cmd-prefix. Review URL: http://codereview.chromium.org/41021 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@11314 0039d316-1c4b-4281-b951-d872f2087c98 --- chrome/renderer/renderer_main.cc | 12 ------------ 1 file changed, 12 deletions(-) (limited to 'chrome/renderer') diff --git a/chrome/renderer/renderer_main.cc b/chrome/renderer/renderer_main.cc index dd8a2ba..7654a4d 100644 --- a/chrome/renderer/renderer_main.cc +++ b/chrome/renderer/renderer_main.cc @@ -22,10 +22,6 @@ #include "grit/chromium_strings.h" #include "grit/generated_resources.h" -#if defined(OS_LINUX) -#include -#endif - // This function provides some ways to test crash and assertion handling // behavior of the renderer. static void HandleRendererErrorTestParameters(const CommandLine& command_line) { @@ -46,14 +42,6 @@ static void HandleRendererErrorTestParameters(const CommandLine& command_line) { title += L" renderer"; // makes attaching to process easier ::MessageBox(NULL, L"renderer starting...", title.c_str(), MB_OK | MB_SETFOREGROUND); -#elif defined(OS_LINUX) - // TODO(port): create an abstraction layer for dialog boxes and use it here. - GtkWidget* dialog = gtk_message_dialog_new( - NULL, GTK_DIALOG_MODAL, GTK_MESSAGE_INFO, GTK_BUTTONS_OK, - "Attach to renderer at pid %d.", getpid()); - gtk_window_set_title(GTK_WINDOW(dialog), "Renderer starting..."); - gtk_dialog_run(GTK_DIALOG(dialog)); // Runs a nested message loop. - gtk_widget_destroy(dialog); #elif defined(OS_MACOSX) // TODO(playmobil): In the long term, overriding this flag doesn't seem // right, either use our own flag or open a dialog we can use. -- cgit v1.1