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

Side by Side Diff: third_party/WebKit/Source/devtools/front_end/sdk/ResourceTreeModel.js

Issue 2788793002: [Devtools] Added frame grouping to network panel (Closed)
Patch Set: [Devtools] Added frame grouping to network panel Created 3 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
OLDNEW
1 /* 1 /*
2 * Copyright (C) 2011 Google Inc. All rights reserved. 2 * Copyright (C) 2011 Google Inc. All rights reserved.
3 * 3 *
4 * Redistribution and use in source and binary forms, with or without 4 * Redistribution and use in source and binary forms, with or without
5 * modification, are permitted provided that the following conditions are 5 * modification, are permitted provided that the following conditions are
6 * met: 6 * met:
7 * 7 *
8 * * Redistributions of source code must retain the above copyright 8 * * Redistributions of source code must retain the above copyright
9 * notice, this list of conditions and the following disclaimer. 9 * notice, this list of conditions and the following disclaimer.
10 * * Redistributions in binary form must reproduce the above 10 * * Redistributions in binary form must reproduce the above
(...skipping 564 matching lines...) Expand 10 before | Expand all | Expand 10 after
575 } 575 }
576 576
577 /** 577 /**
578 * @return {!Array.<!SDK.ResourceTreeFrame>} 578 * @return {!Array.<!SDK.ResourceTreeFrame>}
579 */ 579 */
580 get childFrames() { 580 get childFrames() {
581 return this._childFrames; 581 return this._childFrames;
582 } 582 }
583 583
584 /** 584 /**
585 * @return {?Array<!Protocol.Runtime.CallFrame>}
586 */
587 creationStackTrace() {
588 return this._creationStackTrace;
589 }
590
591 /**
585 * @return {boolean} 592 * @return {boolean}
586 */ 593 */
587 isMainFrame() { 594 isMainFrame() {
588 return !this._parentFrame; 595 return !this._parentFrame;
589 } 596 }
590 597
591 /** 598 /**
592 * @param {!Protocol.Page.Frame} framePayload 599 * @param {!Protocol.Page.Frame} framePayload
593 */ 600 */
594 _navigate(framePayload) { 601 _navigate(framePayload) {
(...skipping 270 matching lines...) Expand 10 before | Expand all | Expand 10 after
865 this._resourceTreeModel.dispatchEventToListeners(SDK.ResourceTreeModel.Event s.InterstitialHidden); 872 this._resourceTreeModel.dispatchEventToListeners(SDK.ResourceTreeModel.Event s.InterstitialHidden);
866 } 873 }
867 874
868 /** 875 /**
869 * @override 876 * @override
870 */ 877 */
871 navigationRequested() { 878 navigationRequested() {
872 // Frontend is not interested in when navigations are requested. 879 // Frontend is not interested in when navigations are requested.
873 } 880 }
874 }; 881 };
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698