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

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

Issue 2024003002: Add GetTextDirection to ui::TextInputClient API. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 4 years, 6 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/prefix_selector.cc ('k') | ui/views/controls/textfield/textfield.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: ui/views/controls/textfield/textfield.h
diff --git a/ui/views/controls/textfield/textfield.h b/ui/views/controls/textfield/textfield.h
index e08cfb4ee15751ceccb36b2ef9d99c21741e733b..4539ed8b5ea30d4f7c35cb813f1b1281afd35be5 100644
--- a/ui/views/controls/textfield/textfield.h
+++ b/ui/views/controls/textfield/textfield.h
@@ -88,9 +88,6 @@ class VIEWS_EXPORT Textfield : public View,
// Inserts |new_text| at the cursor position, replacing any selected text.
void InsertOrReplaceText(const base::string16& new_text);
- // Returns the text direction.
- base::i18n::TextDirection GetTextDirection() const;
-
// Returns the text that is currently selected.
base::string16 GetSelectedText() const;
@@ -288,6 +285,7 @@ class VIEWS_EXPORT Textfield : public View,
void InsertChar(const ui::KeyEvent& event) override;
ui::TextInputType GetTextInputType() const override;
ui::TextInputMode GetTextInputMode() const override;
+ base::i18n::TextDirection GetTextDirection() const override;
int GetTextInputFlags() const override;
bool CanComposeInline() const override;
gfx::Rect GetCaretBounds() const override;
« no previous file with comments | « ui/views/controls/prefix_selector.cc ('k') | ui/views/controls/textfield/textfield.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698