| Index: ui/message_center/views/popup_alignment_delegate.h
|
| diff --git a/ui/message_center/views/popup_alignment_delegate.h b/ui/message_center/views/popup_alignment_delegate.h
|
| index f36deb6ac3ae5c35eac5c8bfce51dae8d7b20b1d..cba532ba0d3c36e0e68472e8e0fa1efa78622dbe 100644
|
| --- a/ui/message_center/views/popup_alignment_delegate.h
|
| +++ b/ui/message_center/views/popup_alignment_delegate.h
|
| @@ -6,6 +6,7 @@
|
| #define UI_MESSAGE_CENTER_VIEWS_POPUP_ALIGNMENT_DELEGATE_H_
|
|
|
| #include "ui/message_center/message_center_export.h"
|
| +#include "ui/views/widget/widget.h"
|
|
|
| namespace gfx {
|
| class Point;
|
| @@ -50,6 +51,12 @@ class MESSAGE_CENTER_EXPORT PopupAlignmentDelegate {
|
| // so that the toasts are arranged at the correct place.
|
| virtual void RecomputeAlignment(const display::Display& display) = 0;
|
|
|
| + // Sets the parent container for popups. If it does not set a parent a
|
| + // default parent will be used (e.g. the native desktop on Windows).
|
| + virtual void ConfigureWidgetInitParamsForContainer(
|
| + views::Widget* widget,
|
| + views::Widget::InitParams* init_params) = 0;
|
| +
|
| protected:
|
| virtual ~PopupAlignmentDelegate();
|
|
|
|
|