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

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

Issue 300393002: Merge DevTools Refactor CL to Blink36 (Closed) Base URL: svn://svn.chromium.org/blink/branches/dart/1985
Patch Set: PTAL Created 6 years, 6 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 531 matching lines...) Expand 10 before | Expand all | Expand 10 after
542 var hasTargetFunction = false; 542 var hasTargetFunction = false;
543 543
544 if (internalProperties) { 544 if (internalProperties) {
545 for (var i = 0; i < internalProperties.length; i++) { 545 for (var i = 0; i < internalProperties.length; i++) {
546 if (internalProperties[i].name == "[[TargetFunction]]") { 546 if (internalProperties[i].name == "[[TargetFunction]]") {
547 hasTargetFunction = true; 547 hasTargetFunction = true;
548 break; 548 break;
549 } 549 }
550 } 550 }
551 } 551 }
552 if (!hasTargetFunction) 552 if (!hasTargetFunction && value.language != 'dart')
553 treeElement.appendChild(new WebInspector.FunctionScopeMainTreeElemen t(value)); 553 treeElement.appendChild(new WebInspector.FunctionScopeMainTreeElemen t(value));
554 } 554 }
555 if (internalProperties) { 555 if (internalProperties) {
556 for (var i = 0; i < internalProperties.length; i++) { 556 for (var i = 0; i < internalProperties.length; i++) {
557 internalProperties[i].parentObject = value; 557 internalProperties[i].parentObject = value;
558 treeElement.appendChild(new treeElementConstructor(internalPropertie s[i])); 558 treeElement.appendChild(new treeElementConstructor(internalPropertie s[i]));
559 } 559 }
560 } 560 }
561 } 561 }
562 562
(...skipping 422 matching lines...) Expand 10 before | Expand all | Expand 10 after
985 { 985 {
986 WebInspector.TextPrompt.call(this, WebInspector.ExecutionContextSelector.com pletionsForTextPromptInCurrentContext); 986 WebInspector.TextPrompt.call(this, WebInspector.ExecutionContextSelector.com pletionsForTextPromptInCurrentContext);
987 this.setSuggestBoxEnabled(true); 987 this.setSuggestBoxEnabled(true);
988 if (renderAsBlock) 988 if (renderAsBlock)
989 this.renderAsBlock(); 989 this.renderAsBlock();
990 } 990 }
991 991
992 WebInspector.ObjectPropertyPrompt.prototype = { 992 WebInspector.ObjectPropertyPrompt.prototype = {
993 __proto__: WebInspector.TextPrompt.prototype 993 __proto__: WebInspector.TextPrompt.prototype
994 } 994 }
OLDNEW
« no previous file with comments | « Source/core/rendering/RenderScrollbarPart.h ('k') | Source/devtools/front_end/sdk/DebuggerModel.js » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698