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

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

Issue 388723002: Remove cr.isGTK; it's not used any more. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Created 6 years, 5 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 | 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 a3d1263238642ed1d85e9709126cc0b50a1524fe..7fadc2aaf54f6a5cd3191afa24039ada5a96add8 100644
--- a/ui/webui/resources/js/cr.js
+++ b/ui/webui/resources/js/cr.js
@@ -327,12 +327,6 @@ this.cr = (function() {
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' &&
« no previous file with comments | « no previous file | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698