(mode, shouldPropagateToOtherFrames)
| 448 | } |
| 449 | |
| 450 | setOpenLinkMode(mode, shouldPropagateToOtherFrames) { |
| 451 | this.mode = mode; |
| 452 | if (shouldPropagateToOtherFrames == null) { |
| 453 | shouldPropagateToOtherFrames = true; |
| 454 | } |
| 455 | if (shouldPropagateToOtherFrames) { |
| 456 | HintCoordinator.sendMessage("setOpenLinkMode", { |
| 457 | modeIndex: availableModes.indexOf(this.mode), |
| 458 | }); |
| 459 | } else { |
| 460 | this.setIndicator(); |
| 461 | } |
| 462 | } |
| 463 | |
| 464 | setIndicator() { |
| 465 | if (windowIsFocused()) { |
no test coverage detected