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

Issue 2092473002: Convert TrayBubbleView to wm common types (Closed)

Created:
4 years, 6 months ago by James Cook
Modified:
4 years, 6 months ago
Reviewers:
msw
CC:
chromium-reviews, msw+watch_chromium.org, sadrul, tfarina, groby+bubble_chromium.org, hcarmona+bubble_chromium.org, kalyank, rouslan+bubble_chromium.org
Base URL:
https://chromium.googlesource.com/chromium/src.git@traybubblewrapper
Target Ref:
refs/pending/heads/master
Project:
chromium
Visibility:
Public.

Description

mash: Optionally set bubble widget parent container via delegate Use the delegate mechanism on ash to support both aura and mus. This eliminates aura::Window usage in SystemTrayBubble and WebNotificationTray, which is step toward converting TrayBubbleView to wm common types. I didn't eliminate BubbleDialogDelegateView::parent_window_ because that mechanism is used in ~30 places inside //chrome. BUG=619636 TEST=ash_unittests, views_unittests, manually check that system tray bubbles still open/close propertly Committed: https://crrev.com/ca6fa1d5d9954bf3f7815b3477acd50a29e9a02e Cr-Commit-Position: refs/heads/master@{#401469}

Patch Set 1 #

Patch Set 2 : cleanup #

Total comments: 8

Patch Set 3 : review feedback #

Unified diffs Side-by-side diffs Delta from patch set Stats (+70 lines, -27 lines) Patch
M ash/system/tray/system_tray.h View 1 2 chunks +5 lines, -1 line 0 comments Download
M ash/system/tray/system_tray.cc View 1 2 2 chunks +15 lines, -0 lines 0 comments Download
M ash/system/tray/system_tray_bubble.cc View 1 2 3 chunks +5 lines, -4 lines 0 comments Download
M ash/system/tray/tray_background_view.h View 1 1 chunk +0 lines, -3 lines 0 comments Download
M ash/system/tray/tray_background_view.cc View 1 1 chunk +0 lines, -6 lines 0 comments Download
M ash/system/web_notification/web_notification_tray.h View 1 1 chunk +4 lines, -0 lines 0 comments Download
M ash/system/web_notification/web_notification_tray.cc View 1 3 chunks +18 lines, -2 lines 0 comments Download
M ui/views/bubble/bubble_dialog_delegate.h View 1 1 chunk +1 line, -0 lines 0 comments Download
M ui/views/bubble/tray_bubble_view.h View 1 4 chunks +11 lines, -5 lines 0 comments Download
M ui/views/bubble/tray_bubble_view.cc View 1 2 4 chunks +11 lines, -6 lines 0 comments Download

Messages

Total messages: 11 (5 generated)
James Cook
msw, please take a look. https://codereview.chromium.org/2092473002/diff/20001/ash/system/web_notification/web_notification_tray.cc File ash/system/web_notification/web_notification_tray.cc (right): https://codereview.chromium.org/2092473002/diff/20001/ash/system/web_notification/web_notification_tray.cc#newcode419 ash/system/web_notification/web_notification_tray.cc:419: WmLookup::Get() This duplicates the ...
4 years, 6 months ago (2016-06-22 21:01:27 UTC) #3
msw
lgtm with minor optional nits. https://codereview.chromium.org/2092473002/diff/20001/ash/system/tray/system_tray.cc File ash/system/tray/system_tray.cc (right): https://codereview.chromium.org/2092473002/diff/20001/ash/system/tray/system_tray.cc#newcode669 ash/system/tray/system_tray.cc:669: // views::TrayBubbleView::Delegate overrides: nit: ...
4 years, 6 months ago (2016-06-22 23:00:23 UTC) #4
James Cook
Thanks for the review. https://codereview.chromium.org/2092473002/diff/20001/ash/system/tray/system_tray.cc File ash/system/tray/system_tray.cc (right): https://codereview.chromium.org/2092473002/diff/20001/ash/system/tray/system_tray.cc#newcode669 ash/system/tray/system_tray.cc:669: // views::TrayBubbleView::Delegate overrides: On 2016/06/22 ...
4 years, 6 months ago (2016-06-22 23:06:29 UTC) #5
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/2092473002/40001
4 years, 6 months ago (2016-06-22 23:07:41 UTC) #8
commit-bot: I haz the power
Committed patchset #3 (id:40001)
4 years, 6 months ago (2016-06-22 23:58:02 UTC) #9
commit-bot: I haz the power
4 years, 6 months ago (2016-06-23 00:01:06 UTC) #11
Message was sent while issue was closed.
Patchset 3 (id:??) landed as
https://crrev.com/ca6fa1d5d9954bf3f7815b3477acd50a29e9a02e
Cr-Commit-Position: refs/heads/master@{#401469}

Powered by Google App Engine
This is Rietveld 408576698