Descriptionchromeos: Remove TrayBubbleView::Delegate::OnBeforeBubbleWidgetInit
This method was added to let mash set the widget container back when
mash could not use aura::Window. Now we can set the parent aura::Window
explicitly.
Eliminate the TrayBubbleView::Create() factory method because its
signature is identical to the constructor and it doesn't do any
validation.
Eliminate some GetInitParams / GetDefaultInitParams methods that were
only used by WebNotificationTray.
This is mostly a manual revert of:
https://codereview.chromium.org/2092473002/
BUG=671246
TEST=ash_unittests, views_unittests, manually opening all system tray
bubbles on primary and secondary monitors
Review-Url: https://codereview.chromium.org/2901273003
Cr-Commit-Position: refs/heads/master@{#475682}
Committed: https://chromium.googlesource.com/chromium/src/+/c3301607c94a89ec896e7c33f0ec1612e995e84e
Patch Set 1 #Patch Set 2 : cleanup #
Total comments: 6
Patch Set 3 : comments, use InitParams for all parameters #
Total comments: 1
Patch Set 4 : nit #Messages
Total messages: 30 (19 generated)
|