|
|
[Extensions] Show a "refresh" bubble when needed with click-to-script
When an extension wants to inject scripts at document start or use webRequest,
it needs to act on the page before the page completes loading. This is a problem
with click-to-script, which makes extensions wait for user action. For now,
add a bubble that prompts the user to refresh the page in order to allow the
extension to run on the page if the user triggers it and it had blocked actions
that need to run at document_start.
BUG= 460306
Committed: https://crrev.com/4a78c48bcf51dda7cb915ba1866fdefcffa9bc0c
Cr-Commit-Position: refs/heads/master@{#382981}
Total comments: 4
Total comments: 2
|
Unified diffs |
Side-by-side diffs |
Delta from patch set |
Stats (+470 lines, -25 lines) |
Patch |
 |
M |
chrome/app/generated_resources.grd
|
View
|
1
|
2 chunks |
+15 lines, -1 line |
0 comments
|
Download
|
 |
M |
chrome/browser/extensions/api/web_request/web_request_apitest.cc
|
View
|
1
|
2 chunks |
+15 lines, -2 lines |
0 comments
|
Download
|
 |
M |
chrome/browser/extensions/extension_action_runner.h
|
View
|
1
|
4 chunks |
+30 lines, -0 lines |
0 comments
|
Download
|
 |
M |
chrome/browser/extensions/extension_action_runner.cc
|
View
|
1
|
9 chunks |
+74 lines, -4 lines |
0 comments
|
Download
|
 |
M |
chrome/browser/extensions/extension_action_runner_browsertest.cc
|
View
|
1
|
4 chunks |
+106 lines, -1 line |
0 comments
|
Download
|
 |
M |
chrome/browser/extensions/extension_action_runner_unittest.cc
|
View
|
1
|
6 chunks |
+6 lines, -6 lines |
0 comments
|
Download
|
 |
M |
chrome/browser/ui/cocoa/extensions/browser_actions_controller.mm
|
View
|
1
2
|
6 chunks |
+42 lines, -9 lines |
0 comments
|
Download
|
 |
M |
chrome/browser/ui/cocoa/extensions/extension_message_bubble_bridge.h
|
View
|
1
|
1 chunk |
+1 line, -0 lines |
0 comments
|
Download
|
 |
M |
chrome/browser/ui/cocoa/extensions/extension_message_bubble_bridge.mm
|
View
|
1
|
1 chunk |
+5 lines, -0 lines |
0 comments
|
Download
|
 |
A |
chrome/browser/ui/extensions/blocked_action_bubble_delegate.h
|
View
|
1
|
1 chunk |
+38 lines, -0 lines |
0 comments
|
Download
|
 |
A |
chrome/browser/ui/extensions/blocked_action_bubble_delegate.cc
|
View
|
1
|
1 chunk |
+53 lines, -0 lines |
0 comments
|
Download
|
 |
M |
chrome/browser/ui/extensions/extension_action_view_controller.cc
|
View
|
|
1 chunk |
+1 line, -1 line |
0 comments
|
Download
|
 |
M |
chrome/browser/ui/extensions/extension_toolbar_icon_surfacing_bubble_delegate.h
|
View
|
1
|
1 chunk |
+1 line, -0 lines |
0 comments
|
Download
|
 |
M |
chrome/browser/ui/extensions/extension_toolbar_icon_surfacing_bubble_delegate.cc
|
View
|
1
|
1 chunk |
+4 lines, -0 lines |
0 comments
|
Download
|
 |
M |
chrome/browser/ui/toolbar/test_toolbar_actions_bar_bubble_delegate.cc
|
View
|
1
|
1 chunk |
+1 line, -0 lines |
0 comments
|
Download
|
 |
M |
chrome/browser/ui/toolbar/toolbar_actions_bar.h
|
View
|
|
2 chunks |
+12 lines, -1 line |
0 comments
|
Download
|
 |
M |
chrome/browser/ui/toolbar/toolbar_actions_bar.cc
|
View
|
1
|
2 chunks |
+12 lines, -0 lines |
0 comments
|
Download
|
 |
M |
chrome/browser/ui/toolbar/toolbar_actions_bar_bubble_delegate.h
|
View
|
1
|
2 chunks |
+6 lines, -0 lines |
0 comments
|
Download
|
 |
M |
chrome/browser/ui/toolbar/toolbar_actions_bar_delegate.h
|
View
|
|
2 chunks |
+5 lines, -0 lines |
0 comments
|
Download
|
 |
M |
chrome/browser/ui/views/toolbar/browser_actions_container.h
|
View
|
|
1 chunk |
+2 lines, -0 lines |
0 comments
|
Download
|
 |
M |
chrome/browser/ui/views/toolbar/browser_actions_container.cc
|
View
|
1
|
1 chunk |
+19 lines, -0 lines |
0 comments
|
Download
|
 |
M |
chrome/chrome_browser_ui.gypi
|
View
|
1
|
1 chunk |
+2 lines, -0 lines |
0 comments
|
Download
|
 |
A |
chrome/test/data/extensions/blocked_actions/content_scripts/manifest.json
|
View
|
1
|
1 chunk |
+11 lines, -0 lines |
0 comments
|
Download
|
 |
A |
chrome/test/data/extensions/blocked_actions/content_scripts/script.js
|
View
|
1
|
1 chunk |
+9 lines, -0 lines |
0 comments
|
Download
|
Total messages: 36 (20 generated)
|