summaryrefslogtreecommitdiffstats
path: root/chrome/renderer/renderer_main.cc
diff options
context:
space:
mode:
authorestade@chromium.org <estade@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2009-02-05 21:12:13 +0000
committerestade@chromium.org <estade@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2009-02-05 21:12:13 +0000
commit909c7efcdaa54cca0bd7fc95e191d9087e7c2f96 (patch)
tree69c8644c1a78c26217f5756645851fc026275bc9 /chrome/renderer/renderer_main.cc
parent78648ae56087d1cdb9da03216bc41ad90e57fecf (diff)
downloadchromium_src-909c7efcdaa54cca0bd7fc95e191d9087e7c2f96.zip
chromium_src-909c7efcdaa54cca0bd7fc95e191d9087e7c2f96.tar.gz
chromium_src-909c7efcdaa54cca0bd7fc95e191d9087e7c2f96.tar.bz2
Build the rest of renderer on linux (except plugins).
Review URL: http://codereview.chromium.org/20092 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@9256 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'chrome/renderer/renderer_main.cc')
-rw-r--r--chrome/renderer/renderer_main.cc11
1 files changed, 4 insertions, 7 deletions
diff --git a/chrome/renderer/renderer_main.cc b/chrome/renderer/renderer_main.cc
index b6d4dfe..ff13fdb 100644
--- a/chrome/renderer/renderer_main.cc
+++ b/chrome/renderer/renderer_main.cc
@@ -15,9 +15,6 @@
#include "chrome/common/logging_chrome.h"
#include "chrome/common/main_function_params.h"
#include "chrome/common/resource_bundle.h"
-#if defined(OS_WIN)
-#include "chrome/common/win_util.h"
-#endif
#include "chrome/renderer/renderer_main_platform_delegate.h"
#include "chrome/renderer/render_process.h"
@@ -42,9 +39,9 @@ static void HandleRendererErrorTestParameters(const CommandLine& command_line) {
#if defined(OS_WIN)
std::wstring title = l10n_util::GetString(IDS_PRODUCT_NAME);
title += L" renderer"; // makes attaching to process easier
- MessageBox(NULL, L"renderer starting...", title.c_str(),
- MB_OK | MB_SETFOREGROUND);
-#else if defined(OS_MACOSX)
+ ::MessageBox(NULL, L"renderer starting...", title.c_str(),
+ MB_OK | MB_SETFOREGROUND);
+#elif defined(OS_POSIX)
// 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.
// This is just to ease debugging in the interim.
@@ -52,7 +49,7 @@ static void HandleRendererErrorTestParameters(const CommandLine& command_line) {
<< getpid()
<< ") paused waiting for debugger to attach @ pid" ;
pause();
-#endif // !OS_WIN
+#endif // defined(OS_POSIX)
}
}