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

Side by Side Diff: chrome/browser/resources/net_internals/main.js

Issue 2052003: Display the text dump for chrome://net2#data inline, rather than in a new win... (Closed) Base URL: svn://chrome-svn/chrome/trunk/src/
Patch Set: Created 10 years, 7 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 unified diff | Download patch | Annotate | Revision Log
« no previous file with comments | « chrome/browser/resources/net_internals/index.html ('k') | no next file » | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
1 // Copyright (c) 2010 The Chromium Authors. All rights reserved. 1 // Copyright (c) 2010 The Chromium Authors. All rights reserved.
2 // Use of this source code is governed by a BSD-style license that can be 2 // Use of this source code is governed by a BSD-style license that can be
3 // found in the LICENSE file. 3 // found in the LICENSE file.
4 4
5 /** 5 /**
6 * Dictionary of constants (initialized by browser). 6 * Dictionary of constants (initialized by browser).
7 */ 7 */
8 var LogEventType = null; 8 var LogEventType = null;
9 var LogEventPhase = null; 9 var LogEventPhase = null;
10 var LogSourceType = null; 10 var LogSourceType = null;
(...skipping 41 matching lines...) Expand 10 before | Expand all | Expand 10 after
52 // Create a view which will display information on the host resolver. 52 // Create a view which will display information on the host resolver.
53 var dnsView = new DnsView("dnsTabContent", 53 var dnsView = new DnsView("dnsTabContent",
54 "hostResolverCacheTbody", 54 "hostResolverCacheTbody",
55 "clearHostResolverCache", 55 "clearHostResolverCache",
56 "hostResolverCacheCapacity", 56 "hostResolverCacheCapacity",
57 "hostResolverCacheTTLSuccess", 57 "hostResolverCacheTTLSuccess",
58 "hostResolverCacheTTLFailure"); 58 "hostResolverCacheTTLFailure");
59 59
60 // Create a view which will display import/export options to control the 60 // Create a view which will display import/export options to control the
61 // captured data. 61 // captured data.
62 var dataView = new DataView("dataTabContent", "exportToJson", "exportToText"); 62 var dataView = new DataView("dataTabContent", "exportedDataText",
63 "exportToText");
63 64
64 // Create a view which will display the results and controls for connection 65 // Create a view which will display the results and controls for connection
65 // tests. 66 // tests.
66 var testView = new TestView("testTabContent", "testUrlInput", "testStart", 67 var testView = new TestView("testTabContent", "testUrlInput", "testStart",
67 "testSummary"); 68 "testSummary");
68 69
69 var httpCacheView = new HttpCacheView("httpCacheTabContent", 70 var httpCacheView = new HttpCacheView("httpCacheTabContent",
70 "reloadHttpCacheListing", 71 "reloadHttpCacheListing",
71 "httpCacheStats", 72 "httpCacheStats",
72 "httpCacheListing"); 73 "httpCacheListing");
(...skipping 344 matching lines...) Expand 10 before | Expand all | Expand 10 after
417 if (prevData && JSON.stringify(prevData) == JSON.stringify(data)) 418 if (prevData && JSON.stringify(prevData) == JSON.stringify(data))
418 return; 419 return;
419 420
420 this.currentData_ = data; 421 this.currentData_ = data;
421 422
422 // Ok, notify the observers of the change. 423 // Ok, notify the observers of the change.
423 for (var i = 0; i < this.observers_.length; ++i) 424 for (var i = 0; i < this.observers_.length; ++i)
424 var observer = this.observers_[i]; 425 var observer = this.observers_[i];
425 observer[this.observerMethodName_](data); 426 observer[this.observerMethodName_](data);
426 }; 427 };
OLDNEW
« no previous file with comments | « chrome/browser/resources/net_internals/index.html ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698