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

Unified Diff: chrome/browser/dom_ui/dom_ui_factory.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 side-by-side diff with in-line comments
Download patch
« no previous file with comments | « chrome/browser/browser_resources.grd ('k') | chrome/browser/dom_ui/gpu_internals_ui.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: chrome/browser/dom_ui/dom_ui_factory.cc
===================================================================
--- chrome/browser/dom_ui/dom_ui_factory.cc (revision 68554)
+++ chrome/browser/dom_ui/dom_ui_factory.cc (working copy)
@@ -12,6 +12,7 @@
#include "chrome/browser/dom_ui/constrained_html_ui.h"
#include "chrome/browser/dom_ui/downloads_ui.h"
#include "chrome/browser/dom_ui/devtools_ui.h"
+#include "chrome/browser/dom_ui/gpu_internals_ui.h"
#include "chrome/browser/dom_ui/history_ui.h"
#include "chrome/browser/dom_ui/history2_ui.h"
#include "chrome/browser/dom_ui/html_dialog_ui.h"
@@ -160,6 +161,8 @@
if (url.host() == chrome::kChromeUILoginHost)
return &NewDOMUI<chromeos::LoginUI>;
#endif
+ if (url.host() == chrome::kChromeUIGpuInternalsHost)
+ return &NewDOMUI<GpuUI>;
if (url.host() == chrome::kChromeUINetInternalsHost)
return &NewDOMUI<NetInternalsUI>;
if (url.host() == chrome::kChromeUIPluginsHost)
« no previous file with comments | « chrome/browser/browser_resources.grd ('k') | chrome/browser/dom_ui/gpu_internals_ui.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698