Index: extensions/renderer/resources/guest_view/guest_view_iframe.js |
diff --git a/extensions/renderer/resources/guest_view/guest_view_iframe.js b/extensions/renderer/resources/guest_view/guest_view_iframe.js |
index c27c809e299687294c268151eb51d3e467acf513..898e22d1416c476f5b7c6ac93de059752fbb9105 100644 |
--- a/extensions/renderer/resources/guest_view/guest_view_iframe.js |
+++ b/extensions/renderer/resources/guest_view/guest_view_iframe.js |
@@ -49,8 +49,12 @@ GuestViewImpl.prototype.attachImpl$ = function( |
attachParams['instanceId'] = viewInstanceId; |
var contentWindow = getIframeContentWindow(viewInstanceId); |
- // TODO(lazyboy): Call binding function to attach this guest. |
- // |contentWindow| should be used to retrieve the RenderFrame in cpp. |
+ // |contentWindow| is used to retrieve the RenderFrame in cpp. |
+ window.console.log('contentWindow stuff **** WHEEE'); |
+ window.console.log(contentWindow); |
+ GuestViewInternalNatives.AttachIframeGuest( |
+ internalInstanceId, this.id, attachParams, contentWindow, |
+ callbackWrapper.bind(this, callback)); |
this.internalInstanceId = internalInstanceId; |
this.state = GuestViewImpl.GuestState.GUEST_STATE_ATTACHED; |