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

Side by Side Diff: third_party/WebKit/Source/devtools/front_end/console/ConsoleViewMessage.js

Issue 2112673003: [DevTools] Move suspended generator location to internal properties (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: addressed comments Created 4 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
OLDNEW
1 /* 1 /*
2 * Copyright (C) 2011 Google Inc. All rights reserved. 2 * Copyright (C) 2011 Google Inc. All rights reserved.
3 * Copyright (C) 2007, 2008 Apple Inc. All rights reserved. 3 * Copyright (C) 2007, 2008 Apple Inc. All rights reserved.
4 * Copyright (C) 2009 Joseph Pecoraro 4 * Copyright (C) 2009 Joseph Pecoraro
5 * 5 *
6 * Redistribution and use in source and binary forms, with or without 6 * Redistribution and use in source and binary forms, with or without
7 * modification, are permitted provided that the following conditions 7 * modification, are permitted provided that the following conditions
8 * are met: 8 * are met:
9 * 9 *
10 * 1. Redistributions of source code must retain the above copyright 10 * 1. Redistributions of source code must retain the above copyright
(...skipping 405 matching lines...) Expand 10 before | Expand all | Expand 10 after
416 if (obj.type === "function") { 416 if (obj.type === "function") {
417 WebInspector.ObjectPropertiesSection.formatObjectAsFunction(obj, titleElement, false); 417 WebInspector.ObjectPropertiesSection.formatObjectAsFunction(obj, titleElement, false);
418 titleElement.classList.add("object-value-function"); 418 titleElement.classList.add("object-value-function");
419 } else { 419 } else {
420 titleElement.createTextChild(obj.description || ""); 420 titleElement.createTextChild(obj.description || "");
421 } 421 }
422 } 422 }
423 var note = titleElement.createChild("span", "object-state-note"); 423 var note = titleElement.createChild("span", "object-state-note");
424 note.classList.add("info-note"); 424 note.classList.add("info-note");
425 note.title = WebInspector.UIString("Object value at left was snapshotted when logged, value below was evaluated just now."); 425 note.title = WebInspector.UIString("Object value at left was snapshotted when logged, value below was evaluated just now.");
426 var section = new WebInspector.ObjectPropertiesSection(obj, titleElement ); 426 var section = new WebInspector.ObjectPropertiesSection(obj, titleElement , this._linkifier);
427 section.enableContextMenu(); 427 section.enableContextMenu();
428 elem.appendChild(section.element); 428 elem.appendChild(section.element);
429 section.element.classList.add("console-view-object-properties-section"); 429 section.element.classList.add("console-view-object-properties-section");
430 }, 430 },
431 431
432 /** 432 /**
433 * @param {!WebInspector.RemoteObject} func 433 * @param {!WebInspector.RemoteObject} func
434 * @param {!Element} element 434 * @param {!Element} element
435 * @param {boolean=} includePreview 435 * @param {boolean=} includePreview
436 */ 436 */
(...skipping 895 matching lines...) Expand 10 before | Expand all | Expand 10 after
1332 { 1332 {
1333 if (!this._wrapperElement) { 1333 if (!this._wrapperElement) {
1334 WebInspector.ConsoleViewMessage.prototype.toMessageElement.call(this ); 1334 WebInspector.ConsoleViewMessage.prototype.toMessageElement.call(this );
1335 this._wrapperElement.classList.toggle("collapsed", this._collapsed); 1335 this._wrapperElement.classList.toggle("collapsed", this._collapsed);
1336 } 1336 }
1337 return this._wrapperElement; 1337 return this._wrapperElement;
1338 }, 1338 },
1339 1339
1340 __proto__: WebInspector.ConsoleViewMessage.prototype 1340 __proto__: WebInspector.ConsoleViewMessage.prototype
1341 } 1341 }
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698