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

Unified Diff: chrome/renderer/resources/extensions/extension_options.js

Issue 847893002: Implemented explicit resizing from guestview. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Another small fix. Created 5 years, 11 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 side-by-side diff with in-line comments
Download patch
« no previous file with comments | « no previous file | chrome/test/data/extensions/platform_apps/web_view/shim/main.js » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: chrome/renderer/resources/extensions/extension_options.js
diff --git a/chrome/renderer/resources/extensions/extension_options.js b/chrome/renderer/resources/extensions/extension_options.js
index cc377e1185c543d7c525015bbf038c7880f5327e..0e4b7a919dce1111bb44397f0aeb52239fefc0f5 100644
--- a/chrome/renderer/resources/extensions/extension_options.js
+++ b/chrome/renderer/resources/extensions/extension_options.js
@@ -128,7 +128,7 @@ ExtensionOptionsImpl.prototype.handleAttributeMutation =
if (!this.guest.getId())
return;
- this.guest.setAutoSize({
+ this.guest.setSize({
'enableAutoSize': this.element.hasAttribute('autosize'),
'min': {
'width': parseInt(this.minwidth || 0),
@@ -177,7 +177,7 @@ ExtensionOptionsImpl.prototype.resize =
if (newHeight > this.minheight)
this.minheight = newHeight;
- this.guest.setAutoSize({
+ this.guest.setSize({
'enableAutoSize': this.element.hasAttribute('autosize'),
'min': {
'width': parseInt(this.minwidth || 0),
« no previous file with comments | « no previous file | chrome/test/data/extensions/platform_apps/web_view/shim/main.js » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698