         #   @guestInstanceId,
         #   params,
         #   (w) => @contentWindow = w
+        @browserPluginNode[PLUGIN_METHOD_ATTACH] @guestInstanceId, params
 
   onSizeChanged: (webViewEvent) ->
     newWidth = webViewEvent.newWidth

    @deferredAttachState = null
    # FIXME
    # guestViewInternalNatives.AttachGuest @internalInstanceId, @guestInstanceId, params, (w) => @contentWindow = w

# Registers browser plugin <object> custom element.
registerBrowserPluginElement = ->

# ID generator.
nextId = 1
getNextId = -> nextId++

# FIXME
# Discarded after Chrome 39
PLUGIN_METHOD_ATTACH = '-internal-attach'

# Attributes.
WEB_VIEW_ATTRIBUTE_ALLOWTRANSPARENCY = 'allowtransparency'
