|
[Extensions] Don't count bubble dismissal from 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
Committed: https://crrev.com/1462f63a60f9c7e1e53a3a42f70afc214d67fa71
Cr-Commit-Position: refs/heads/master@{#360373}
Total comments: 4
Total comments: 8
|
Unified diffs |
Side-by-side diffs |
Delta from patch set |
Stats (+316 lines, -93 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
|
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
2
3
4
|
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
2
|
1 chunk |
+4 lines, -2 lines |
0 comments
|
Download
|
 |
M |
chrome/browser/ui/views/extensions/extension_toolbar_icon_surfacing_bubble_views.cc
|
View
|
1
2
|
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
|
1
2
|
4 chunks |
+12 lines, -0 lines |
0 comments
|
Download
|
 |
M |
ui/views/bubble/bubble_delegate.cc
|
View
|
1
2
3
|
5 chunks |
+17 lines, -5 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
|
1
2
|
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
|
Total messages: 22 (7 generated)
|