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

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

Issue 2674243004: DevTools: restore the style of expandable titles on console object previews (Closed)
Patch Set: Created 3 years, 10 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: third_party/WebKit/Source/devtools/front_end/console/ConsoleViewMessage.js
diff --git a/third_party/WebKit/Source/devtools/front_end/console/ConsoleViewMessage.js b/third_party/WebKit/Source/devtools/front_end/console/ConsoleViewMessage.js
index 3834d5ecc739c61f5c4f435d517a7305d3f5833b..83cc47e1b04f3d215f84ff2dd363517c7dd86f2c 100644
--- a/third_party/WebKit/Source/devtools/front_end/console/ConsoleViewMessage.js
+++ b/third_party/WebKit/Source/devtools/front_end/console/ConsoleViewMessage.js
@@ -534,6 +534,10 @@ Console.ConsoleViewMessage = class {
titleElement.createTextChild(obj.description || '');
}
+ var note = titleElement.createChild('span', 'object-state-note');
+ note.classList.add('info-note');
+ note.title = Common.UIString('Value below was evaluated just now.');
+
var section = new Components.ObjectPropertiesSection(obj, titleElement, this._linkifier);
section.element.classList.add('console-view-object-properties-section');
section.enableContextMenu();

Powered by Google App Engine
This is Rietveld 408576698