| import CssSelectorNodeWatcherScriptHandler from '../../../common/architecture/scripts/nodeWatcher/handlers/CssSelectorNodeWatcherScriptHandler'; |
| import { NodeMutation } from '../../../common/nodeWatcher/NodeWatcherHandler'; |
| import { CCDarkThemeNodeWatcherDependencies } from '../scripts/nodeWatcher.script'; |
| * Sets the report dialog iframe's theme to the appropriate theme. |
| export default class CCDarkThemeReportDialogHandler extends CssSelectorNodeWatcherScriptHandler<CCDarkThemeNodeWatcherDependencies> { |
| onMutatedNode(mutation: NodeMutation) { |
| this.options.reportDialogColorThemeFix.fixThemeIfReportDialogIframeAndApplicable( |
| this.options.optionsProvider, |