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

Unified Diff: ui/message_center/message_popup_bubble.cc

Issue 11819048: Implement message center on Windows (Closed) Base URL: http://git.chromium.org/chromium/src.git@master
Patch Set: Rebase on master @fa1d2262 and rearrange dependencies. Created 7 years, 11 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: ui/message_center/message_popup_bubble.cc
diff --git a/ui/message_center/message_popup_bubble.cc b/ui/message_center/message_popup_bubble.cc
index 4b733c2f61ce47cdc76fb47e1a4c5f91e85fe1e7..fff762322196fc315cfb1181ec8eaf6bcf73184f 100644
--- a/ui/message_center/message_popup_bubble.cc
+++ b/ui/message_center/message_popup_bubble.cc
@@ -51,9 +51,11 @@ class PopupBubbleContentsView : public views::View {
new views::BoxLayout(views::BoxLayout::kVertical, 0, 0, 1));
AddChildView(content_);
+#ifdef USE_AURA
content_->SetPaintToLayer(true);
content_->SetFillsBoundsOpaquely(false);
content_->layer()->SetMasksToBounds(true);
+#endif // USE_AURA
}
void Update(const NotificationList::Notifications& popup_notifications) {

Powered by Google App Engine
This is Rietveld 408576698