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

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

Issue 2413223003: Views:: Make Labels support text selection. (Closed)
Patch Set: Rebase Created 4 years, 1 month 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 dc14cc4a209afe6058e84dcf49c39f7939281959..55631ce38cb7aacbeb4908ea8b69f88166929adc 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