       marker
 
   # Handles <Shift> and <Ctrl>.
-  onKeyDownInMode: (hintMarkers, event) ->
+  onKeyDownInMode: (event) ->
     return if event.repeat
     @keydownKeyChar = KeyboardUtils.getKeyChar(event).toLowerCase()
 


    # Note(philc): Append these markers as top level children instead of as child nodes to the link itself,
    # because some clickable elements cannot contain children, e.g. submit buttons.
    @hintMarkerContainingDiv = DomUtils.addElementList hintMarkers,
      id: "vimiumHintMarkerContainer", className: "vimiumReset"
    @hideMarker hintMarker for hintMarker in hintMarkers when hintMarker.hintDescriptor.frameId != frameId
    @updateKeyState = @updateKeyState.bind this, hintMarkers # TODO(smblott): This can be refactored out.

  setOpenLinkMode: (@mode, shouldPropagateToOtherFrames = true) ->
    @hintMode.setIndicator @mode.indicator if windowIsFocused()

      suppressTrailingKeyEvents: true
      exitOnEscape: true
      exitOnClick: true
      keydown: @onKeyDownInMode.bind this
      keypress: @onKeyPressInMode.bind this

    @hintMode.onExit (event) =>
      HintCoordinator.sendMessage "deactivate" if event?.type == "click" or (event?.type == "keydown" and
