| 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 var DocumentNatives = requireNative('document_natives'); | 5 var DocumentNatives = requireNative('document_natives'); |
| 6 var GuestView = require('guestView').GuestView; | 6 var GuestView = require('guestView').GuestView; |
| 7 var GuestViewContainer = require('guestViewContainer').GuestViewContainer; | 7 var GuestViewContainer = require('guestViewContainer').GuestViewContainer; |
| 8 var IdGenerator = requireNative('id_generator'); | 8 var IdGenerator = requireNative('id_generator'); |
| 9 | 9 |
| 10 function AppViewImpl(appviewElement) { | 10 function AppViewImpl(appviewElement) { |
| (...skipping 61 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 72 return; | 72 return; |
| 73 } | 73 } |
| 74 this.attachWindow(); | 74 this.attachWindow(); |
| 75 if (callback) { | 75 if (callback) { |
| 76 callback(true); | 76 callback(true); |
| 77 } | 77 } |
| 78 }.bind(this)); | 78 }.bind(this)); |
| 79 }; | 79 }; |
| 80 | 80 |
| 81 GuestViewContainer.registerElement(AppViewImpl); | 81 GuestViewContainer.registerElement(AppViewImpl); |
| OLD | NEW |