 { Frame } = require('sdk/ui/frame')
 { Toolbar } = require('sdk/ui/toolbar')
+tabs = require("sdk/tabs")
 
 # Manages the displayed items.
 # Communicates with @see View instances running in the context of the UI's frame.

    switch message.command
      when 'READY'
        @onViewReady(event.source, event.origin)
      when 'NOTIFY_REMOVE'
        @onNotifyRemove(message.data)

  # Helper method to handle messages from a view.
  # @private


  # Helper method to handle messages from a view.
  # @private
  onNotifyClick : (item) =>
    @removeItem(item)
    tabs.open(item.link)
    @send('NOTIFY_REMOVE', id)
    # TODO: permanently remove

