| OLD | NEW |
| 1 // Copyright (c) 2013 The Chromium Authors. All rights reserved. | 1 // Copyright (c) 2013 The Chromium Authors. All rights reserved. |
| 2 // Use of this source code is governed by a BSD-style license that can be | 2 // Use of this source code is governed by a BSD-style license that can be |
| 3 // found in the LICENSE file. | 3 // found in the LICENSE file. |
| 4 | 4 |
| 5 #include "ui/message_center/views/message_center_view.h" | 5 #include "ui/message_center/views/message_center_view.h" |
| 6 | 6 |
| 7 #include <list> | 7 #include <list> |
| 8 #include <map> | 8 #include <map> |
| 9 | 9 |
| 10 #include "base/memory/weak_ptr.h" | 10 #include "base/memory/weak_ptr.h" |
| 11 #include "base/message_loop.h" | 11 #include "base/message_loop/message_loop.h" |
| 12 #include "base/stl_util.h" | 12 #include "base/stl_util.h" |
| 13 #include "grit/ui_resources.h" | 13 #include "grit/ui_resources.h" |
| 14 #include "grit/ui_strings.h" | 14 #include "grit/ui_strings.h" |
| 15 #include "ui/base/animation/multi_animation.h" | 15 #include "ui/base/animation/multi_animation.h" |
| 16 #include "ui/base/animation/slide_animation.h" | 16 #include "ui/base/animation/slide_animation.h" |
| 17 #include "ui/base/l10n/l10n_util.h" | 17 #include "ui/base/l10n/l10n_util.h" |
| 18 #include "ui/base/resource/resource_bundle.h" | 18 #include "ui/base/resource/resource_bundle.h" |
| 19 #include "ui/gfx/canvas.h" | 19 #include "ui/gfx/canvas.h" |
| 20 #include "ui/gfx/insets.h" | 20 #include "ui/gfx/insets.h" |
| 21 #include "ui/gfx/point.h" | 21 #include "ui/gfx/point.h" |
| (...skipping 1082 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 1104 scroller_->InvalidateLayout(); | 1104 scroller_->InvalidateLayout(); |
| 1105 PreferredSizeChanged(); | 1105 PreferredSizeChanged(); |
| 1106 Layout(); | 1106 Layout(); |
| 1107 } | 1107 } |
| 1108 | 1108 |
| 1109 void MessageCenterView::SetNotificationViewForTest(views::View* view) { | 1109 void MessageCenterView::SetNotificationViewForTest(views::View* view) { |
| 1110 message_list_view_->AddNotificationAt(view, 0); | 1110 message_list_view_->AddNotificationAt(view, 0); |
| 1111 } | 1111 } |
| 1112 | 1112 |
| 1113 } // namespace message_center | 1113 } // namespace message_center |
| OLD | NEW |