diff options
author | sadrul@chromium.org <sadrul@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2012-11-09 19:03:48 +0000 |
---|---|---|
committer | sadrul@chromium.org <sadrul@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2012-11-09 19:03:48 +0000 |
commit | d538af28f7d25e5e82692599327816123439654b (patch) | |
tree | 66c6cd85f6b36e0b3e9486e73d88f34505399a21 /ui/message_center/base_format_view.cc | |
parent | 0f5db3e2de1d01aa7a130b97850f16b8b400f492 (diff) | |
download | chromium_src-d538af28f7d25e5e82692599327816123439654b.zip chromium_src-d538af28f7d25e5e82692599327816123439654b.tar.gz chromium_src-d538af28f7d25e5e82692599327816123439654b.tar.bz2 |
views: Add a new view that can be slided out using gestures.
Refactor the code for sliding out a View from the message-center into views
so that it can be used more generally. Use it for both system and message-center
notifications.
BUG=158075
Review URL: https://codereview.chromium.org/11361178
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@166944 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'ui/message_center/base_format_view.cc')
-rw-r--r-- | ui/message_center/base_format_view.cc | 2 |
1 files changed, 0 insertions, 2 deletions
diff --git a/ui/message_center/base_format_view.cc b/ui/message_center/base_format_view.cc index 942d42a..f8cec95 100644 --- a/ui/message_center/base_format_view.cc +++ b/ui/message_center/base_format_view.cc @@ -32,8 +32,6 @@ void BaseFormatView::SetUpView() { SkColor bg_color = notification_.is_read ? kNotificationReadColor : kNotificationColor; set_background(views::Background::CreateSolidBackground(bg_color)); - SetPaintToLayer(true); - SetFillsBoundsOpaquely(false); icon_ = new views::ImageView; icon_->SetImageSize( |