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

Unified Diff: ui/views/controls/textfield/textfield_test_api.h

Issue 2709633003: Fix: Cursor of Omnibox stays in LTR mode after setting to RTL mode (Closed)
Patch Set: Created 3 years, 10 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
Index: ui/views/controls/textfield/textfield_test_api.h
diff --git a/ui/views/controls/textfield/textfield_test_api.h b/ui/views/controls/textfield/textfield_test_api.h
index f488f2cfefc2b013e5c025f76926c6894f14a538..cb9b4b8fe83e36fe7088d7d7a9ccf7241ff6173a 100644
--- a/ui/views/controls/textfield/textfield_test_api.h
+++ b/ui/views/controls/textfield/textfield_test_api.h
@@ -45,6 +45,8 @@ class TextfieldTestApi {
return textfield_->cursor_blink_timer_.IsRunning();
}
+ gfx::Point GetCursorViewOrigin() { return textfield_->cursor_view_.origin(); }
+
private:
Textfield* textfield_;

Powered by Google App Engine
This is Rietveld 408576698