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

Side by Side Diff: ui/views/controls/label_unittest.cc

Issue 8771006: views: Move the remaining file from views/ to ui/views/. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Created 9 years 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 | Annotate | Revision Log
« no previous file with comments | « ui/views/controls/label.cc ('k') | ui/views/controls/menu/menu.h » ('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) 2011 The Chromium Authors. All rights reserved. 1 // Copyright (c) 2011 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 "base/i18n/rtl.h" 5 #include "base/i18n/rtl.h"
6 #include "base/utf_string_conversions.h" 6 #include "base/utf_string_conversions.h"
7 #include "testing/gtest/include/gtest/gtest.h" 7 #include "testing/gtest/include/gtest/gtest.h"
8 #include "ui/base/accessibility/accessible_view_state.h" 8 #include "ui/base/accessibility/accessible_view_state.h"
9 #include "ui/base/l10n/l10n_util.h" 9 #include "ui/base/l10n/l10n_util.h"
10 #include "ui/gfx/canvas.h" 10 #include "ui/gfx/canvas.h"
11 #include "ui/views/border.h"
11 #include "ui/views/controls/label.h" 12 #include "ui/views/controls/label.h"
12 #include "views/border.h"
13 13
14 namespace views { 14 namespace views {
15 15
16 // All text sizing measurements (width and height) should be greater than this. 16 // All text sizing measurements (width and height) should be greater than this.
17 const int kMinTextDimension = 4; 17 const int kMinTextDimension = 4;
18 18
19 #if defined(OS_WIN) 19 #if defined(OS_WIN)
20 // Courier is failing on linux because it's non scalable. 20 // Courier is failing on linux because it's non scalable.
21 TEST(LabelTest, FontPropertyCourier) { 21 TEST(LabelTest, FontPropertyCourier) {
22 Label label; 22 Label label;
(...skipping 779 matching lines...) Expand 10 before | Expand all | Expand 10 after
802 gfx::Canvas::TEXT_ALIGN_LEFT | 802 gfx::Canvas::TEXT_ALIGN_LEFT |
803 gfx::Canvas::NO_ELLIPSIS, 803 gfx::Canvas::NO_ELLIPSIS,
804 flags); 804 flags);
805 #endif 805 #endif
806 806
807 // Reset Locale 807 // Reset Locale
808 base::i18n::SetICUDefaultLocale(locale); 808 base::i18n::SetICUDefaultLocale(locale);
809 } 809 }
810 810
811 } // namespace views 811 } // namespace views
OLDNEW
« no previous file with comments | « ui/views/controls/label.cc ('k') | ui/views/controls/menu/menu.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698