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

Unified Diff: ui/webui/resources/js/cr.js

Issue 1175603002: views: Move TOOLKIT_VIEWS definition in //ui/views/ from root. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: . Created 5 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
« ui/views/BUILD.gn ('K') | « ui/views/views.gyp ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: ui/webui/resources/js/cr.js
diff --git a/ui/webui/resources/js/cr.js b/ui/webui/resources/js/cr.js
index bf1a7474f0f514074545a490158c5f2ad5cd91c2..ceb1eb9707474fb9d91f9bc6b12ad5b13858569f 100644
--- a/ui/webui/resources/js/cr.js
+++ b/ui/webui/resources/js/cr.js
@@ -431,11 +431,5 @@ var cr = function() {
get isLinux() {
return /Linux/.test(navigator.userAgent);
},
-
- /** Whether this uses the views toolkit or not. */
- get isViews() {
- return typeof chrome.getVariableValue == 'function' &&
- /views/.test(chrome.getVariableValue('toolkit'));
- },
};
}();
« ui/views/BUILD.gn ('K') | « ui/views/views.gyp ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698