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

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

Issue 8051010: Separate Virtual Keyboard related conditionals from TouchUI (Closed) Base URL: http://git.chromium.org/chromium/src.git@master
Patch Set: Rebased on ToT, modified resources/options/language_options.html Created 9 years, 3 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_factory.cc
diff --git a/chrome/browser/ui/webui/chrome_web_ui_factory.cc b/chrome/browser/ui/webui/chrome_web_ui_factory.cc
index cc0e555b9e8a642e4279e6768e2d090cfccb38c9..b8e7e1555ad7688c4c692279c403c07bd30ecf88 100644
--- a/chrome/browser/ui/webui/chrome_web_ui_factory.cc
+++ b/chrome/browser/ui/webui/chrome_web_ui_factory.cc
@@ -62,7 +62,7 @@
#include "chrome/browser/ui/webui/sync_promo_ui.h"
#endif
-#if defined(TOUCH_UI)
+#if defined(USE_VIRTUAL_KEYBOARD)
#include "chrome/browser/ui/webui/keyboard_ui.h"
#endif
@@ -177,7 +177,7 @@ static WebUIFactoryFunction GetWebUIFactoryFunction(Profile* profile,
return &NewWebUI<FlagsUI>;
if (url.host() == chrome::kChromeUIFlashHost)
return &NewWebUI<FlashUI>;
-#if defined(TOUCH_UI)
+#if defined(USE_VIRTUAL_KEYBOARD)
if (url.host() == chrome::kChromeUIKeyboardHost)
return &NewWebUI<KeyboardUI>;
#endif

Powered by Google App Engine
This is Rietveld 408576698