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

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

Issue 7530020: Re-design the "data" tab on about:net-internals. (Closed) Base URL: svn://chrome-svn/chrome/trunk/src/
Patch Set: Remove a TODO which I don't intend to do anymore Created 9 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
Index: chrome/browser/resources/net_internals/main.js
===================================================================
--- chrome/browser/resources/net_internals/main.js (revision 94563)
+++ chrome/browser/resources/net_internals/main.js (working copy)
@@ -77,7 +77,9 @@
categoryTabSwitcher.addTab('socketsTab', new SocketsView(), false, true);
categoryTabSwitcher.addTab('spdyTab', new SpdyView(), false, true);
categoryTabSwitcher.addTab('httpCacheTab', new HttpCacheView(), false, true);
- categoryTabSwitcher.addTab('dataTab', new DataView(), false, true);
+ categoryTabSwitcher.addTab('importTab', new ImportView(), false, true);
+ categoryTabSwitcher.addTab('exportTab', new ExportView(), false, true);
+ categoryTabSwitcher.addTab('captureTab', new CaptureView(), false, true);
categoryTabSwitcher.addTab('serviceProvidersTab', new ServiceProvidersView(),
false, cr.isWindows);
categoryTabSwitcher.addTab('testTab', new TestView(), false, true);
@@ -97,7 +99,7 @@
anchorMap[aNode.hash] = tabIds[i];
}
// Default the empty hash to the data tab.
- anchorMap['#'] = anchorMap[''] = 'dataTab';
+ anchorMap['#'] = anchorMap[''] = 'exportTab';
window.onhashchange = onUrlHashChange.bind(null, anchorMap);

Powered by Google App Engine
This is Rietveld 408576698