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

Side by Side Diff: chrome/renderer/resources/extensions/extension_options.js

Issue 990253003: <extensionoptions>: Remove unnecessary code (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: 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
« no previous file with comments | « no previous file | no next file » | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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 ExtensionOptionsEvents = 5 var ExtensionOptionsEvents =
6 require('extensionOptionsEvents').ExtensionOptionsEvents; 6 require('extensionOptionsEvents').ExtensionOptionsEvents;
7 var GuestView = require('guestView').GuestView; 7 var GuestView = require('guestView').GuestView;
8 var GuestViewContainer = require('guestViewContainer').GuestViewContainer; 8 var GuestViewContainer = require('guestViewContainer').GuestViewContainer;
9 9
10 function ExtensionOptionsImpl(extensionoptionsElement) { 10 function ExtensionOptionsImpl(extensionoptionsElement) {
11 GuestViewContainer.call(this, extensionoptionsElement, 'extensionoptions'); 11 GuestViewContainer.call(this, extensionoptionsElement, 'extensionoptions');
12 this.autosizeDeferred = false;
13 12
14 new ExtensionOptionsEvents(this); 13 new ExtensionOptionsEvents(this);
15 this.setupElementProperties(); 14 this.setupElementProperties();
16 }; 15 };
17 16
18 ExtensionOptionsImpl.prototype.__proto__ = GuestViewContainer.prototype; 17 ExtensionOptionsImpl.prototype.__proto__ = GuestViewContainer.prototype;
19 18
20 ExtensionOptionsImpl.VIEW_TYPE = 'ExtensionOptions'; 19 ExtensionOptionsImpl.VIEW_TYPE = 'ExtensionOptions';
21 20
22 ExtensionOptionsImpl.prototype.onElementAttached = function() { 21 ExtensionOptionsImpl.prototype.onElementAttached = function() {
(...skipping 47 matching lines...) Expand 10 before | Expand all | Expand 10 after
70 return this.element.getAttribute('extension'); 69 return this.element.getAttribute('extension');
71 }.bind(this), 70 }.bind(this),
72 set: function(value) { 71 set: function(value) {
73 this.element.setAttribute('extension', value); 72 this.element.setAttribute('extension', value);
74 }.bind(this), 73 }.bind(this),
75 enumerable: true 74 enumerable: true
76 }); 75 });
77 }; 76 };
78 77
79 GuestViewContainer.registerElement(ExtensionOptionsImpl); 78 GuestViewContainer.registerElement(ExtensionOptionsImpl);
OLDNEW
« no previous file with comments | « no previous file | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698