diff options
| author | rdevlin.cronin <rdevlin.cronin@chromium.org> | 2016-03-23 17:02:29 -0700 |
|---|---|---|
| committer | Commit bot <commit-bot@chromium.org> | 2016-03-24 00:03:51 +0000 |
| commit | 4a78c48bcf51dda7cb915ba1866fdefcffa9bc0c (patch) | |
| tree | 1506b62bbcd37454d87a78d7bb55fb36518834eb /chrome/chrome_browser_ui.gypi | |
| parent | de73d1be8f921f7155a606a558452b5f89c48fb2 (diff) | |
| download | chromium_src-4a78c48bcf51dda7cb915ba1866fdefcffa9bc0c.zip chromium_src-4a78c48bcf51dda7cb915ba1866fdefcffa9bc0c.tar.gz chromium_src-4a78c48bcf51dda7cb915ba1866fdefcffa9bc0c.tar.bz2 | |
[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
Review URL: https://codereview.chromium.org/1809813002
Cr-Commit-Position: refs/heads/master@{#382981}
Diffstat (limited to 'chrome/chrome_browser_ui.gypi')
| -rw-r--r-- | chrome/chrome_browser_ui.gypi | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/chrome/chrome_browser_ui.gypi b/chrome/chrome_browser_ui.gypi index 3239cda..75fa4985 100644 --- a/chrome/chrome_browser_ui.gypi +++ b/chrome/chrome_browser_ui.gypi @@ -2769,6 +2769,8 @@ 'browser/ui/extensions/extension_message_bubble_factory.h', 'browser/ui/extensions/extension_toolbar_icon_surfacing_bubble_delegate.cc', 'browser/ui/extensions/extension_toolbar_icon_surfacing_bubble_delegate.h', + 'browser/ui/extensions/blocked_action_bubble_delegate.cc', + 'browser/ui/extensions/blocked_action_bubble_delegate.h', 'browser/ui/extensions/hosted_app_browser_controller.cc', 'browser/ui/extensions/hosted_app_browser_controller.h', 'browser/ui/extensions/icon_with_badge_image_source.cc', |
