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

Unified Diff: chrome/common/extensions/docs/examples/api/fontSettings/js/cr.js

Issue 1185363002: webui: Do not set 'toolkit' property for webui. (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
« no previous file with comments | « no previous file | chrome/common/extensions/docs/examples/extensions/plugin_settings/domui/js/cr.js » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: chrome/common/extensions/docs/examples/api/fontSettings/js/cr.js
diff --git a/chrome/common/extensions/docs/examples/api/fontSettings/js/cr.js b/chrome/common/extensions/docs/examples/api/fontSettings/js/cr.js
index a3d1263238642ed1d85e9709126cc0b50a1524fe..69141a61643f62c66366478853b65b947891e4e5 100644
--- a/chrome/common/extensions/docs/examples/api/fontSettings/js/cr.js
+++ b/chrome/common/extensions/docs/examples/api/fontSettings/js/cr.js
@@ -325,18 +325,6 @@ this.cr = (function() {
* Whether this is on vanilla Linux (not chromeOS).
*/
cr.isLinux = /Linux/.test(navigator.userAgent);
-
- /**
- * Whether this uses GTK or not.
- */
- cr.isGTK = typeof chrome.getVariableValue == 'function' &&
- /GTK/.test(chrome.getVariableValue('toolkit'));
-
- /**
- * Whether this uses the views toolkit or not.
- */
- cr.isViews = typeof chrome.getVariableValue == 'function' &&
- /views/.test(chrome.getVariableValue('toolkit'));
}
return {
« no previous file with comments | « no previous file | chrome/common/extensions/docs/examples/extensions/plugin_settings/domui/js/cr.js » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698