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

Unified Diff: Source/devtools/front_end/console/ConsoleViewMessage.js

Issue 1107233003: Devtools: [CustomFormatter] Add context menu to disassemble custom previews (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: Introduce WebInspector.ObjectPropertiesSection.defaultObjectPresentation Created 5 years, 7 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 side-by-side diff with in-line comments
Download patch
Index: Source/devtools/front_end/console/ConsoleViewMessage.js
diff --git a/Source/devtools/front_end/console/ConsoleViewMessage.js b/Source/devtools/front_end/console/ConsoleViewMessage.js
index 18fc8b2b53d931b147f57a4228f91ecfb8985fba..5665ff93592ea61b069139c4f543a6072d94a3fc 100644
--- a/Source/devtools/front_end/console/ConsoleViewMessage.js
+++ b/Source/devtools/front_end/console/ConsoleViewMessage.js
@@ -385,7 +385,7 @@ WebInspector.ConsoleViewMessage.prototype = {
_formatParameter: function(output, forceObjectFormat, includePreview)
{
if (output.customPreview()) {
- return WebInspector.CustomPreviewSection.createInShadow(output);
+ return (new WebInspector.CustomPreviewComponent(output)).element;
}
var type = forceObjectFormat ? "object" : (output.subtype || output.type);
« no previous file with comments | « Source/devtools/front_end/components/ObjectPropertiesSection.js ('k') | Source/devtools/front_end/resources/IndexedDBViews.js » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698