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

Side by Side Diff: Source/WebCore/inspector/front-end/WatchExpressionsSidebarPane.js

Issue 6320021: Merge 76680 - 2011-01-26 Pavel Feldman <pfeldman@chromium.org>... (Closed) Base URL: http://svn.webkit.org/repository/webkit/branches/chromium/648/
Patch Set: Created 9 years, 11 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
« no previous file with comments | « Source/WebCore/inspector/front-end/SourceFrame.js ('k') | no next file » | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
1 /* 1 /*
2 * Copyright (C) IBM Corp. 2009 All rights reserved. 2 * Copyright (C) IBM Corp. 2009 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 121 matching lines...) Expand 10 before | Expand all | Expand 10 after
132 ++propertyCount; 132 ++propertyCount;
133 } 133 }
134 134
135 // Now process all the expressions, since we have the actual count, 135 // Now process all the expressions, since we have the actual count,
136 // which is checked in the appendResult inner function. 136 // which is checked in the appendResult inner function.
137 for (var i = 0; i < this.watchExpressions.length; ++i) { 137 for (var i = 0; i < this.watchExpressions.length; ++i) {
138 var expression = this.watchExpressions[i]; 138 var expression = this.watchExpressions[i];
139 if (!expression) 139 if (!expression)
140 continue; 140 continue;
141 141
142 WebInspector.console.evalInInspectedWindow("(" + expression + ")", t his._watchObjectGroupId, appendResult.bind(this, expression, i)); 142 WebInspector.console.evalInInspectedWindow("(" + expression + ")", t his._watchObjectGroupId, false, appendResult.bind(this, expression, i));
143 } 143 }
144 144
145 // note this is setting the expansion of the tree, not the section; 145 // note this is setting the expansion of the tree, not the section;
146 // with no expressions, and expanded tree, we get some extra vertical 146 // with no expressions, and expanded tree, we get some extra vertical
147 // white space 147 // white space
148 // FIXME: should change to use header buttons instead of the buttons 148 // FIXME: should change to use header buttons instead of the buttons
149 // at the bottom of the section, then we can add a "No Watch Expressions 149 // at the bottom of the section, then we can add a "No Watch Expressions
150 // element when there are no watch expressions, and this issue should 150 // element when there are no watch expressions, and this issue should
151 // go away. 151 // go away.
152 this.expanded = (propertyCount != 0); 152 this.expanded = (propertyCount != 0);
(...skipping 109 matching lines...) Expand 10 before | Expand all | Expand 10 after
262 262
263 if (!expression) 263 if (!expression)
264 expression = null; 264 expression = null;
265 265
266 this.property.name = expression; 266 this.property.name = expression;
267 this.treeOutline.section.updateExpression(this, expression); 267 this.treeOutline.section.updateExpression(this, expression);
268 } 268 }
269 } 269 }
270 270
271 WebInspector.WatchExpressionTreeElement.prototype.__proto__ = WebInspector.Objec tPropertyTreeElement.prototype; 271 WebInspector.WatchExpressionTreeElement.prototype.__proto__ = WebInspector.Objec tPropertyTreeElement.prototype;
OLDNEW
« no previous file with comments | « Source/WebCore/inspector/front-end/SourceFrame.js ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698