|
Respect the clipboardRead and clipboardWrite permissions in content scripts.
Added an extra "effective extension" property to ScriptContext for this to still work correctly in about:blank iframes inside extension pages.
BUG= 395376
Committed: https://crrev.com/7e1d745456f66b1d32df236e285a849c8d69db00
Cr-Commit-Position: refs/heads/master@{#293818}
Total comments: 27
Total comments: 6
|
Unified diffs |
Side-by-side diffs |
Delta from patch set |
Stats (+453 lines, -157 lines) |
Patch |
 |
M |
chrome/browser/renderer_host/chrome_extension_message_filter.h
|
View
|
|
1 chunk |
+0 lines, -3 lines |
0 comments
|
Download
|
 |
M |
chrome/browser/renderer_host/chrome_extension_message_filter.cc
|
View
|
1
2
3
4
|
3 chunks |
+0 lines, -21 lines |
0 comments
|
Download
|
 |
M |
chrome/common/extensions/chrome_extension_messages.h
|
View
|
1
2
|
1 chunk |
+0 lines, -8 lines |
0 comments
|
Download
|
 |
M |
chrome/renderer/content_settings_observer.h
|
View
|
|
1 chunk |
+0 lines, -1 line |
0 comments
|
Download
|
 |
M |
chrome/renderer/content_settings_observer.cc
|
View
|
1
2
3
4
5
|
3 chunks |
+27 lines, -7 lines |
0 comments
|
Download
|
 |
M |
chrome/renderer/extensions/chrome_extensions_dispatcher_delegate.h
|
View
|
1
2
|
1 chunk |
+3 lines, -1 line |
0 comments
|
Download
|
 |
M |
chrome/renderer/extensions/chrome_extensions_dispatcher_delegate.cc
|
View
|
1
2
|
1 chunk |
+10 lines, -3 lines |
0 comments
|
Download
|
 |
M |
chrome/renderer/extensions/chrome_v8_context.h
|
View
|
1
2
|
1 chunk |
+3 lines, -1 line |
0 comments
|
Download
|
 |
M |
chrome/renderer/extensions/chrome_v8_context.cc
|
View
|
1
2
|
1 chunk |
+9 lines, -2 lines |
0 comments
|
Download
|
 |
A |
chrome/test/data/extensions/api_test/clipboard/extension/content_script.js
|
View
|
1
2
3
4
5
|
1 chunk |
+34 lines, -0 lines |
0 comments
|
Download
|
 |
M |
chrome/test/data/extensions/api_test/clipboard/extension/manifest.json
|
View
|
1
2
3
4
5
|
1 chunk |
+7 lines, -1 line |
0 comments
|
Download
|
 |
M |
chrome/test/data/extensions/api_test/clipboard/extension/test.js
|
View
|
1
2
3
4
5
|
2 chunks |
+91 lines, -26 lines |
0 comments
|
Download
|
 |
A |
chrome/test/data/extensions/api_test/clipboard/extension_no_permission/content_script.js
|
View
|
1
2
3
4
5
|
1 chunk |
+34 lines, -0 lines |
0 comments
|
Download
|
 |
M |
chrome/test/data/extensions/api_test/clipboard/extension_no_permission/manifest.json
|
View
|
1
2
3
4
5
|
1 chunk |
+8 lines, -1 line |
0 comments
|
Download
|
 |
M |
chrome/test/data/extensions/api_test/clipboard/extension_no_permission/test.js
|
View
|
1
2
3
4
5
|
2 chunks |
+94 lines, -26 lines |
0 comments
|
Download
|
 |
M |
extensions/renderer/default_dispatcher_delegate.h
|
View
|
1
2
|
1 chunk |
+3 lines, -1 line |
0 comments
|
Download
|
 |
M |
extensions/renderer/default_dispatcher_delegate.cc
|
View
|
1
2
|
1 chunk |
+9 lines, -3 lines |
0 comments
|
Download
|
 |
M |
extensions/renderer/dispatcher.h
|
View
|
1
2
3
4
|
1 chunk |
+4 lines, -2 lines |
0 comments
|
Download
|
 |
M |
extensions/renderer/dispatcher.cc
|
View
|
1
2
3
4
5
|
2 chunks |
+43 lines, -27 lines |
0 comments
|
Download
|
 |
M |
extensions/renderer/dispatcher_delegate.h
|
View
|
1
2
|
1 chunk |
+3 lines, -1 line |
0 comments
|
Download
|
 |
M |
extensions/renderer/module_system_test.cc
|
View
|
1
2
3
|
1 chunk |
+2 lines, -0 lines |
0 comments
|
Download
|
 |
M |
extensions/renderer/script_context.h
|
View
|
1
2
3
4
|
4 chunks |
+22 lines, -1 line |
0 comments
|
Download
|
 |
M |
extensions/renderer/script_context.cc
|
View
|
1
2
3
4
5
|
2 chunks |
+43 lines, -21 lines |
0 comments
|
Download
|
 |
M |
extensions/renderer/script_context_set_unittest.cc
|
View
|
1
2
3
|
1 chunk |
+2 lines, -0 lines |
0 comments
|
Download
|
 |
M |
extensions/renderer/v8_schema_registry.cc
|
View
|
1
2
|
1 chunk |
+2 lines, -0 lines |
0 comments
|
Download
|
Total messages: 16 (4 generated)
|