Chromium Code Reviews

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.
Jump to:
View side-by-side diff with in-line comments
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