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

Unified Diff: chrome/browser/resources/net_internals/main.js

Issue 10834312: Make net-internals work a bit better on Android. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src/
Patch Set: sync Created 8 years, 4 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
Index: chrome/browser/resources/net_internals/main.js
===================================================================
--- chrome/browser/resources/net_internals/main.js (revision 151563)
+++ chrome/browser/resources/net_internals/main.js (working copy)
@@ -47,6 +47,9 @@
function MainView() {
assertFirstConstructorCall(MainView);
+ if (hasTouchScreen())
+ document.body.classList.add('touch');
+
// This must be initialized before the tabs, so they can register as
// observers.
g_browser = BrowserBridge.getInstance();
« no previous file with comments | « chrome/browser/resources/net_internals/main.css ('k') | chrome/browser/resources/net_internals/proxy_view.html » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698