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

Side by Side Diff: third_party/WebKit/Source/devtools/front_end/components/ObjectPropertiesSection.js

Issue 1786243002: [DevTools] Move restartFrame and setCallFrameVariableValue to V8DebuggerAgent (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@dgozman-patch
Patch Set: Created 4 years, 9 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) 2008 Apple Inc. All Rights Reserved. 2 * Copyright (C) 2008 Apple Inc. All Rights Reserved.
3 * Copyright (C) 2009 Joseph Pecoraro 3 * Copyright (C) 2009 Joseph Pecoraro
4 * 4 *
5 * Redistribution and use in source and binary forms, with or without 5 * Redistribution and use in source and binary forms, with or without
6 * modification, are permitted provided that the following conditions 6 * modification, are permitted provided that the following conditions
7 * are met: 7 * are met:
8 * 1. Redistributions of source code must retain the above copyright 8 * 1. 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 * 2. Redistributions in binary form must reproduce the above copyright 10 * 2. Redistributions in binary form must reproduce the above copyright
(...skipping 612 matching lines...) Expand 10 before | Expand all | Expand 10 after
623 } 623 }
624 624
625 var runtimeModel = this._remoteObject.target().runtimeModel; 625 var runtimeModel = this._remoteObject.target().runtimeModel;
626 if (isTrueObject) { 626 if (isTrueObject) {
627 var remoteObject = runtimeModel.createRemoteObject(scope.obj ect); 627 var remoteObject = runtimeModel.createRemoteObject(scope.obj ect);
628 var property = new WebInspector.RemoteObjectProperty(title, remoteObject); 628 var property = new WebInspector.RemoteObjectProperty(title, remoteObject);
629 property.writable = false; 629 property.writable = false;
630 property.parentObject = null; 630 property.parentObject = null;
631 this.appendChild(new WebInspector.ObjectPropertyTreeElement( property)); 631 this.appendChild(new WebInspector.ObjectPropertyTreeElement( property));
632 } else { 632 } else {
633 var scopeRef = new WebInspector.ScopeRef(i, undefined, this. _remoteObject.objectId); 633 var scopeRef = new WebInspector.ScopeRef(i, undefined);
634 var remoteObject = runtimeModel.createScopeRemoteObject(scop e.object, scopeRef); 634 var remoteObject = runtimeModel.createScopeRemoteObject(scop e.object, scopeRef);
635 var scopeTreeElement = new WebInspector.ScopeTreeElement(tit le, remoteObject); 635 var scopeTreeElement = new WebInspector.ScopeTreeElement(tit le, remoteObject);
636 this.appendChild(scopeTreeElement); 636 this.appendChild(scopeTreeElement);
637 } 637 }
638 } 638 }
639 639
640 WebInspector.ObjectPropertyTreeElement._appendEmptyPlaceholderIfNeed ed(this, WebInspector.UIString("No Scopes")); 640 WebInspector.ObjectPropertyTreeElement._appendEmptyPlaceholderIfNeed ed(this, WebInspector.UIString("No Scopes"));
641 } 641 }
642 642
643 this._remoteObject.functionDetails(didGetDetails.bind(this)); 643 this._remoteObject.functionDetails(didGetDetails.bind(this));
(...skipping 686 matching lines...) Expand 10 before | Expand all | Expand 10 after
1330 1330
1331 result = currentName + (result ? "." + result : ""); 1331 result = currentName + (result ? "." + result : "");
1332 current = current.parent; 1332 current = current.parent;
1333 } 1333 }
1334 var treeOutlineId = treeElement.treeOutline[WebInspector.ObjectPropertie sSectionExpandController._treeOutlineId]; 1334 var treeOutlineId = treeElement.treeOutline[WebInspector.ObjectPropertie sSectionExpandController._treeOutlineId];
1335 result = treeOutlineId + (result ? ":" + result : ""); 1335 result = treeOutlineId + (result ? ":" + result : "");
1336 treeElement[WebInspector.ObjectPropertiesSectionExpandController._cached PathSymbol] = result; 1336 treeElement[WebInspector.ObjectPropertiesSectionExpandController._cached PathSymbol] = result;
1337 return result; 1337 return result;
1338 } 1338 }
1339 } 1339 }
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698