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

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

Issue 2474073005: DevTools: add the logging aspect into the PerformanceMonitor (Closed)
Patch Set: Created 4 years, 1 month 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 a12caf67043bb141fad7f1e5ffd6a9b29fdc9349..1078e29f5e95b0a7d22bc24ae43feee8633c46a1 100644
--- a/third_party/WebKit/Source/devtools/front_end/console/ConsoleViewMessage.js
+++ b/third_party/WebKit/Source/devtools/front_end/console/ConsoleViewMessage.js
@@ -998,6 +998,9 @@ WebInspector.ConsoleViewMessage = class {
case WebInspector.ConsoleMessage.MessageLevel.Warning:
this._element.classList.add('console-warning-level');
break;
+ case WebInspector.ConsoleMessage.MessageLevel.Violation:
+ this._element.classList.add('console-violation-level');
+ break;
case WebInspector.ConsoleMessage.MessageLevel.Error:
this._element.classList.add('console-error-level');
break;

Powered by Google App Engine
This is Rietveld 408576698