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

Unified Diff: chrome/browser/resources/options/options.js

Issue 8695007: Replace TOUCH_UI condition in WebUI with dynamic flag. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Remove languages tweak and fix keyboard Created 9 years, 1 month 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/resources/options/options.js
diff --git a/chrome/browser/resources/options/options.js b/chrome/browser/resources/options/options.js
index bb0f3d29c7fedfcc59fb0d266681648403cf0ac6..4cf0a7524548ca9a5a44ce31dc0c1ab6ce33672b 100644
--- a/chrome/browser/resources/options/options.js
+++ b/chrome/browser/resources/options/options.js
@@ -101,7 +101,7 @@ function load() {
templateData.languagePinyinPageTabTitle,
'languagePinyinPage'),
LanguageOptions.getInstance());
- if (cr.isTouch) {
+ if ($('language-options-virtual-keyboard')) {
OptionsPage.registerSubPage(VirtualKeyboardManager.getInstance(),
LanguageOptions.getInstance());
}

Powered by Google App Engine
This is Rietveld 408576698