DescriptionDesktop aura: Expand what the ViewsDelegate can do to new windows.
There are actual cases where we have to show dialogs with no parent or context,
when there are no browser windows. All of the cases that I can find go through
the CreateWindow() interface.
CreateWindow() now explicitly sets InitParams::top_level to true. The
ViewsDelegate now can do arbitrary manipulations on the InitParams so that when
top_level is true and we have no context, we either create a native_widget or
set the context based on desktop type.
BUG=165759
Committed: https://src.chromium.org/viewvc/chrome?view=rev&revision=173539
Patch Set 1 #
Total comments: 5
Patch Set 2 : Fix small bug in CVD and win_aura #Patch Set 3 : Rebase to ToT #
Messages
Total messages: 7 (0 generated)
|