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

Unified Diff: third_party/WebKit/Source/devtools/front_end/ui/Toolbar.js

Issue 2920183003: DevTools: allow setting individual console filter levels. (Closed)
Patch Set: with tests Created 3 years, 6 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/ui/Toolbar.js
diff --git a/third_party/WebKit/Source/devtools/front_end/ui/Toolbar.js b/third_party/WebKit/Source/devtools/front_end/ui/Toolbar.js
index 37cc0e2fe6c9b1614640054caa6e537ea2ae167f..c14bb437bcc73de73f404121ac5b728ee48c28ab 100644
--- a/third_party/WebKit/Source/devtools/front_end/ui/Toolbar.js
+++ b/third_party/WebKit/Source/devtools/front_end/ui/Toolbar.js
@@ -459,6 +459,13 @@ UI.ToolbarText = class extends UI.ToolbarItem {
this.setText(text || '');
}
+ /**
+ * @return {string}
+ */
+ text() {
+ return this.element.textContent;
+ }
+
/**
* @param {string} text
*/

Powered by Google App Engine
This is Rietveld 408576698