diff options
author | thakis@chromium.org <thakis@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2010-08-27 04:11:14 +0000 |
---|---|---|
committer | thakis@chromium.org <thakis@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2010-08-27 04:11:14 +0000 |
commit | 148b9262ade2ac3b05f457c14efd43efd19644d7 (patch) | |
tree | db9f79f66d17e5f478db4a3d2ebcb574997c4287 /chrome/common/url_constants.cc | |
parent | f20365f0541ee445ce776ef96c0e2394d08f21cf (diff) | |
download | chromium_src-148b9262ade2ac3b05f457c14efd43efd19644d7.zip chromium_src-148b9262ade2ac3b05f457c14efd43efd19644d7.tar.gz chromium_src-148b9262ade2ac3b05f457c14efd43efd19644d7.tar.bz2 |
Implement about:labs
Tabpose is currently the only lab on mac, tabs-on-left the only lab on windows. Nothing for linux yet.
BUG=53399
TEST=Go to about:labs. Should have one feature on windows and osx each, none on linux yet. about:labs should not be visible on the stable channel. Labs that were enabled on the dev channel should not be enabled on the stable channel. about:labs in chromeos should still work (they use a different implementation)
Review URL: http://codereview.chromium.org/3152055
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@57635 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'chrome/common/url_constants.cc')
-rw-r--r-- | chrome/common/url_constants.cc | 12 |
1 files changed, 8 insertions, 4 deletions
diff --git a/chrome/common/url_constants.cc b/chrome/common/url_constants.cc index 0270e48..031a13d 100644 --- a/chrome/common/url_constants.cc +++ b/chrome/common/url_constants.cc @@ -41,21 +41,23 @@ const char* kSavableSchemes[] = { NULL }; +const char kAboutAboutURL[] = "about:about"; const char kAboutAppCacheInternalsURL[] = "about:appcache-internals"; const char kAboutBlankURL[] = "about:blank"; const char kAboutCacheURL[] = "about:cache"; const char kAboutCrashURL[] = "about:crash"; const char kAboutCreditsURL[] = "about:credits"; +const char kAboutDNSURL[] = "about:dns"; const char kAboutHangURL[] = "about:hang"; +const char kAboutHistogramsURL[] = "about:histograms"; +const char kAboutLabsURL[] = "about:labs"; const char kAboutMemoryURL[] = "about:memory"; const char kAboutNetInternalsURL[] = "about:net-internals"; const char kAboutPluginsURL[] = "about:plugins"; const char kAboutShorthangURL[] = "about:shorthang"; const char kAboutSystemURL[] = "about:system"; const char kAboutTermsURL[] = "about:terms"; -const char kAboutAboutURL[] = "about:about"; -const char kAboutDNSURL[] = "about:dns"; -const char kAboutHistogramsURL[] = "about:histograms"; +const char kAboutVaporwareURL[] = "about:vaporware"; const char kAboutVersionURL[] = "about:version"; // Use an obfuscated URL to make this nondiscoverable, we only want this @@ -71,10 +73,11 @@ const char kChromeUIDownloadsURL[] = "chrome://downloads/"; const char kChromeUIExtensionsURL[] = "chrome://extensions/"; const char kChromeUIFavIconURL[] = "chrome://favicon/"; const char kChromeUIFileBrowseURL[] = "chrome://filebrowse/"; -const char kChromeUIHistoryURL[] = "chrome://history/"; const char kChromeUIHistory2URL[] = "chrome://history2/"; +const char kChromeUIHistoryURL[] = "chrome://history/"; const char kChromeUIImageBurnerURL[] = "chrome://imageburner/"; const char kChromeUIIPCURL[] = "chrome://about/ipc"; +const char kChromeUILabsURL[] = "chrome://labs/"; const char kChromeUIMediaplayerURL[] = "chrome://mediaplayer/"; const char kChromeUINewTabURL[] = "chrome://newtab"; const char kChromeUIOptionsURL[] = "chrome://options/"; @@ -95,6 +98,7 @@ const char kChromeUIHistoryHost[] = "history"; const char kChromeUIHistory2Host[] = "history2"; const char kChromeUIImageBurnerHost[] = "imageburner"; const char kChromeUIInspectorHost[] = "inspector"; +const char kChromeUILabsHost[] = "labs"; const char kChromeUIMediaplayerHost[] = "mediaplayer"; const char kChromeUINetInternalsHost[] = "net-internals"; const char kChromeUINewTabHost[] = "newtab"; |