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

Unified Diff: ui/message_center/views/bounded_label.h

Issue 24084003: Clean-up: Replaces Font with FontList in ui/message_center. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Created 7 years, 3 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 side-by-side diff with in-line comments
Download patch
Index: ui/message_center/views/bounded_label.h
diff --git a/ui/message_center/views/bounded_label.h b/ui/message_center/views/bounded_label.h
index 6d97c8850ccc7f3e449369767554b4012213646f..bb5456bf169061862f1f3b3c31d7ef35da21f2f6 100644
--- a/ui/message_center/views/bounded_label.h
+++ b/ui/message_center/views/bounded_label.h
@@ -14,8 +14,8 @@
#include "ui/views/view.h"
namespace gfx {
-class Font;
-}
+class FontList;
+} // namespace gfx
Jun Mukai 2013/09/10 08:59:41 you can omit "// namespace ~" comment in this size
Yuki 2013/09/10 09:16:34 I know some of people omit it, but I was not able
Jun Mukai 2013/09/10 17:29:46 If the coding style doesn't say specifically, usua
Yuki 2013/09/11 12:53:18 Done.
namespace message_center {
@@ -23,7 +23,7 @@ class InnerBoundedLabel;
namespace test {
class BoundedLabelTest;
-}
+} // namespace test
Jun Mukai 2013/09/10 08:59:41 ditto
Yuki 2013/09/10 09:16:34 Done.
// BoundedLabels display left aligned text up to a maximum number of lines, with
// ellipsis at the end of the last line for any omitted text. BoundedLabel is a
@@ -33,7 +33,7 @@ class BoundedLabelTest;
// bounded_label.cc file for details.
class MESSAGE_CENTER_EXPORT BoundedLabel : public views::View {
public:
- BoundedLabel(const string16& text, gfx::Font font);
+ BoundedLabel(const string16& text, const gfx::FontList& font_list);
BoundedLabel(const string16& text);
virtual ~BoundedLabel();
« no previous file with comments | « no previous file | ui/message_center/views/bounded_label.cc » ('j') | ui/message_center/views/notification_view.cc » ('J')

Powered by Google App Engine
This is Rietveld 408576698