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

Unified Diff: views/controls/label_unittest.cc

Issue 7057014: Variety of tweaks to View API. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src/
Patch Set: Created 9 years, 7 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
« no previous file with comments | « views/controls/label.cc ('k') | views/controls/link.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: views/controls/label_unittest.cc
===================================================================
--- views/controls/label_unittest.cc (revision 86083)
+++ views/controls/label_unittest.cc (working copy)
@@ -195,7 +195,7 @@
TEST(LabelTest, MultiLineSizing) {
Label label;
- label.SetFocusable(false);
+ label.set_focusable(false);
std::wstring test_text(L"A random string\nwith multiple lines\nand returns!");
label.SetText(test_text);
label.SetMultiLine(true);
@@ -278,7 +278,7 @@
TEST(LabelTest, DrawSingleLineString) {
Label label;
- label.SetFocusable(false);
+ label.set_focusable(false);
// Turn off mirroring so that we don't need to figure out if
// align right really means align left.
@@ -396,7 +396,7 @@
// multiline lables to not ellide in Linux only.
TEST(LabelTest, DrawMultiLineString) {
Label label;
- label.SetFocusable(false);
+ label.set_focusable(false);
// Turn off mirroring so that we don't need to figure out if
// align right really means align left.
@@ -543,7 +543,7 @@
TEST(LabelTest, DrawSingleLineStringInRTL) {
Label label;
- label.SetFocusable(false);
+ label.set_focusable(false);
std::string locale = l10n_util::GetApplicationLocale("");
base::i18n::SetICUDefaultLocale("he");
@@ -664,7 +664,7 @@
// multiline lables to not ellide in Linux only.
TEST(LabelTest, DrawMultiLineStringInRTL) {
Label label;
- label.SetFocusable(false);
+ label.set_focusable(false);
// Test for RTL.
std::string locale = l10n_util::GetApplicationLocale("");
« no previous file with comments | « views/controls/label.cc ('k') | views/controls/link.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698