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

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

Issue 6025017: Adds the ability to load JSON log files to about:net-internals. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src/
Patch Set: Put load log button on its own line Created 9 years, 11 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 | « chrome/browser/resources/net_internals/proxyview.js ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: chrome/browser/resources/net_internals/tabswitcherview.js
===================================================================
--- chrome/browser/resources/net_internals/tabswitcherview.js (revision 72508)
+++ chrome/browser/resources/net_internals/tabswitcherview.js (working copy)
@@ -136,6 +136,13 @@
return ids;
};
+// Shows/hides the DOM node that is used to select the tab. Will not change
+// the active tab.
+TabSwitcherView.prototype.showTabHandleNode = function(id, isVisible) {
+ var tab = this.findTabById(id);
+ setNodeDisplay(tab.getTabHandleNode(), isVisible);
+};
+
//-----------------------------------------------------------------------------
/**
« no previous file with comments | « chrome/browser/resources/net_internals/proxyview.js ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698