| Index: ash/system/web_notification/ash_popup_alignment_delegate.cc
|
| diff --git a/ash/system/web_notification/ash_popup_alignment_delegate.cc b/ash/system/web_notification/ash_popup_alignment_delegate.cc
|
| index 360062a087854595b8a2c9ed12dca3fad9da3e9b..f2e4d84ddb6b7271b2ddce0a018b0597d37beb1e 100644
|
| --- a/ash/system/web_notification/ash_popup_alignment_delegate.cc
|
| +++ b/ash/system/web_notification/ash_popup_alignment_delegate.cc
|
| @@ -122,6 +122,11 @@ void AshPopupAlignmentDelegate::ConfigureWidgetInitParamsForContainer(
|
| widget, kShellWindowId_StatusContainer, init_params);
|
| }
|
|
|
| +bool AshPopupAlignmentDelegate::IsPrimaryDisplayForNotification() const {
|
| + return screen_ &&
|
| + GetCurrentDisplay().id() == screen_->GetPrimaryDisplay().id();
|
| +}
|
| +
|
| ShelfAlignment AshPopupAlignmentDelegate::GetAlignment() const {
|
| return shelf_->GetAlignment();
|
| }
|
|
|