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

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

Issue 402873002: DevTools: Build function details' raw location in DebuggerModel (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: Comment addressed Created 6 years, 5 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) 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 604 matching lines...) Expand 10 before | Expand all | Expand 10 after
615 this.hasChildren = true; 615 this.hasChildren = true;
616 } 616 }
617 617
618 WebInspector.FunctionScopeMainTreeElement.prototype = { 618 WebInspector.FunctionScopeMainTreeElement.prototype = {
619 onpopulate: function() 619 onpopulate: function()
620 { 620 {
621 if (this.children.length && !this.shouldRefreshChildren) 621 if (this.children.length && !this.shouldRefreshChildren)
622 return; 622 return;
623 623
624 /** 624 /**
625 * @param {?DebuggerAgent.FunctionDetails} response 625 * @param {?WebInspector.DebuggerModel.FunctionDetails} response
626 * @this {WebInspector.FunctionScopeMainTreeElement} 626 * @this {WebInspector.FunctionScopeMainTreeElement}
627 */ 627 */
628 function didGetDetails(response) 628 function didGetDetails(response)
629 { 629 {
630 if (!response) 630 if (!response)
631 return; 631 return;
632 this.removeChildren(); 632 this.removeChildren();
633 633
634 var scopeChain = response.scopeChain; 634 var scopeChain = response.scopeChain;
635 if (!scopeChain) 635 if (!scopeChain)
(...skipping 369 matching lines...) Expand 10 before | Expand all | Expand 10 after
1005 { 1005 {
1006 WebInspector.TextPrompt.call(this, WebInspector.ExecutionContextSelector.com pletionsForTextPromptInCurrentContext); 1006 WebInspector.TextPrompt.call(this, WebInspector.ExecutionContextSelector.com pletionsForTextPromptInCurrentContext);
1007 this.setSuggestBoxEnabled(true); 1007 this.setSuggestBoxEnabled(true);
1008 if (renderAsBlock) 1008 if (renderAsBlock)
1009 this.renderAsBlock(); 1009 this.renderAsBlock();
1010 } 1010 }
1011 1011
1012 WebInspector.ObjectPropertyPrompt.prototype = { 1012 WebInspector.ObjectPropertyPrompt.prototype = {
1013 __proto__: WebInspector.TextPrompt.prototype 1013 __proto__: WebInspector.TextPrompt.prototype
1014 } 1014 }
OLDNEW
« no previous file with comments | « Source/devtools/front_end/components/ObjectPopoverHelper.js ('k') | Source/devtools/front_end/console/ConsoleView.js » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698