Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(331)

Issue 1455313002: [Reland][Extensions] Don't count bubble focus loss as acknowledgment (Closed)

Created:
5 years, 1 month ago by Devlin
Modified:
5 years, 1 month ago
Reviewers:
sky
CC:
chromium-reviews, extensions-reviews_chromium.org, msw+watch_chromium.org, tfarina, groby+bubble_chromium.org, hcarmona+bubble_chromium.org, chromium-apps-reviews_chromium.org, rouslan+bubble_chromium.org, Avi (use Gerrit), Finnur
Base URL:
https://chromium.googlesource.com/chromium/src.git@master
Target Ref:
refs/pending/heads/master
Project:
chromium
Visibility:
Public.

Description

[Reland][Extensions] Don't count bubble focus loss as acknowledgment Currently, if an extension message bubble is shown, and then it is dismissed because it loses focus, we treat it the same as the user clicking the dismiss button - which serves as acknowledging the extension. We could ignore focus loss, but this makes for very noisy, awkward bubbles. Instead, allow the bubble to close, but don't treat this as user acknowledgment, and show the bubble again on next startup. This also involves tracking the close reason for a BubbleDelegateView. BUG=548269 TBR=finnur@chromium.org (no changes relevant from original CL) TBR=avi@chromium.org (no changes relevant from original CL) Committed: https://crrev.com/486b20e71bb481cf6ae6491a998aa252081a8833 Cr-Commit-Position: refs/heads/master@{#360848}

Patch Set 1 : Original #

Patch Set 2 : Fix #

Total comments: 1

Patch Set 3 : Latest master #

Unified diffs Side-by-side diffs Delta from patch set Stats (+319 lines, -109 lines) Patch
M chrome/browser/extensions/dev_mode_bubble_delegate.h View 1 chunk +2 lines, -3 lines 0 comments Download
M chrome/browser/extensions/dev_mode_bubble_delegate.cc View 2 chunks +4 lines, -12 lines 0 comments Download
M chrome/browser/extensions/extension_message_bubble_controller.h View 4 chunks +23 lines, -10 lines 0 comments Download
M chrome/browser/extensions/extension_message_bubble_controller.cc View 9 chunks +40 lines, -16 lines 0 comments Download
M chrome/browser/extensions/extension_message_bubble_controller_unittest.cc View 10 chunks +94 lines, -14 lines 0 comments Download
M chrome/browser/extensions/ntp_overridden_bubble_delegate.h View 1 chunk +1 line, -0 lines 0 comments Download
M chrome/browser/extensions/ntp_overridden_bubble_delegate.cc View 1 chunk +4 lines, -0 lines 0 comments Download
M chrome/browser/extensions/proxy_overridden_bubble_delegate.h View 1 chunk +1 line, -0 lines 0 comments Download
M chrome/browser/extensions/proxy_overridden_bubble_delegate.cc View 1 chunk +4 lines, -0 lines 0 comments Download
M chrome/browser/extensions/settings_api_bubble_delegate.h View 1 chunk +1 line, -0 lines 0 comments Download
M chrome/browser/extensions/settings_api_bubble_delegate.cc View 1 chunk +13 lines, -0 lines 0 comments Download
M chrome/browser/extensions/suspicious_extension_bubble_delegate.h View 1 chunk +1 line, -5 lines 0 comments Download
M chrome/browser/extensions/suspicious_extension_bubble_delegate.cc View 2 chunks +2 lines, -10 lines 0 comments Download
M chrome/browser/ui/cocoa/extensions/extension_message_bubble_bridge.mm View 1 chunk +5 lines, -2 lines 0 comments Download
M chrome/browser/ui/cocoa/extensions/toolbar_actions_bar_bubble_mac.mm View 2 chunks +2 lines, -2 lines 0 comments Download
M chrome/browser/ui/cocoa/extensions/toolbar_actions_bar_bubble_mac_unittest.mm View 3 chunks +6 lines, -3 lines 0 comments Download
M chrome/browser/ui/toolbar/toolbar_actions_bar_bubble_delegate.h View 1 chunk +2 lines, -1 line 0 comments Download
M chrome/browser/ui/toolbar/toolbar_actions_bar_unittest.cc View 1 chunk +1 line, -1 line 0 comments Download
M chrome/browser/ui/toolbar/toolbar_actions_model_unittest.cc View 1 chunk +2 lines, -1 line 0 comments Download
M chrome/browser/ui/views/extensions/extension_message_bubble_view.cc View 1 chunk +4 lines, -2 lines 0 comments Download
M chrome/browser/ui/views/extensions/extension_toolbar_icon_surfacing_bubble_views.cc View 1 chunk +5 lines, -1 line 0 comments Download
M chrome/browser/ui/views/extensions/extension_toolbar_icon_surfacing_bubble_views_unittest.cc View 1 chunk +4 lines, -3 lines 0 comments Download
M ui/views/bubble/bubble_delegate.h View 4 chunks +12 lines, -0 lines 0 comments Download
M ui/views/bubble/bubble_delegate.cc View 1 5 chunks +20 lines, -21 lines 0 comments Download
M ui/views/bubble/bubble_delegate_unittest.cc View 1 2 3 chunks +55 lines, -0 lines 0 comments Download
M ui/views/bubble/bubble_frame_view.h View 3 chunks +6 lines, -0 lines 0 comments Download
M ui/views/bubble/bubble_frame_view.cc View 2 chunks +5 lines, -2 lines 0 comments Download

Messages

Total messages: 11 (6 generated)
Devlin
Scott, mind taking a quick look? https://codereview.chromium.org/1455313002/diff/20001/ui/views/bubble/bubble_delegate.cc File ui/views/bubble/bubble_delegate.cc (left): https://codereview.chromium.org/1455313002/diff/20001/ui/views/bubble/bubble_delegate.cc#oldcode53 ui/views/bubble/bubble_delegate.cc:53: BubbleDelegateView::BubbleDelegateView() Grr... silly ...
5 years, 1 month ago (2015-11-18 23:21:27 UTC) #5
sky
LGTM
5 years, 1 month ago (2015-11-19 16:34:56 UTC) #6
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1455313002/40001 View timeline at https://chromium-cq-status.appspot.com/patch-timeline/1455313002/40001
5 years, 1 month ago (2015-11-20 17:14:36 UTC) #9
commit-bot: I haz the power
Committed patchset #3 (id:40001)
5 years, 1 month ago (2015-11-20 17:20:43 UTC) #10
commit-bot: I haz the power
5 years, 1 month ago (2015-11-20 17:21:18 UTC) #11
Message was sent while issue was closed.
Patchset 3 (id:??) landed as
https://crrev.com/486b20e71bb481cf6ae6491a998aa252081a8833
Cr-Commit-Position: refs/heads/master@{#360848}

Powered by Google App Engine
This is Rietveld 408576698