OLD | NEW |
1 // Copyright 2014 The Chromium Authors. All rights reserved. | 1 // Copyright 2014 The Chromium Authors. All rights reserved. |
2 // Use of this source code is governed by a BSD-style license that can be | 2 // Use of this source code is governed by a BSD-style license that can be |
3 // found in the LICENSE file. | 3 // found in the LICENSE file. |
4 | 4 |
5 // This module implements the shared functionality for different guestview | 5 // This module implements the shared functionality for different guestview |
6 // containers, such as web_view, app_view, etc. | 6 // containers, such as web_view, app_view, etc. |
7 | 7 |
8 var DocumentNatives = requireNative('document_natives'); | 8 var DocumentNatives = requireNative('document_natives'); |
9 var GuestView = require('guestView').GuestView; | 9 var GuestView = require('guestView').GuestView; |
10 var GuestViewInternalNatives = requireNative('guest_view_internal'); | 10 var GuestViewInternalNatives = requireNative('guest_view_internal'); |
(...skipping 288 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
299 | 299 |
300 // Delete the callbacks so developers cannot call them and produce unexpected | 300 // Delete the callbacks so developers cannot call them and produce unexpected |
301 // behavior. | 301 // behavior. |
302 delete proto.createdCallback; | 302 delete proto.createdCallback; |
303 delete proto.attachedCallback; | 303 delete proto.attachedCallback; |
304 delete proto.detachedCallback; | 304 delete proto.detachedCallback; |
305 delete proto.attributeChangedCallback; | 305 delete proto.attributeChangedCallback; |
306 } | 306 } |
307 | 307 |
308 // Exports. | 308 // Exports. |
309 exports.GuestViewContainer = GuestViewContainer; | 309 exports.$set('GuestViewContainer', GuestViewContainer); |
OLD | NEW |