summaryrefslogtreecommitdiffstats
path: root/extensions/common/guest_view
diff options
context:
space:
mode:
authorhanxi <hanxi@chromium.org>2015-04-16 12:15:32 -0700
committerCommit bot <commit-bot@chromium.org>2015-04-16 19:16:06 +0000
commit05a02505462f29d067288ec9e5143c2daad5be78 (patch)
tree78cae035ea9af5c990a0ab8d7c97c6c4c3ed7404 /extensions/common/guest_view
parentb87cb277526092e101ce29f2ad0393f6247cc39e (diff)
downloadchromium_src-05a02505462f29d067288ec9e5143c2daad5be78.zip
chromium_src-05a02505462f29d067288ec9e5143c2daad5be78.tar.gz
chromium_src-05a02505462f29d067288ec9e5143c2daad5be78.tar.bz2
Implement <webview>.addContentScript/removeContentScript API [1].
This patch includes the changes that enables <webview>.addContentScript/removeContentScript API work on extensions. This is the first patch in a series of patches: 1) Implement <webview>.addContentScript/removeContentScript API [1] (https://codereview.chromium.org/959413003) 2) Implement <webview>.addContentScript/removeContentScript API [2] (https://codereview.chromium.org/1056533002) 3) Implement <webview>.addContentScript/removeContentScript API [3] (https://codereview.chromium.org/1058113002) TBR=asvitkine@chromium.org BUG=461052 Review URL: https://codereview.chromium.org/959413003 Cr-Commit-Position: refs/heads/master@{#325492}
Diffstat (limited to 'extensions/common/guest_view')
-rw-r--r--extensions/common/guest_view/guest_view_messages.h5
1 files changed, 5 insertions, 0 deletions
diff --git a/extensions/common/guest_view/guest_view_messages.h b/extensions/common/guest_view/guest_view_messages.h
index 0ac6704..b1b18ad 100644
--- a/extensions/common/guest_view/guest_view_messages.h
+++ b/extensions/common/guest_view/guest_view_messages.h
@@ -59,3 +59,8 @@ IPC_MESSAGE_CONTROL3(GuestViewHostMsg_ResizeGuest,
int /* routing_id */,
int /* element_instance_id*/,
gfx::Size /* new_size */)
+
+IPC_SYNC_MESSAGE_CONTROL2_1(GuestViewHostMsg_CanExecuteContentScriptSync,
+ int /* routing_id */,
+ int /* script_id */,
+ bool /* allowed */)