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

Unified Diff: ash/system/web_notification/ash_popup_alignment_delegate.h

Issue 2834773002: Hide popup custom notifications on non-primary displays (Closed)
Patch Set: Created 3 years, 8 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
Index: ash/system/web_notification/ash_popup_alignment_delegate.h
diff --git a/ash/system/web_notification/ash_popup_alignment_delegate.h b/ash/system/web_notification/ash_popup_alignment_delegate.h
index 93db7bc64e5f022fbb874ca039047cb0024c42d8..0bf17dcd5826c036288088ee3804282ba7f76801 100644
--- a/ash/system/web_notification/ash_popup_alignment_delegate.h
+++ b/ash/system/web_notification/ash_popup_alignment_delegate.h
@@ -57,6 +57,7 @@ class ASH_EXPORT AshPopupAlignmentDelegate
void ConfigureWidgetInitParamsForContainer(
views::Widget* widget,
views::Widget::InitParams* init_params) override;
+ bool IsPrimaryDisplayForNotification() const override;
private:
friend class AshPopupAlignmentDelegateTest;

Powered by Google App Engine
This is Rietveld 408576698