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

Unified Diff: chrome/browser/ui/webui/chrome_web_ui_controller_factory.cc

Issue 10532005: Initial check-in of gesture config WebUI. (Closed) Base URL: http://git.chromium.org/git/chromium.git@trunk
Patch Set: Removed debugging code and added comments. Created 8 years, 6 months 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
Index: chrome/browser/ui/webui/chrome_web_ui_controller_factory.cc
diff --git a/chrome/browser/ui/webui/chrome_web_ui_controller_factory.cc b/chrome/browser/ui/webui/chrome_web_ui_controller_factory.cc
index e1900e5c45785b98364f713d73b01bf4bf222644..2642da32b68cb271329d7bc814d65ff80c6bd911 100644
--- a/chrome/browser/ui/webui/chrome_web_ui_controller_factory.cc
+++ b/chrome/browser/ui/webui/chrome_web_ui_controller_factory.cc
@@ -26,6 +26,7 @@
#include "chrome/browser/ui/webui/flags_ui.h"
#include "chrome/browser/ui/webui/flash_ui.h"
#include "chrome/browser/ui/webui/generic_handler.h"
+#include "chrome/browser/ui/webui/gesture_config_ui.h"
flackr 2012/06/06 14:50:54 Move to chromeos specific include block.
#include "chrome/browser/ui/webui/gpu_internals_ui.h"
#include "chrome/browser/ui/webui/help/help_ui.h"
#include "chrome/browser/ui/webui/history_ui.h"
@@ -183,6 +184,8 @@ WebUIFactoryFunction GetWebUIFactoryFunction(WebUI* web_ui,
return &NewWebUI<ExtensionsUI>;
if (url.host() == chrome::kChromeUIFlashHost)
return &NewWebUI<FlashUI>;
+ if (url.host() == chrome::kChromeUIGestureConfigHost)
+ return &NewWebUI<GestureConfigUI>;
flackr 2012/06/06 14:50:54 Move to ChromeOS specific block below.
Kevin Greer 2012/06/07 19:07:00 Moved to AURA block. On 2012/06/06 14:50:54, flack
Kevin Greer 2012/06/07 19:07:00 Moved to AURA block. On 2012/06/06 14:50:54, flack
if (url.host() == chrome::kChromeUIGpuInternalsHost)
return &NewWebUI<GpuInternalsUI>;
if (url.host() == chrome::kChromeUIHistoryFrameHost)

Powered by Google App Engine
This is Rietveld 408576698