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

Unified Diff: chrome/browser/resources/shared/js/cr.js

Issue 11635023: First cut at UI for saving net_logs data into a temporary file on (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src/
Patch Set: Created 8 years 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/shared/js/cr.js
===================================================================
--- chrome/browser/resources/shared/js/cr.js (revision 173622)
+++ 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' &&

Powered by Google App Engine
This is Rietveld 408576698