       "visible"
 
   selectElement: (element, shouldScroll = true) ->
-    Common.log "selectElement #{element?} #{shouldScroll} #{@isEnabled}" if @debug.select
+    Common.log "selectElement #{element?} #{shouldScroll}" if @debug.select
     Common.log "              #{element == @element} (expect false for a new element)" if @debug.select
-    if element and @isEnabled
+    if element
       @clearSelection()
       @element = document.activeElement = element
 

Wrapper =
  interface: null

  # handleKeyEvent: (event) ->
  #   switch event.type
  #     when "keydown"
  #       @interface?.onKeyDown event
  #     when "keyup"
  #       @interface?.onKeyUp event

  init: ->
    # handleKeyEvent = (event) => @handleKeyEvent event
    # for name in [ "keydown", "keyup" ]
    #   Common.installListener window, name, handleKeyEvent

    @launch()

    chrome.runtime.onMessage.addListener (request, sender, sendResponse) =>

    event.stopImmediatePropagation()
    false

  onKeyup: (event) ->
    CoreScroller.registerKeyup event

  performUpDown: (action) ->
