summaryrefslogtreecommitdiffstats
path: root/ui/message_center/base_format_view.cc
diff options
context:
space:
mode:
authorsadrul@chromium.org <sadrul@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2012-11-09 19:03:48 +0000
committersadrul@chromium.org <sadrul@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2012-11-09 19:03:48 +0000
commitd538af28f7d25e5e82692599327816123439654b (patch)
tree66c6cd85f6b36e0b3e9486e73d88f34505399a21 /ui/message_center/base_format_view.cc
parent0f5db3e2de1d01aa7a130b97850f16b8b400f492 (diff)
downloadchromium_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.cc2
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(