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

Unified Diff: chrome/browser/ui/views/status_bubble_views.cc

Issue 10905080: Exempt status bubble windows from status bar darkening (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Comments Created 8 years, 3 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: chrome/browser/ui/views/status_bubble_views.cc
diff --git a/chrome/browser/ui/views/status_bubble_views.cc b/chrome/browser/ui/views/status_bubble_views.cc
index 30bc95f5debf97e91f33fc223613e3ecec8939dc..453dd63828b651278489db7185b18396cc7cbd8f 100644
--- a/chrome/browser/ui/views/status_bubble_views.cc
+++ b/chrome/browser/ui/views/status_bubble_views.cc
@@ -31,6 +31,10 @@
#include "ui/views/widget/root_view.h"
#include "ui/views/widget/widget.h"
+#if defined(USE_ASH)
+#include "ash/wm/property_util.h"
+#endif
+
using views::Widget;
// The alpha and color of the bubble's shadow.
@@ -580,6 +584,9 @@ void StatusBubbleViews::Init() {
popup_->SetVisibilityChangedAnimationsEnabled(false);
popup_->SetOpacity(0x00);
popup_->SetContentsView(view_);
+#if defined(USE_ASH)
+ ash::SetIgnoredByShelf(popup_->GetNativeWindow(), true);
+#endif
Reposition();
}
}

Powered by Google App Engine
This is Rietveld 408576698