Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(166)

Side by Side Diff: ui/message_center/views/notification_view.cc

Issue 2921523002: Clean up unused grit header includes in ui/. (Closed)
Patch Set: Created 3 years, 6 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch
« no previous file with comments | « ui/message_center/views/message_view.cc ('k') | ui/native_theme/common_theme.cc » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
1 // Copyright (c) 2012 The Chromium Authors. All rights reserved. 1 // Copyright (c) 2012 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/notification_view.h" 5 #include "ui/message_center/views/notification_view.h"
6 6
7 #include <stddef.h> 7 #include <stddef.h>
8 8
9 #include "base/command_line.h" 9 #include "base/command_line.h"
10 #include "base/macros.h" 10 #include "base/macros.h"
(...skipping 13 matching lines...) Expand all
24 #include "ui/message_center/message_center_style.h" 24 #include "ui/message_center/message_center_style.h"
25 #include "ui/message_center/notification.h" 25 #include "ui/message_center/notification.h"
26 #include "ui/message_center/notification_types.h" 26 #include "ui/message_center/notification_types.h"
27 #include "ui/message_center/views/bounded_label.h" 27 #include "ui/message_center/views/bounded_label.h"
28 #include "ui/message_center/views/constants.h" 28 #include "ui/message_center/views/constants.h"
29 #include "ui/message_center/views/message_center_controller.h" 29 #include "ui/message_center/views/message_center_controller.h"
30 #include "ui/message_center/views/notification_button.h" 30 #include "ui/message_center/views/notification_button.h"
31 #include "ui/message_center/views/padded_button.h" 31 #include "ui/message_center/views/padded_button.h"
32 #include "ui/message_center/views/proportional_image_view.h" 32 #include "ui/message_center/views/proportional_image_view.h"
33 #include "ui/native_theme/native_theme.h" 33 #include "ui/native_theme/native_theme.h"
34 #include "ui/resources/grit/ui_resources.h"
35 #include "ui/strings/grit/ui_strings.h" 34 #include "ui/strings/grit/ui_strings.h"
36 #include "ui/views/background.h" 35 #include "ui/views/background.h"
37 #include "ui/views/border.h" 36 #include "ui/views/border.h"
38 #include "ui/views/controls/button/image_button.h" 37 #include "ui/views/controls/button/image_button.h"
39 #include "ui/views/controls/image_view.h" 38 #include "ui/views/controls/image_view.h"
40 #include "ui/views/controls/label.h" 39 #include "ui/views/controls/label.h"
41 #include "ui/views/controls/progress_bar.h" 40 #include "ui/views/controls/progress_bar.h"
42 #include "ui/views/layout/box_layout.h" 41 #include "ui/views/layout/box_layout.h"
43 #include "ui/views/layout/fill_layout.h" 42 #include "ui/views/layout/fill_layout.h"
44 #include "ui/views/native_cursor.h" 43 #include "ui/views/native_cursor.h"
(...skipping 715 matching lines...) Expand 10 before | Expand all | Expand 10 after
760 759
761 return message_line_limit; 760 return message_line_limit;
762 } 761 }
763 762
764 int NotificationView::GetMessageHeight(int width, int limit) const { 763 int NotificationView::GetMessageHeight(int width, int limit) const {
765 return message_view_ ? 764 return message_view_ ?
766 message_view_->GetSizeForWidthAndLines(width, limit).height() : 0; 765 message_view_->GetSizeForWidthAndLines(width, limit).height() : 0;
767 } 766 }
768 767
769 } // namespace message_center 768 } // namespace message_center
OLDNEW
« no previous file with comments | « ui/message_center/views/message_view.cc ('k') | ui/native_theme/common_theme.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698