[module.json extensions] console actions
Bug: 1134103
Change-Id: I6b03d3202df9bc5dc9b46b33dd95a93b2b5c777b
Reviewed-on: https://chromium-review.googlesource.com/c/devtools/devtools-frontend/+/2648907
Commit-Queue: Andres Olivares <[email protected]>
Reviewed-by: Tim van der Lippe <[email protected]>
diff --git a/front_end/ui/ActionRegistration.ts b/front_end/ui/ActionRegistration.ts
index d9da7f7..136026b 100644
--- a/front_end/ui/ActionRegistration.ts
+++ b/front_end/ui/ActionRegistration.ts
@@ -316,6 +316,7 @@
NETWORK: ls`Network`,
MEMORY: ls`Memory`,
JAVASCRIPT_PROFILER: ls`JavaScript Profiler`,
+ CONSOLE: ls`Console`,
};
type ActionCategory = typeof ActionCategory[keyof typeof ActionCategory];
@@ -325,6 +326,8 @@
LARGEICON_START_RECORDING = 'largeicon-start-recording',
LARGEICON_STOP_RECORDING = 'largeicon-stop-recording',
LARGEICON_REFRESH = 'largeicon-refresh',
+ LARGEICON_CLEAR = 'largeicon-clear',
+ LARGEICON_VISIBILITY = 'largeicon-visibility',
}
export const enum KeybindSet {
@@ -363,11 +366,11 @@
/**
* The type of the icon used to trigger the action.
*/
- iconClass?: string;
+ iconClass?: IconClass;
/**
* Whether the style of the icon toggles on interaction.
*/
- toggledIconClass?: string;
+ toggledIconClass?: IconClass;
/**
* Whether the class 'toolbar-toggle-with-red-color' is toggled on the icon on interaction.
*/