From 9a128b022f10d7080a8fae777d0bbda5750842f8 Mon Sep 17 00:00:00 2001 From: "nduca@chromium.org" Date: Wed, 15 Dec 2010 00:52:00 +0000 Subject: Sitch the about:gpu implementation from an about handler to dom_ui. Generalize tabswitcherview slightly so it doesn't rely on div naming to obtain its styling. BUG=none TEST=none Review URL: http://codereview.chromium.org/5228004 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@69211 0039d316-1c4b-4281-b951-d872f2087c98 --- chrome/common/url_constants.cc | 5 +++++ chrome/common/url_constants.h | 5 +++++ 2 files changed, 10 insertions(+) (limited to 'chrome/common') diff --git a/chrome/common/url_constants.cc b/chrome/common/url_constants.cc index 7b5fe36..12ab2de 100644 --- a/chrome/common/url_constants.cc +++ b/chrome/common/url_constants.cc @@ -54,6 +54,7 @@ const char kAboutCrashURL[] = "about:crash"; const char kAboutCreditsURL[] = "about:credits"; const char kAboutDNSURL[] = "about:dns"; const char kAboutFlagsURL[] = "about:flags"; +const char kAboutGpuURL[] = "about:gpu"; const char kAboutGpuCrashURL[] = "about:gpucrash"; const char kAboutGpuHangURL[] = "about:gpuhang"; const char kAboutHangURL[] = "about:hang"; @@ -113,6 +114,7 @@ const char kChromeUIDownloadsHost[] = "downloads"; const char kChromeUIExtensionsHost[] = "extensions"; const char kChromeUIFavIconHost[] = "favicon"; const char kChromeUIFlagsHost[] = "flags"; +const char kChromeUIGpuInternalsHost[] = "gpu-internals"; const char kChromeUIHistoryHost[] = "history"; const char kChromeUIHistory2Host[] = "history2"; const char kChromeUIInspectorHost[] = "inspector"; @@ -159,6 +161,9 @@ const char kCloudPrintSetupHost[] = "cloudprintsetup"; const char kNetworkViewInternalsURL[] = "chrome://net-internals/"; const char kNetworkViewCacheURL[] = "chrome://view-http-cache/"; +// GPU sub pages +const char kGpuInternalsURL[] = "chrome://gpu-internals/"; + // Option sub pages. const char kAdvancedOptionsSubPage[] = "advanced"; const char kAutoFillSubPage[] = "autoFillOptions"; diff --git a/chrome/common/url_constants.h b/chrome/common/url_constants.h index 3735d5e..9b7c519 100644 --- a/chrome/common/url_constants.h +++ b/chrome/common/url_constants.h @@ -47,6 +47,7 @@ extern const char kAboutCrashURL[]; extern const char kAboutCreditsURL[]; extern const char kAboutDNSURL[]; extern const char kAboutFlagsURL[]; +extern const char kAboutGpuURL[]; extern const char kAboutGpuCrashURL[]; extern const char kAboutGpuHangURL[]; extern const char kAboutHangURL[]; @@ -105,6 +106,7 @@ extern const char kChromeUIDownloadsHost[]; extern const char kChromeUIExtensionsHost[]; extern const char kChromeUIFavIconHost[]; extern const char kChromeUIFlagsHost[]; +extern const char kChromeUIGpuInternalsHost[]; extern const char kChromeUIHistory2Host[]; extern const char kChromeUIHistoryHost[]; extern const char kChromeUIKeyboardHost[]; @@ -155,6 +157,9 @@ extern const char kCloudPrintSetupHost[]; extern const char kNetworkViewCacheURL[]; extern const char kNetworkViewInternalsURL[]; +// GPU related URLs +extern const char kGpuInternalsURL[]; + // Options sub-pages. extern const char kAdvancedOptionsSubPage[]; extern const char kAutoFillSubPage[]; -- cgit v1.1