|
Enable <webview>.executeScript outside of Apps and Extensions [1]
This patch enables javascript code injection like <webview>.executeScript({code: ...}), but does not include file injection like <webview>.executeScript({file: ...}). File injection will be in another patch.
BUG= 434081
Committed: https://crrev.com/79f7a57302cae3f7afcd53c6dff542e32bada999
Cr-Commit-Position: refs/heads/master@{#319727}
Total comments: 2
Total comments: 10
Total comments: 4
Total comments: 10
|
Unified diffs |
Side-by-side diffs |
Delta from patch set |
Stats (+189 lines, -34 lines) |
Patch |
 |
M |
chrome/browser/chromeos/accessibility/accessibility_manager.cc
|
View
|
1
2
3
4
5
|
3 chunks |
+3 lines, -2 lines |
0 comments
|
Download
|
 |
M |
chrome/browser/extensions/api/tabs/tabs_api.cc
|
View
|
1
2
3
|
3 chunks |
+3 lines, -1 line |
0 comments
|
Download
|
 |
A |
chrome/browser/ui/webui/webui_webview_browsertest.cc
|
View
|
1
2
3
4
5
6
|
1 chunk |
+46 lines, -0 lines |
0 comments
|
Download
|
 |
M |
chrome/chrome_tests.gypi
|
View
|
1
2
3
4
5
6
7
|
1 chunk |
+1 line, -0 lines |
0 comments
|
Download
|
 |
A |
chrome/test/data/webui/webview_execute_script_test.js
|
View
|
1
2
3
4
5
6
7
8
|
1 chunk |
+32 lines, -0 lines |
0 comments
|
Download
|
 |
M |
extensions/browser/api/execute_code_function.h
|
View
|
1
2
3
|
3 chunks |
+9 lines, -0 lines |
0 comments
|
Download
|
 |
M |
extensions/browser/api/execute_code_function.cc
|
View
|
1
2
3
4
|
3 chunks |
+6 lines, -2 lines |
0 comments
|
Download
|
 |
M |
extensions/browser/api/web_view/web_view_internal_api.cc
|
View
|
1
2
3
4
|
1 chunk |
+13 lines, -1 line |
0 comments
|
Download
|
 |
M |
extensions/browser/script_executor.h
|
View
|
1
2
|
1 chunk |
+1 line, -1 line |
0 comments
|
Download
|
 |
M |
extensions/browser/script_executor.cc
|
View
|
1
2
3
4
|
5 chunks |
+17 lines, -12 lines |
0 comments
|
Download
|
 |
M |
extensions/common/extension_messages.h
|
View
|
1
2
3
4
|
4 chunks |
+13 lines, -3 lines |
0 comments
|
Download
|
 |
M |
extensions/common/extension_messages.cc
|
View
|
1
2
3
4
|
1 chunk |
+24 lines, -0 lines |
0 comments
|
Download
|
 |
M |
extensions/common/host_id.h
|
View
|
|
1 chunk |
+1 line, -1 line |
0 comments
|
Download
|
 |
M |
extensions/renderer/extension_injection_host.h
|
View
|
1
|
2 chunks |
+4 lines, -2 lines |
0 comments
|
Download
|
 |
M |
extensions/renderer/extension_injection_host.cc
|
View
|
1
2
3
4
|
1 chunk |
+3 lines, -2 lines |
0 comments
|
Download
|
 |
M |
extensions/renderer/programmatic_script_injector.cc
|
View
|
1
2
3
4
5
6
7
|
1 chunk |
+1 line, -0 lines |
0 comments
|
Download
|
 |
M |
extensions/renderer/script_injection_manager.cc
|
View
|
1
2
3
4
5
|
2 chunks |
+12 lines, -6 lines |
0 comments
|
Download
|
 |
M |
extensions/renderer/web_ui_injection_host.cc
|
View
|
1
2
|
1 chunk |
+0 lines, -1 line |
0 comments
|
Download
|
Total messages: 33 (11 generated)
|