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

Unified Diff: chrome/test/data/extensions/platform_apps/web_view/shim/inject_comm_channel.js

Issue 78303005: ContentSettings API should not interact with <webview> (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Removed unnecessary churn Created 7 years 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: chrome/test/data/extensions/platform_apps/web_view/shim/inject_comm_channel.js
diff --git a/chrome/test/data/extensions/platform_apps/web_view/shim/inject_resize_test.js b/chrome/test/data/extensions/platform_apps/web_view/shim/inject_comm_channel.js
similarity index 69%
copy from chrome/test/data/extensions/platform_apps/web_view/shim/inject_resize_test.js
copy to chrome/test/data/extensions/platform_apps/web_view/shim/inject_comm_channel.js
index 0cd238e828f0c56083f977756dc9457213bc36b7..c5cc2d5ee03f915c8069d180eeab4982cd24ac0f 100644
--- a/chrome/test/data/extensions/platform_apps/web_view/shim/inject_resize_test.js
+++ b/chrome/test/data/extensions/platform_apps/web_view/shim/inject_comm_channel.js
@@ -20,10 +20,3 @@ window.addEventListener('message', function(e) {
}
});
-window.addEventListener('resize', function(e) {
- if (!embedder) {
- return;
- }
- var msg = ['resize', document.body.clientWidth, document.body.clientHeight];
- embedder.postMessage(JSON.stringify(msg), '*');
-});

Powered by Google App Engine
This is Rietveld 408576698