Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(464)

Side by Side Diff: extensions/renderer/resources/guest_view/app_view/app_view.js

Issue 1026703004: Refactored extensionOptions to use the new guestViewAttributes module. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Addressed comment. Created 5 years, 9 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch
OLDNEW
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;
7 var GuestViewContainer = require('guestViewContainer').GuestViewContainer; 6 var GuestViewContainer = require('guestViewContainer').GuestViewContainer;
8 var IdGenerator = requireNative('id_generator'); 7 var IdGenerator = requireNative('id_generator');
9 8
10 function AppViewImpl(appviewElement) { 9 function AppViewImpl(appviewElement) {
11 GuestViewContainer.call(this, appviewElement, 'appview'); 10 GuestViewContainer.call(this, appviewElement, 'appview');
12 11
13 this.app = ''; 12 this.app = '';
14 this.data = ''; 13 this.data = '';
15 } 14 }
16 15
(...skipping 55 matching lines...) Expand 10 before | Expand all | Expand 10 after
72 return; 71 return;
73 } 72 }
74 this.attachWindow(); 73 this.attachWindow();
75 if (callback) { 74 if (callback) {
76 callback(true); 75 callback(true);
77 } 76 }
78 }.bind(this)); 77 }.bind(this));
79 }; 78 };
80 79
81 GuestViewContainer.registerElement(AppViewImpl); 80 GuestViewContainer.registerElement(AppViewImpl);
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698