   exitFailure: ->
     @onExit = [=> @linkHintsMode.deactivateMode()]
     @exit()
-
-  getLocalHintMarker: (hint) ->
-    if hint.frameId == frameId then @localHints[hint.localIndex] else null
 
 LinkHints =
   activateMode: (count = 1, mode = OPEN_IN_CURRENT_TAB) ->

    @onExit = [] unless frameId == activateModeFrameId
    @linkHintsMode = new LinkHintsMode hints, availableModes[modeIndex]

  postKeyState: (request) ->
    @linkHintsMode.postKeyState request

  activateActiveHintMarker: ->
    @linkHintsMode.activateLink @linkHintsMode.markerMatcher.activeHintMarker

  exit: ->
    @onExit.pop()() while 0 < @onExit.length

    @hideMarker marker for marker in hintMarkers when marker.hint.frameId != frameId
    @postKeyState = @postKeyState.bind this, hintMarkers

  setOpenLinkMode: (@mode, doNotPropagate = false) ->
    @hintMode.setIndicator @mode.indicator if DomUtils.isTopFrame()
    unless doNotPropagate
      HintCoordinator.sendMessage "setMode", modeIndex: availableModes.indexOf @mode

  #
  # Creates a link marker for the given link.
