| Index: chrome/browser/resources/shared/js/cr.js
|
| ===================================================================
|
| --- chrome/browser/resources/shared/js/cr.js (revision 171385)
|
| +++ chrome/browser/resources/shared/js/cr.js (working copy)
|
| @@ -344,6 +344,14 @@
|
| cr.isLinux = /Linux/.test(navigator.userAgent);
|
|
|
| /**
|
| + * Whether this is on Mobile or not.
|
| + */
|
| + cr.isMobile = /Android/.test(navigator.userAgent) ||
|
| + /IPhone/.test(navigator.userAgent) ||
|
| + /IPad/.test(navigator.userAgent) ||
|
| + /IPod/.test(navigator.userAgent);
|
| +
|
| + /**
|
| * Whether this uses GTK or not.
|
| */
|
| cr.isGTK = typeof chrome.getVariableValue == 'function' &&
|
|
|