summaryrefslogtreecommitdiffstats
path: root/chrome/browser/browser_about_handler.cc
diff options
context:
space:
mode:
authorbrettw@chromium.org <brettw@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2009-02-03 17:47:07 +0000
committerbrettw@chromium.org <brettw@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2009-02-03 17:47:07 +0000
commitf56f0bf3d4ead673b49ba29123386c8302f3fcb0 (patch)
tree55594e76ce52db17e3579d547346b143fdad69d7 /chrome/browser/browser_about_handler.cc
parent6c1495cfeac8fbe96263db768c2cf7dadea5993d (diff)
downloadchromium_src-f56f0bf3d4ead673b49ba29123386c8302f3fcb0.zip
chromium_src-f56f0bf3d4ead673b49ba29123386c8302f3fcb0.tar.gz
chromium_src-f56f0bf3d4ead673b49ba29123386c8302f3fcb0.tar.bz2
Move the about:ipc tab to a dialog. This patch is kind of a hack, the Windows
specific code for the settings dialog and the table view are just copied from the old dialog. I tried to change as little as possible. The only significant change should be that I commented out saving the settings in the profile. Review URL: http://codereview.chromium.org/19741 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@9090 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'chrome/browser/browser_about_handler.cc')
-rw-r--r--chrome/browser/browser_about_handler.cc12
1 files changed, 6 insertions, 6 deletions
diff --git a/chrome/browser/browser_about_handler.cc b/chrome/browser/browser_about_handler.cc
index 91df8c4..457b5a8 100644
--- a/chrome/browser/browser_about_handler.cc
+++ b/chrome/browser/browser_about_handler.cc
@@ -29,7 +29,7 @@
#include "chrome/browser/profile_manager.h"
#include "chrome/browser/renderer_host/render_process_host.h"
#include "chrome/browser/renderer_host/render_view_host.h"
-#include "chrome/browser/tab_contents/ipc_status_view.h"
+#include "chrome/browser/views/about_ipc_dialog.h"
#include "chrome/browser/views/about_network_dialog.h"
#include "chrome/common/jstemplate_builder.h"
#include "chrome/common/l10n_util.h"
@@ -185,11 +185,11 @@ bool BrowserAboutHandler::MaybeHandle(GURL* url,
}
#ifdef IPC_MESSAGE_LOG_ENABLED
- if ((LowerCaseEqualsASCII(url->path(), "ipc")) &&
- (IPCStatusView::current() == NULL)) {
- // about:ipc doesn't have an internal protocol, so don't modify |url|.
- *result_type = TAB_CONTENTS_IPC_STATUS_VIEW;
- return true;
+ if (LowerCaseEqualsASCII(url->path(), "ipc")) {
+ // Run the dialog. This will re-use the existing one if it's already up.
+ AboutIPCDialog::RunDialog();
+ *url = GURL("about:blank");
+ return false;
}
#endif