OLD | NEW |
1 // Copyright 2013 The Chromium Authors. All rights reserved. | 1 // Copyright 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/bounded_label.h" | 5 #include "ui/message_center/views/bounded_label.h" |
6 | 6 |
7 #include <limits> | 7 #include <limits> |
8 | 8 |
9 #include "base/string_util.h" | |
10 #include "base/strings/string_split.h" | 9 #include "base/strings/string_split.h" |
| 10 #include "base/strings/string_util.h" |
11 #include "base/strings/utf_string_conversions.h" | 11 #include "base/strings/utf_string_conversions.h" |
12 #include "testing/gtest/include/gtest/gtest.h" | 12 #include "testing/gtest/include/gtest/gtest.h" |
13 #include "ui/gfx/font.h" | 13 #include "ui/gfx/font.h" |
14 #include "ui/views/controls/label.h" | 14 #include "ui/views/controls/label.h" |
15 | 15 |
16 namespace message_center { | 16 namespace message_center { |
17 | 17 |
18 namespace test { | 18 namespace test { |
19 | 19 |
20 /* Test fixture ***************************************************************/ | 20 /* Test fixture ***************************************************************/ |
(...skipping 187 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
208 | 208 |
209 // TODO(dharcourt): Add test cases to verify that: | 209 // TODO(dharcourt): Add test cases to verify that: |
210 // - SetMaxLines() affects the return values of some methods but not others. | 210 // - SetMaxLines() affects the return values of some methods but not others. |
211 // - Bound changes affects GetPreferredLines(), GetTextSize(), and | 211 // - Bound changes affects GetPreferredLines(), GetTextSize(), and |
212 // GetWrappedText() return values. | 212 // GetWrappedText() return values. |
213 // - GetTextFlags are as expected. | 213 // - GetTextFlags are as expected. |
214 | 214 |
215 } // namespace test | 215 } // namespace test |
216 | 216 |
217 } // namespace message_center | 217 } // namespace message_center |
OLD | NEW |