summaryrefslogtreecommitdiffstats
path: root/chrome/browser/browser_about_handler.cc
diff options
context:
space:
mode:
authorjam@chromium.org <jam@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2013-01-31 06:48:35 +0000
committerjam@chromium.org <jam@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2013-01-31 06:48:35 +0000
commit963dd66d50e38cc8957b251b786836e5ba2fa077 (patch)
tree3554572a9f34fad208770c90a93ee9517330ea92 /chrome/browser/browser_about_handler.cc
parent98838d5e0fc1266e0312fe03e07082836e7cd684 (diff)
downloadchromium_src-963dd66d50e38cc8957b251b786836e5ba2fa077.zip
chromium_src-963dd66d50e38cc8957b251b786836e5ba2fa077.tar.gz
chromium_src-963dd66d50e38cc8957b251b786836e5ba2fa077.tar.bz2
Small refactorings on chrome://gpu before I move it to src/content.
-remove chrome://gpu-internals and just have chrome://gpu -remove tabs since that is empty and just links to chrome://tracing (also will be moved in a future change) -move the disable panel fitting switch to content. the gpu feature flag is already there, so this seems equivalent -get the version from ContentClient. This is slightly less information, but it's possible to extrapolate the rest -don't duplicate the list of crashes (checked with Tom that this is ok) BUG=169170 Review URL: https://codereview.chromium.org/12095073 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@179811 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'chrome/browser/browser_about_handler.cc')
-rw-r--r--chrome/browser/browser_about_handler.cc5
1 files changed, 1 insertions, 4 deletions
diff --git a/chrome/browser/browser_about_handler.cc b/chrome/browser/browser_about_handler.cc
index e848c8b..45e00c5 100644
--- a/chrome/browser/browser_about_handler.cc
+++ b/chrome/browser/browser_about_handler.cc
@@ -29,7 +29,7 @@ const char* const kPaths[] = {
chrome::kChromeUICreditsHost,
chrome::kChromeUIDNSHost,
chrome::kChromeUIFlagsHost,
- chrome::kChromeUIGpuInternalsHost,
+ chrome::kChromeUIGpuHost,
chrome::kChromeUIHistoryHost,
chrome::kChromeUIIPCHost,
chrome::kChromeUIMediaInternalsHost,
@@ -119,9 +119,6 @@ bool WillHandleBrowserAboutURL(GURL* url,
// Replace cache with view-http-cache.
if (host == chrome::kChromeUICacheHost) {
host = chrome::kChromeUINetworkViewCacheHost;
- // Replace gpu with gpu-internals.
- } else if (host == chrome::kChromeUIGpuHost) {
- host = chrome::kChromeUIGpuInternalsHost;
// Replace sync with sync-internals (for legacy reasons).
} else if (host == chrome::kChromeUISyncHost) {
host = chrome::kChromeUISyncInternalsHost;