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

Unified Diff: extensions/renderer/resources/guest_view/web_view.js

Issue 847893002: Implemented explicit resizing from guestview. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: 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
Index: extensions/renderer/resources/guest_view/web_view.js
diff --git a/extensions/renderer/resources/guest_view/web_view.js b/extensions/renderer/resources/guest_view/web_view.js
index b74e2cb9fd79e90ef195a0f6c2aef65b1b0c2333..0f92c10aba4cbbf1cd319b4bc0da9a11744b43c1 100644
--- a/extensions/renderer/resources/guest_view/web_view.js
+++ b/extensions/renderer/resources/guest_view/web_view.js
@@ -215,6 +215,10 @@ WebViewImpl.prototype.onLoadCommit = function(
}
};
+WebViewImpl.prototype.setSize = function(params) {
Fady Samuel 2015/01/12 23:16:40 This is fine for testing for let's not expose this
paulmeyer 2015/01/12 23:25:19 Done.
+ this.guest.setSize(params);
+};
+
WebViewImpl.prototype.onAttach = function(storagePartitionId) {
this.attributes[WebViewConstants.ATTRIBUTE_PARTITION].setValue(
storagePartitionId);

Powered by Google App Engine
This is Rietveld 408576698