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

Unified Diff: ui/views/controls/textfield/textfield_unittest.cc

Issue 2379993005: Label selection experiment (Closed)
Patch Set: -- Created 4 years, 2 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 | « ui/views/controls/textfield/textfield.cc ('k') | ui/views/examples/label_example.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: ui/views/controls/textfield/textfield_unittest.cc
diff --git a/ui/views/controls/textfield/textfield_unittest.cc b/ui/views/controls/textfield/textfield_unittest.cc
index 4786bf1ed8b42e7287e028717f636d260e4b03eb..c4d0513b7af8ba7812f1771b1d9322a7ab89d85b 100644
--- a/ui/views/controls/textfield/textfield_unittest.cc
+++ b/ui/views/controls/textfield/textfield_unittest.cc
@@ -1499,9 +1499,9 @@ TEST_F(TextfieldTest, DragUpOrDownSelectsToEnd) {
InitTextfield();
textfield_->SetText(ASCIIToUTF16("hello world"));
const base::string16 expected_up = base::ASCIIToUTF16(
- PlatformStyle::kTextfieldDragVerticallyDragsToEnd ? "hello" : "lo");
+ PlatformStyle::kTextDragVerticallyDragsToEnd ? "hello" : "lo");
const base::string16 expected_down = base::ASCIIToUTF16(
- PlatformStyle::kTextfieldDragVerticallyDragsToEnd ? " world" : " w");
+ PlatformStyle::kTextDragVerticallyDragsToEnd ? " world" : " w");
const int kStartX = GetCursorPositionX(5);
const int kDownX = GetCursorPositionX(7);
const int kUpX = GetCursorPositionX(3);
« no previous file with comments | « ui/views/controls/textfield/textfield.cc ('k') | ui/views/examples/label_example.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698