|
Introduce ActiveScriptController, track active extension scripts.
ActiveScriptController tracks all running active scripts (content scripts and
scripts injected via tabs.executeScript), and, if the flag is enabled, ensures
an ExtensionAction is displayed in the location bar.
Next step: Require permission before executing scripts.
TBR=sky@chromium.org (mechanical, no-impact changes to c/b/ui)
BUG= 362353
Committed: https://src.chromium.org/viewvc/chrome?view=rev&revision=269681
Total comments: 45
Total comments: 42
Total comments: 16
Total comments: 7
|
Unified diffs |
Side-by-side diffs |
Delta from patch set |
Stats (+777 lines, -178 lines) |
Patch |
 |
A |
chrome/browser/extensions/active_script_controller.h
|
View
|
1
2
3
4
5
|
1 chunk |
+88 lines, -0 lines |
0 comments
|
Download
|
 |
A |
chrome/browser/extensions/active_script_controller.cc
|
View
|
1
2
3
4
5
|
1 chunk |
+131 lines, -0 lines |
0 comments
|
Download
|
 |
A |
chrome/browser/extensions/active_script_controller_browsertest.cc
|
View
|
1
2
3
4
5
|
1 chunk |
+141 lines, -0 lines |
0 comments
|
Download
|
 |
M |
chrome/browser/extensions/activity_log/uma_policy.h
|
View
|
1
2
3
|
1 chunk |
+4 lines, -2 lines |
0 comments
|
Download
|
 |
M |
chrome/browser/extensions/activity_log/uma_policy.cc
|
View
|
1
2
3
4
5
6
7
|
5 chunks |
+37 lines, -15 lines |
0 comments
|
Download
|
 |
M |
chrome/browser/extensions/activity_log/uma_policy_unittest.cc
|
View
|
1
2
3
4
5
6
7
|
2 chunks |
+6 lines, -6 lines |
0 comments
|
Download
|
 |
M |
chrome/browser/extensions/api/extension_action/extension_action_api.cc
|
View
|
1
2
3
4
5
|
3 chunks |
+3 lines, -5 lines |
0 comments
|
Download
|
 |
M |
chrome/browser/extensions/location_bar_controller.h
|
View
|
1
2
3
|
1 chunk |
+62 lines, -15 lines |
0 comments
|
Download
|
 |
A |
chrome/browser/extensions/location_bar_controller.cc
|
View
|
1
2
3
4
|
1 chunk |
+88 lines, -0 lines |
0 comments
|
Download
|
 |
M |
chrome/browser/extensions/page_action_controller.h
|
View
|
1
2
3
|
1 chunk |
+17 lines, -20 lines |
0 comments
|
Download
|
 |
M |
chrome/browser/extensions/page_action_controller.cc
|
View
|
1
2
3
4
|
2 chunks |
+45 lines, -88 lines |
0 comments
|
Download
|
 |
M |
chrome/browser/extensions/script_executor.cc
|
View
|
1
2
3
4
5
6
|
2 chunks |
+16 lines, -0 lines |
0 comments
|
Download
|
 |
M |
chrome/browser/extensions/tab_helper.cc
|
View
|
1
2
3
|
3 chunks |
+3 lines, -2 lines |
0 comments
|
Download
|
 |
M |
chrome/browser/ui/cocoa/location_bar/page_action_decoration.mm
|
View
|
1
2
|
1 chunk |
+1 line, -2 lines |
0 comments
|
Download
|
 |
M |
chrome/browser/ui/views/location_bar/page_action_image_view.cc
|
View
|
1
2
|
1 chunk |
+1 line, -1 line |
0 comments
|
Download
|
 |
M |
chrome/chrome_browser_extensions.gypi
|
View
|
1
2
3
4
5
6
7
|
2 chunks |
+3 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/extensions/active_script/content_scripts_all_hosts/content_script.js
|
View
|
1
2
|
1 chunk |
+1 line, -1 line |
0 comments
|
Download
|
 |
A |
chrome/test/data/extensions/active_script/content_scripts_all_hosts/manifest.json
|
View
|
|
1 chunk |
+12 lines, -0 lines |
0 comments
|
Download
|
 |
A + |
chrome/test/data/extensions/active_script/content_scripts_explicit_hosts/content_script.js
|
View
|
1
2
3
4
5
|
1 chunk |
+1 line, -1 line |
0 comments
|
Download
|
 |
A |
chrome/test/data/extensions/active_script/content_scripts_explicit_hosts/manifest.json
|
View
|
|
1 chunk |
+12 lines, -0 lines |
0 comments
|
Download
|
 |
A + |
chrome/test/data/extensions/active_script/inject_scripts_all_hosts/background.js
|
View
|
1
|
1 chunk |
+4 lines, -4 lines |
0 comments
|
Download
|
 |
A |
chrome/test/data/extensions/active_script/inject_scripts_all_hosts/manifest.json
|
View
|
|
1 chunk |
+12 lines, -0 lines |
0 comments
|
Download
|
 |
M |
extensions/common/extension_messages.h
|
View
|
1
2
|
1 chunk |
+4 lines, -0 lines |
0 comments
|
Download
|
 |
M |
extensions/common/feature_switch.h
|
View
|
1
2
|
1 chunk |
+1 line, -0 lines |
0 comments
|
Download
|
 |
M |
extensions/common/feature_switch.cc
|
View
|
1
2
|
3 chunks |
+8 lines, -1 line |
0 comments
|
Download
|
 |
M |
extensions/common/permissions/permissions_data.h
|
View
|
1
2
3
|
1 chunk |
+4 lines, -0 lines |
0 comments
|
Download
|
 |
M |
extensions/common/permissions/permissions_data.cc
|
View
|
1
2
|
1 chunk |
+8 lines, -0 lines |
0 comments
|
Download
|
 |
M |
extensions/common/switches.h
|
View
|
1
2
3
4
5
|
1 chunk |
+1 line, -0 lines |
0 comments
|
Download
|
 |
M |
extensions/common/switches.cc
|
View
|
1
2
3
4
5
|
1 chunk |
+3 lines, -0 lines |
0 comments
|
Download
|
 |
M |
extensions/renderer/user_script_slave.cc
|
View
|
1
2
4
5
|
4 chunks |
+17 lines, -7 lines |
0 comments
|
Download
|
 |
M |
tools/metrics/histograms/histograms.xml
|
View
|
|
3 chunks |
+42 lines, -8 lines |
0 comments
|
Download
|
Total messages: 35 (0 generated)
|