diff options
author | dimich@chromium.org <dimich@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2013-04-10 17:58:13 +0000 |
---|---|---|
committer | dimich@chromium.org <dimich@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2013-04-10 17:58:13 +0000 |
commit | 91c74303f227a577d0f4c2dd6fd9d8c5efb1760d (patch) | |
tree | 8323a0220997f0f8648a3eb666b224a24c62e306 /ui/message_center/views/message_popup_collection.cc | |
parent | c03f457bf0041309f0f8f439f1c3c5e127db7d8c (diff) | |
download | chromium_src-91c74303f227a577d0f4c2dd6fd9d8c5efb1760d.zip chromium_src-91c74303f227a577d0f4c2dd6fd9d8c5efb1760d.tar.gz chromium_src-91c74303f227a577d0f4c2dd6fd9d8c5efb1760d.tar.bz2 |
Changing type of a widget for notification popups, to remove them from Win taskbar.
Previous change only affected Notification Center, this one adds popups.
Replacing TYPE_WINDOW_FRAMELESS with TYPE_POPUP seems to be equivalent in the context of notifications. On Windows, it adds a WS_EX_TOOLWINDOW style that removes the window from taskbar and Alt-Tab.
BUG=223685
Review URL: https://chromiumcodereview.appspot.com/13861029
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@193418 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'ui/message_center/views/message_popup_collection.cc')
-rw-r--r-- | ui/message_center/views/message_popup_collection.cc | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/ui/message_center/views/message_popup_collection.cc b/ui/message_center/views/message_popup_collection.cc index 71a73c5..46aff003 100644 --- a/ui/message_center/views/message_popup_collection.cc +++ b/ui/message_center/views/message_popup_collection.cc @@ -48,7 +48,7 @@ class ToastContentsView : public views::WidgetDelegateView { views::Widget* CreateWidget(gfx::NativeView parent) { views::Widget::InitParams params( - views::Widget::InitParams::TYPE_WINDOW_FRAMELESS); + views::Widget::InitParams::TYPE_POPUP); params.keep_on_top = true; if (parent) params.parent = parent; |