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

Side by Side Diff: Source/devtools/front_end/network/NetworkPanel.js

Issue 1097163004: DevTools: zoom frames upon double click, iterate over frames using arrows. (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: rolled back a tiny bit to make bots happy Created 5 years, 8 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
OLDNEW
1 /* 1 /*
2 * Copyright (C) 2007, 2008 Apple Inc. All rights reserved. 2 * Copyright (C) 2007, 2008 Apple Inc. All rights reserved.
3 * Copyright (C) 2008, 2009 Anthony Ricaud <rik@webkit.org> 3 * Copyright (C) 2008, 2009 Anthony Ricaud <rik@webkit.org>
4 * Copyright (C) 2011 Google Inc. All rights reserved. 4 * Copyright (C) 2011 Google Inc. All rights reserved.
5 * 5 *
6 * Redistribution and use in source and binary forms, with or without 6 * Redistribution and use in source and binary forms, with or without
7 * modification, are permitted provided that the following conditions 7 * modification, are permitted provided that the following conditions
8 * are met: 8 * are met:
9 * 9 *
10 * 1. Redistributions of source code must retain the above copyright 10 * 1. Redistributions of source code must retain the above copyright
(...skipping 187 matching lines...) Expand 10 before | Expand all | Expand 10 after
198 }, 198 },
199 199
200 /** 200 /**
201 * @param {!WebInspector.Event} event 201 * @param {!WebInspector.Event} event
202 */ 202 */
203 _willReloadPage: function(event) 203 _willReloadPage: function(event)
204 { 204 {
205 this._toggleRecordButton(true); 205 this._toggleRecordButton(true);
206 if (!this._preserveLogCheckbox.checked()) 206 if (!this._preserveLogCheckbox.checked())
207 this._networkLogView.reset(); 207 this._networkLogView.reset();
208 if (this._filmStripView) 208 if (this.isShowing() && this._filmStripView)
209 this._filmStripView.startRecording(); 209 this._filmStripView.startRecording();
210 }, 210 },
211 211
212 /** 212 /**
213 * @param {!WebInspector.Event} event 213 * @param {!WebInspector.Event} event
214 */ 214 */
215 _load: function(event) 215 _load: function(event)
216 { 216 {
217 if (this._filmStripView) 217 if (this._filmStripView && this._filmStripView.isRecording())
218 setTimeout(this._toggleRecordButton.bind(this, false), 1000); 218 setTimeout(this._toggleRecordButton.bind(this, false), 1000);
219 }, 219 },
220 220
221 _toggleLargerRequests: function() 221 _toggleLargerRequests: function()
222 { 222 {
223 this._updateUI(); 223 this._updateUI();
224 }, 224 },
225 225
226 _toggleShowOverview: function() 226 _toggleShowOverview: function()
227 { 227 {
(...skipping 339 matching lines...) Expand 10 before | Expand all | Expand 10 after
567 WebInspector.NetworkPanelFactory.prototype = { 567 WebInspector.NetworkPanelFactory.prototype = {
568 /** 568 /**
569 * @override 569 * @override
570 * @return {!WebInspector.Panel} 570 * @return {!WebInspector.Panel}
571 */ 571 */
572 createPanel: function() 572 createPanel: function()
573 { 573 {
574 return WebInspector.NetworkPanel._instance(); 574 return WebInspector.NetworkPanel._instance();
575 } 575 }
576 } 576 }
OLDNEW
« no previous file with comments | « Source/devtools/front_end/network/NetworkFilmStripView.js ('k') | Source/devtools/front_end/network/networkPanel.css » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698