forked from chromium/chromium
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
This CL adds routing info for content scripts from <webview>.
To support dynamically added/removed content scripts in <webview>, we store these content scripts in the same shared memory where user scripts from declarative content API are stored, but the decision for injection will be made in the render once the url pattern is matched. Since render doesn't need to send IPCs to ask a decision from browser, it makes a precise time injection possible. Special to <webview>, once the content scripts are updated (added/removed), browser will only notify the render process of the given <webview>, rather than all of the renders (which is the case for user scripts). BUG=437566 Committed: https://crrev.com/f853287c95cf818d0b5b02d7f4a6588761096d1c Cr-Commit-Position: refs/heads/master@{#318774} Review URL: https://codereview.chromium.org/906493004 Cr-Commit-Position: refs/heads/master@{#318959}
- Loading branch information
hanxi
authored and
Commit bot
committed
Mar 3, 2015
1 parent
db73fae
commit ccff496
Showing
5 changed files
with
99 additions
and
15 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters