Lines Matching defs:ProfileType
32 WebInspector.ProfileType = function(id, name)
49 WebInspector.ProfileType.Events = {
56 WebInspector.ProfileType.prototype = {
135 * @this {WebInspector.ProfileType}
197 this.dispatchEventToListeners(WebInspector.ProfileType.Events.AddProfileHeader, profile);
258 this.dispatchEventToListeners(WebInspector.ProfileType.Events.RemoveProfileHeader, profile);
272 WebInspector.ProfileType.DataDisplayDelegate = function()
276 WebInspector.ProfileType.DataDisplayDelegate.prototype = {
294 * @param {!WebInspector.ProfileType} profileType
297 WebInspector.ProfileHeader = function(target, profileType, title)
300 this._profileType = profileType;
302 this.uid = profileType._nextProfileUid++;
326 * @return {!WebInspector.ProfileType}
328 profileType: function()
344 * @param {!WebInspector.ProfileType.DataDisplayDelegate} dataDisplayDelegate
353 * @param {!WebInspector.ProfileType.DataDisplayDelegate} dataDisplayDelegate
418 * @implements {WebInspector.ProfileType.DataDisplayDelegate}
509 * @param {!WebInspector.ProfileType} profileType
511 _addProfileType: function(profileType)
513 this._profileTypes.push(profileType);
517 * @return {!Array.<!WebInspector.ProfileType>}
581 var profileType = this._findProfileTypeByExtension(file.name);
582 if (!profileType) {
595 if (!!profileType.profileBeingRecorded()) {
600 profileType.loadFromFile(file);
655 this._selectedProfileType = /** @type {!WebInspector.ProfileType} */ (event.data);
715 * @param {!WebInspector.ProfileType} profileType
717 _registerProfileType: function(profileType)
719 this._launcherView.addProfileType(profileType);
720 var profileTypeSection = new WebInspector.ProfileTypeSidebarSection(this, profileType);
721 this._typeIdToSidebarSection[profileType.id] = profileTypeSection
752 profileType.addEventListener(WebInspector.ProfileType.Events.ViewUpdated, this._updateProfileTypeSpecificUI, this);
753 profileType.addEventListener(WebInspector.ProfileType.Events.AddProfileHeader, onAddProfileHeader, this);
754 profileType.addEventListener(WebInspector.ProfileType.Events.RemoveProfileHeader, onRemoveProfileHeader, this);
755 profileType.addEventListener(WebInspector.ProfileType.Events.ProfileComplete, profileComplete, this);
757 var profiles = profileType.getProfiles();
797 var profileType = profile.profileType();
798 var typeId = profileType.id;
809 if (profile.profileType()._profileBeingRecorded === profile)
816 var profileType = profile.profileType();
817 var typeId = profileType.id;
834 if (!profile || (profile.profileType().profileBeingRecorded() === profile) && !profile.profileType().hasTemporaryView())
847 var profileTypeSection = this._typeIdToSidebarSection[profile.profileType().id];
1034 * @param {!WebInspector.ProfileType.DataDisplayDelegate} dataDisplayDelegate
1035 * @param {!WebInspector.ProfileType} profileType
1037 WebInspector.ProfileTypeSidebarSection = function(dataDisplayDelegate, profileType)
1039 WebInspector.SidebarSectionTreeElement.call(this, profileType.treeItemTitle, null, true);
1062 var profileType = profile.profileType();
1067 if (!profile.fromFile() && profileType.profileBeingRecorded() !== profile) {
1197 * @param {!WebInspector.ProfileType.DataDisplayDelegate} dataDisplayDelegate
1256 this.profile.profileType().removeProfile(this.profile);
1287 * @param {!WebInspector.ProfileType.DataDisplayDelegate} dataDisplayDelegate