diff options
author | derat@chromium.org <derat@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2010-12-29 00:33:59 +0000 |
---|---|---|
committer | derat@chromium.org <derat@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2010-12-29 00:33:59 +0000 |
commit | 18608c49395a6bda33a32ad6a286227a1eb76c2f (patch) | |
tree | e84729cf59378d956b502e3871f797df93a3e4eb /chrome/browser/browser_about_handler.h | |
parent | c4a065c728d22c2a2d57fa6d6f675ef9f1ae73c3 (diff) | |
download | chromium_src-18608c49395a6bda33a32ad6a286227a1eb76c2f.zip chromium_src-18608c49395a6bda33a32ad6a286227a1eb76c2f.tar.gz chromium_src-18608c49395a6bda33a32ad6a286227a1eb76c2f.tar.bz2 |
chromeos: Fix DOMUI about:credits link.
The renderer doesn't let us link to about:credits, so make
the DOMUI settings page link to chrome://about/credits
instead (and initialize the about handler's data source when
the settings page is opened). Also open these links in new
tabs instead of in the current one.
BUG=chromium-os:6728
TEST=built for chrome os and linux and checked that credits links work in both cases
Review URL: http://codereview.chromium.org/5315006
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@70246 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'chrome/browser/browser_about_handler.h')
-rw-r--r-- | chrome/browser/browser_about_handler.h | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/chrome/browser/browser_about_handler.h b/chrome/browser/browser_about_handler.h index e0a0dbf..46ae100 100644 --- a/chrome/browser/browser_about_handler.h +++ b/chrome/browser/browser_about_handler.h @@ -26,6 +26,10 @@ class Profile; // This is used by BrowserURLHandler. bool WillHandleBrowserAboutURL(GURL* url, Profile* profile); +// Register the data source for chrome://about URLs. +// Safe to call multiple times. +void InitializeAboutDataSource(); + // We have a few magic commands that don't cause navigations, but rather pop up // dialogs. This function handles those cases, and returns true if so. In this // case, normal tab navigation should be skipped. |