diff options
author | estade@chromium.org <estade@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2009-03-10 00:44:25 +0000 |
---|---|---|
committer | estade@chromium.org <estade@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2009-03-10 00:44:25 +0000 |
commit | 54352ae4bb809203c88c9c1da9b888ce49091cd3 (patch) | |
tree | ed165580e65aa922e91dbc421ea7dc77dbef20f3 /chrome/renderer | |
parent | b0f3bd23ae1250bcb1b81674e0d8c46c3a06946e (diff) | |
download | chromium_src-54352ae4bb809203c88c9c1da9b888ce49091cd3.zip chromium_src-54352ae4bb809203c88c9c1da9b888ce49091cd3.tar.gz chromium_src-54352ae4bb809203c88c9c1da9b888ce49091cd3.tar.bz2 |
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
Diffstat (limited to 'chrome/renderer')
-rw-r--r-- | chrome/renderer/renderer_main.cc | 12 |
1 files changed, 0 insertions, 12 deletions
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 <gtk/gtk.h> -#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. |