|
|
Do not activate system tray bubble by default
* Open SystemTrayBubble in inactive state by default,
and explicitly close the bubble after executing action.
* SystemTray::ActivationObserver to close the bubble if
a window other than system tray or popup notification is
activated. I'll revisit this after this CL as going through all notification is a huge task.
* Introduced KeyEventWatcher so that SystemTrayBubble
can close,or start keyboard navigation on
esc/tab/alt-tab.
* Explicitly activate in following conditions
- The focus is requested on the item.
- Accelerator is used to open the bubble
(for accessibility)
BUG= 120680
TEST=manual. SystemTrayTest.Activation. Updated a few other tests to increase coverage.
Committed: https://crrev.com/d69e8cbbe0412fabce0c091e6d19d9ac9d1fea00
Cr-Commit-Position: refs/heads/master@{#420794}
Total comments: 53
Total comments: 13
Total comments: 2
|
Unified diffs |
Side-by-side diffs |
Delta from patch set |
Stats (+427 lines, -80 lines) |
Patch |
 |
M |
ash/BUILD.gn
|
View
|
1
2
3
4
|
2 chunks |
+4 lines, -0 lines |
0 comments
|
Download
|
 |
M |
ash/accelerators/accelerator_controller_delegate_aura.cc
|
View
|
|
1 chunk |
+5 lines, -2 lines |
0 comments
|
Download
|
 |
A |
ash/aura/key_event_watcher_aura.h
|
View
|
1
|
1 chunk |
+36 lines, -0 lines |
0 comments
|
Download
|
 |
A + |
ash/aura/key_event_watcher_aura.cc
|
View
|
|
1 chunk |
+5 lines, -7 lines |
0 comments
|
Download
|
 |
M |
ash/aura/wm_shell_aura.h
|
View
|
1
2
|
1 chunk |
+1 line, -0 lines |
0 comments
|
Download
|
 |
M |
ash/aura/wm_shell_aura.cc
|
View
|
|
2 chunks |
+5 lines, -0 lines |
0 comments
|
Download
|
 |
A |
ash/common/key_event_watcher.h
|
View
|
1
2
|
1 chunk |
+49 lines, -0 lines |
0 comments
|
Download
|
 |
A |
ash/common/key_event_watcher.cc
|
View
|
1
2
|
1 chunk |
+27 lines, -0 lines |
0 comments
|
Download
|
 |
M |
ash/common/shelf/shelf_layout_manager.h
|
View
|
|
1 chunk |
+1 line, -0 lines |
0 comments
|
Download
|
 |
M |
ash/common/system/audio/volume_view.h
|
View
|
|
1 chunk |
+0 lines, -1 line |
0 comments
|
Download
|
 |
M |
ash/common/system/audio/volume_view.cc
|
View
|
|
2 chunks |
+2 lines, -2 lines |
0 comments
|
Download
|
 |
M |
ash/common/system/chromeos/bluetooth/tray_bluetooth.cc
|
View
|
1
2
3
4
|
1 chunk |
+1 line, -0 lines |
0 comments
|
Download
|
 |
M |
ash/common/system/chromeos/ime_menu/ime_list_view.cc
|
View
|
|
3 chunks |
+7 lines, -6 lines |
0 comments
|
Download
|
 |
M |
ash/common/system/chromeos/network/network_state_list_detailed_view.cc
|
View
|
|
3 chunks |
+8 lines, -1 line |
0 comments
|
Download
|
 |
M |
ash/common/system/chromeos/settings/tray_settings.cc
|
View
|
1
2
|
3 chunks |
+13 lines, -9 lines |
0 comments
|
Download
|
 |
M |
ash/common/system/chromeos/tray_caps_lock.cc
|
View
|
1
|
1 chunk |
+3 lines, -1 line |
0 comments
|
Download
|
 |
M |
ash/common/system/chromeos/tray_tracing.cc
|
View
|
1
2
3
4
|
3 chunks |
+3 lines, -2 lines |
0 comments
|
Download
|
 |
M |
ash/common/system/date/date_default_view.h
|
View
|
|
2 chunks |
+2 lines, -1 line |
0 comments
|
Download
|
 |
M |
ash/common/system/date/date_default_view.cc
|
View
|
|
3 chunks |
+8 lines, -6 lines |
0 comments
|
Download
|
 |
M |
ash/common/system/date/date_view.h
|
View
|
1
|
2 chunks |
+2 lines, -2 lines |
0 comments
|
Download
|
 |
M |
ash/common/system/date/date_view.cc
|
View
|
|
4 chunks |
+10 lines, -4 lines |
0 comments
|
Download
|
 |
M |
ash/common/system/date/tray_date.cc
|
View
|
|
1 chunk |
+1 line, -1 line |
0 comments
|
Download
|
 |
M |
ash/common/system/tray/actionable_view.h
|
View
|
1
2
|
3 chunks |
+11 lines, -1 line |
0 comments
|
Download
|
 |
M |
ash/common/system/tray/actionable_view.cc
|
View
|
|
3 chunks |
+9 lines, -1 line |
0 comments
|
Download
|
 |
M |
ash/common/system/tray/hover_highlight_view.cc
|
View
|
|
1 chunk |
+3 lines, -1 line |
0 comments
|
Download
|
 |
M |
ash/common/system/tray/system_tray.h
|
View
|
1
2
3
4
|
5 chunks |
+27 lines, -3 lines |
0 comments
|
Download
|
 |
M |
ash/common/system/tray/system_tray.cc
|
View
|
1
2
3
4
|
10 chunks |
+92 lines, -1 line |
0 comments
|
Download
|
 |
M |
ash/common/system/tray/system_tray_bubble.cc
|
View
|
1
|
2 chunks |
+10 lines, -2 lines |
0 comments
|
Download
|
 |
M |
ash/common/system/tray/system_tray_unittest.cc
|
View
|
1
2
|
4 chunks |
+41 lines, -0 lines |
0 comments
|
Download
|
 |
M |
ash/common/system/tray/tray_background_view.cc
|
View
|
|
1 chunk |
+2 lines, -1 line |
0 comments
|
Download
|
 |
M |
ash/common/system/tray/tray_event_filter.cc
|
View
|
1
2
5
|
2 chunks |
+12 lines, -13 lines |
0 comments
|
Download
|
 |
M |
ash/common/system/tray/tray_item_more.h
|
View
|
1
2
3
4
|
2 chunks |
+0 lines, -3 lines |
0 comments
|
Download
|
 |
M |
ash/common/system/tray/tray_item_more.cc
|
View
|
1
2
3
4
|
1 chunk |
+1 line, -1 line |
0 comments
|
Download
|
 |
M |
ash/common/system/tray_accessibility.cc
|
View
|
1
2
3
4
|
1 chunk |
+3 lines, -0 lines |
0 comments
|
Download
|
 |
M |
ash/common/system/update/tray_update.cc
|
View
|
1
2
3
4
|
3 chunks |
+4 lines, -2 lines |
0 comments
|
Download
|
 |
M |
ash/common/wm_shell.h
|
View
|
|
2 chunks |
+3 lines, -0 lines |
0 comments
|
Download
|
 |
M |
ash/mus/bridge/wm_shell_mus.h
|
View
|
|
1 chunk |
+1 line, -0 lines |
0 comments
|
Download
|
 |
M |
ash/mus/bridge/wm_shell_mus.cc
|
View
|
1
2
3
4
|
2 chunks |
+7 lines, -0 lines |
0 comments
|
Download
|
 |
M |
ash/system/web_notification/web_notification_tray_unittest.cc
|
View
|
1
2
|
3 chunks |
+6 lines, -0 lines |
0 comments
|
Download
|
 |
M |
ui/views/bubble/tray_bubble_view.h
|
View
|
|
1 chunk |
+0 lines, -1 line |
0 comments
|
Download
|
 |
M |
ui/views/bubble/tray_bubble_view.cc
|
View
|
|
3 chunks |
+2 lines, -5 lines |
0 comments
|
Download
|
Total messages: 83 (67 generated)
|