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/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/l10n/l10n_util.h" | 15 #include "ui/base/l10n/l10n_util.h" |
16 #include "ui/base/resource/resource_bundle.h" | 16 #include "ui/base/resource/resource_bundle.h" |
17 #include "ui/gfx/animation/multi_animation.h" | 17 #include "ui/gfx/animation/multi_animation.h" |
18 #include "ui/gfx/animation/slide_animation.h" | 18 #include "ui/gfx/animation/slide_animation.h" |
19 #include "ui/gfx/canvas.h" | 19 #include "ui/gfx/canvas.h" |
20 #include "ui/gfx/insets.h" | 20 #include "ui/gfx/geometry/insets.h" |
21 #include "ui/gfx/rect.h" | 21 #include "ui/gfx/rect.h" |
22 #include "ui/gfx/size.h" | 22 #include "ui/gfx/size.h" |
23 #include "ui/message_center/message_center.h" | 23 #include "ui/message_center/message_center.h" |
24 #include "ui/message_center/message_center_style.h" | 24 #include "ui/message_center/message_center_style.h" |
25 #include "ui/message_center/message_center_tray.h" | 25 #include "ui/message_center/message_center_tray.h" |
26 #include "ui/message_center/message_center_types.h" | 26 #include "ui/message_center/message_center_types.h" |
27 #include "ui/message_center/views/message_center_button_bar.h" | 27 #include "ui/message_center/views/message_center_button_bar.h" |
28 #include "ui/message_center/views/message_view.h" | 28 #include "ui/message_center/views/message_view.h" |
29 #include "ui/message_center/views/message_view_context_menu_controller.h" | 29 #include "ui/message_center/views/message_view_context_menu_controller.h" |
30 #include "ui/message_center/views/notification_view.h" | 30 #include "ui/message_center/views/notification_view.h" |
(...skipping 967 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
998 scroller_->InvalidateLayout(); | 998 scroller_->InvalidateLayout(); |
999 PreferredSizeChanged(); | 999 PreferredSizeChanged(); |
1000 Layout(); | 1000 Layout(); |
1001 } | 1001 } |
1002 | 1002 |
1003 void MessageCenterView::SetNotificationViewForTest(MessageView* view) { | 1003 void MessageCenterView::SetNotificationViewForTest(MessageView* view) { |
1004 message_list_view_->AddNotificationAt(view, 0); | 1004 message_list_view_->AddNotificationAt(view, 0); |
1005 } | 1005 } |
1006 | 1006 |
1007 } // namespace message_center | 1007 } // namespace message_center |
OLD | NEW |