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

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

Issue 307030: New widget factories & methods to support desktop notifications, GTK stubs.... (Closed) Base URL: svn://chrome-svn/chrome/trunk/src/
Patch Set: '' Created 11 years, 2 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/views/status_bubble_views.cc
===================================================================
--- chrome/browser/views/status_bubble_views.cc (revision 29817)
+++ chrome/browser/views/status_bubble_views.cc (working copy)
@@ -27,6 +27,8 @@
#include "views/widget/widget.h"
#include "views/window/window.h"
+using views::Widget;
+
// The alpha and color of the bubble's shadow.
static const SkColor kShadowColor = SkColorSetARGB(30, 0, 0, 0);
@@ -462,7 +464,9 @@
void StatusBubbleViews::Init() {
if (!popup_.get()) {
- popup_.reset(views::Widget::CreateTransparentPopupWidget(false));
+ popup_.reset(Widget::CreatePopupWidget(Widget::Transparent,
+ Widget::NotAcceptEvents,
+ Widget::NotDeleteOnDestroy));
if (!view_)
view_ = new StatusView(this, popup_.get(), frame_->GetThemeProvider());
popup_->SetOpacity(0x00);

Powered by Google App Engine
This is Rietveld 408576698