Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(491)

Side by Side Diff: chrome/common/url_constants.cc

Issue 5228004: Switch the about:gpu implementation from an about handler to dom_ui.... (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src/
Patch Set: '' Created 10 years ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch | Annotate | Revision Log
« no previous file with comments | « chrome/common/url_constants.h ('k') | no next file » | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
1 1
2 // Copyright (c) 2010 The Chromium Authors. All rights reserved. 2 // Copyright (c) 2010 The Chromium Authors. All rights reserved.
3 // Use of this source code is governed by a BSD-style license that can be 3 // Use of this source code is governed by a BSD-style license that can be
4 // found in the LICENSE file. 4 // found in the LICENSE file.
5 5
6 #include <stdlib.h> 6 #include <stdlib.h>
7 7
8 #include "chrome/common/url_constants.h" 8 #include "chrome/common/url_constants.h"
9 #include "googleurl/src/url_util.h" 9 #include "googleurl/src/url_util.h"
10 10
(...skipping 36 matching lines...) Expand 10 before | Expand all | Expand 10 after
47 47
48 const char kAboutAboutURL[] = "about:about"; 48 const char kAboutAboutURL[] = "about:about";
49 const char kAboutAppCacheInternalsURL[] = "about:appcache-internals"; 49 const char kAboutAppCacheInternalsURL[] = "about:appcache-internals";
50 const char kAboutBlankURL[] = "about:blank"; 50 const char kAboutBlankURL[] = "about:blank";
51 const char kAboutCacheURL[] = "about:cache"; 51 const char kAboutCacheURL[] = "about:cache";
52 const char kAboutConflicts[] = "about:conflicts"; 52 const char kAboutConflicts[] = "about:conflicts";
53 const char kAboutCrashURL[] = "about:crash"; 53 const char kAboutCrashURL[] = "about:crash";
54 const char kAboutCreditsURL[] = "about:credits"; 54 const char kAboutCreditsURL[] = "about:credits";
55 const char kAboutDNSURL[] = "about:dns"; 55 const char kAboutDNSURL[] = "about:dns";
56 const char kAboutFlagsURL[] = "about:flags"; 56 const char kAboutFlagsURL[] = "about:flags";
57 const char kAboutGpuURL[] = "about:gpu";
57 const char kAboutGpuCrashURL[] = "about:gpucrash"; 58 const char kAboutGpuCrashURL[] = "about:gpucrash";
58 const char kAboutGpuHangURL[] = "about:gpuhang"; 59 const char kAboutGpuHangURL[] = "about:gpuhang";
59 const char kAboutHangURL[] = "about:hang"; 60 const char kAboutHangURL[] = "about:hang";
60 const char kAboutHistogramsURL[] = "about:histograms"; 61 const char kAboutHistogramsURL[] = "about:histograms";
61 const char kAboutMemoryURL[] = "about:memory"; 62 const char kAboutMemoryURL[] = "about:memory";
62 const char kAboutNetInternalsURL[] = "about:net-internals"; 63 const char kAboutNetInternalsURL[] = "about:net-internals";
63 const char kAboutPluginsURL[] = "about:plugins"; 64 const char kAboutPluginsURL[] = "about:plugins";
64 const char kAboutShorthangURL[] = "about:shorthang"; 65 const char kAboutShorthangURL[] = "about:shorthang";
65 const char kAboutTermsURL[] = "about:terms"; 66 const char kAboutTermsURL[] = "about:terms";
66 const char kAboutVaporwareURL[] = "about:vaporware"; 67 const char kAboutVaporwareURL[] = "about:vaporware";
(...skipping 39 matching lines...) Expand 10 before | Expand all | Expand 10 after
106 // Keep this list sorted please. 107 // Keep this list sorted please.
107 const char kChromeUIBookmarksHost[] = "bookmarks"; 108 const char kChromeUIBookmarksHost[] = "bookmarks";
108 const char kChromeUIBugReportHost[] = "bugreport"; 109 const char kChromeUIBugReportHost[] = "bugreport";
109 const char kChromeUIConflictsHost[] = "conflicts"; 110 const char kChromeUIConflictsHost[] = "conflicts";
110 const char kChromeUIDevToolsHost[] = "devtools"; 111 const char kChromeUIDevToolsHost[] = "devtools";
111 const char kChromeUIDialogHost[] = "dialog"; 112 const char kChromeUIDialogHost[] = "dialog";
112 const char kChromeUIDownloadsHost[] = "downloads"; 113 const char kChromeUIDownloadsHost[] = "downloads";
113 const char kChromeUIExtensionsHost[] = "extensions"; 114 const char kChromeUIExtensionsHost[] = "extensions";
114 const char kChromeUIFavIconHost[] = "favicon"; 115 const char kChromeUIFavIconHost[] = "favicon";
115 const char kChromeUIFlagsHost[] = "flags"; 116 const char kChromeUIFlagsHost[] = "flags";
117 const char kChromeUIGpuInternalsHost[] = "gpu-internals";
116 const char kChromeUIHistoryHost[] = "history"; 118 const char kChromeUIHistoryHost[] = "history";
117 const char kChromeUIHistory2Host[] = "history2"; 119 const char kChromeUIHistory2Host[] = "history2";
118 const char kChromeUIInspectorHost[] = "inspector"; 120 const char kChromeUIInspectorHost[] = "inspector";
119 const char kChromeUIKeyboardHost[] = "keyboard"; 121 const char kChromeUIKeyboardHost[] = "keyboard";
120 const char kChromeUILoginHost[] = "login"; 122 const char kChromeUILoginHost[] = "login";
121 const char kChromeUINetInternalsHost[] = "net-internals"; 123 const char kChromeUINetInternalsHost[] = "net-internals";
122 const char kChromeUINewTabHost[] = "newtab"; 124 const char kChromeUINewTabHost[] = "newtab";
123 const char kChromeUIPluginsHost[] = "plugins"; 125 const char kChromeUIPluginsHost[] = "plugins";
124 const char kChromeUIPrintHost[] = "print"; 126 const char kChromeUIPrintHost[] = "print";
125 const char kChromeUIRemotingHost[] = "remoting"; 127 const char kChromeUIRemotingHost[] = "remoting";
(...skipping 26 matching lines...) Expand all
152 154
153 const char kBlobViewInternalsURL[] = "chrome://blob-internals/"; 155 const char kBlobViewInternalsURL[] = "chrome://blob-internals/";
154 156
155 const char kCloudPrintResourcesURL[] = "chrome://cloudprintresources/"; 157 const char kCloudPrintResourcesURL[] = "chrome://cloudprintresources/";
156 const char kCloudPrintResourcesHost[] = "cloudprintresources"; 158 const char kCloudPrintResourcesHost[] = "cloudprintresources";
157 const char kCloudPrintSetupHost[] = "cloudprintsetup"; 159 const char kCloudPrintSetupHost[] = "cloudprintsetup";
158 160
159 const char kNetworkViewInternalsURL[] = "chrome://net-internals/"; 161 const char kNetworkViewInternalsURL[] = "chrome://net-internals/";
160 const char kNetworkViewCacheURL[] = "chrome://view-http-cache/"; 162 const char kNetworkViewCacheURL[] = "chrome://view-http-cache/";
161 163
164 // GPU sub pages
165 const char kGpuInternalsURL[] = "chrome://gpu-internals/";
166
162 // Option sub pages. 167 // Option sub pages.
163 const char kAdvancedOptionsSubPage[] = "advanced"; 168 const char kAdvancedOptionsSubPage[] = "advanced";
164 const char kAutoFillSubPage[] = "autoFillOptions"; 169 const char kAutoFillSubPage[] = "autoFillOptions";
165 const char kBrowserOptionsSubPage[] = "browser"; 170 const char kBrowserOptionsSubPage[] = "browser";
166 const char kClearBrowserDataSubPage[] = "clearBrowserDataOverlay"; 171 const char kClearBrowserDataSubPage[] = "clearBrowserDataOverlay";
167 const char kContentSettingsSubPage[] = "content"; 172 const char kContentSettingsSubPage[] = "content";
168 const char kDefaultOptionsSubPage[] = ""; 173 const char kDefaultOptionsSubPage[] = "";
169 const char kImportDataSubPage[] = "importDataOverlay"; 174 const char kImportDataSubPage[] = "importDataOverlay";
170 const char kPersonalOptionsSubPage[] = "personal"; 175 const char kPersonalOptionsSubPage[] = "personal";
171 const char kSearchEnginesOptionsSubPage[] = "editSearchEngineOverlay"; 176 const char kSearchEnginesOptionsSubPage[] = "editSearchEngineOverlay";
(...skipping 46 matching lines...) Expand 10 before | Expand all | Expand 10 after
218 223
219 // Prevent future modification of the standard schemes list. This is to 224 // Prevent future modification of the standard schemes list. This is to
220 // prevent accidental creation of data races in the program. AddStandardScheme 225 // prevent accidental creation of data races in the program. AddStandardScheme
221 // isn't threadsafe so must be called when GURL isn't used on any other 226 // isn't threadsafe so must be called when GURL isn't used on any other
222 // thread. This is really easy to mess up, so we say that all calls to 227 // thread. This is really easy to mess up, so we say that all calls to
223 // AddStandardScheme in Chrome must be inside this function. 228 // AddStandardScheme in Chrome must be inside this function.
224 url_util::LockStandardSchemes(); 229 url_util::LockStandardSchemes();
225 } 230 }
226 231
227 } // namespace chrome 232 } // namespace chrome
OLDNEW
« no previous file with comments | « chrome/common/url_constants.h ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698