Index: third_party/WebKit/Source/devtools/front_end/ui/ActionRegistry.js |
diff --git a/third_party/WebKit/Source/devtools/front_end/ui/ActionRegistry.js b/third_party/WebKit/Source/devtools/front_end/ui/ActionRegistry.js |
index b37cff6e91760972af11451a9e23364a2e7849ac..4e445c6ee2dda2ae80ba0db5fb02fadbe3dd40d2 100644 |
--- a/third_party/WebKit/Source/devtools/front_end/ui/ActionRegistry.js |
+++ b/third_party/WebKit/Source/devtools/front_end/ui/ActionRegistry.js |
@@ -113,6 +113,20 @@ WebInspector.Action = class extends WebInspector.Object { |
} |
/** |
+ * @return {string} |
+ */ |
+ toggledIcon() { |
+ return this._extension.descriptor()['toggledIconClass'] || ''; |
+ } |
+ |
+ /** |
+ * @return {boolean} |
+ */ |
+ toggleWithRedColor() { |
+ return !!this._extension.descriptor()['toggleWithRedColor']; |
+ } |
+ |
+ /** |
* @param {boolean} enabled |
*/ |
setEnabled(enabled) { |