summaryrefslogtreecommitdiffstats
path: root/ui/views/ime/mock_input_method.cc
diff options
context:
space:
mode:
authoryukawa@chromium.org <yukawa@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2013-12-19 10:24:37 +0000
committeryukawa@chromium.org <yukawa@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2013-12-19 10:24:37 +0000
commit06dc06522f6f1e54c11006da737cbe0ca331c582 (patch)
tree474f971a6c1a9f8fdb6b9d01ac0a96aef993fdb1 /ui/views/ime/mock_input_method.cc
parent555c7f21c6e8a4343979dbbe0567b94080e43c5d (diff)
downloadchromium_src-06dc06522f6f1e54c11006da737cbe0ca331c582.zip
chromium_src-06dc06522f6f1e54c11006da737cbe0ca331c582.tar.gz
chromium_src-06dc06522f6f1e54c11006da737cbe0ca331c582.tar.bz2
Remove ui::InputMethod::GetInputTextDirection
This CL removes ui::InputMethod::GetInputTextDirection because no one actually uses this method. BUG=none TEST=none Review URL: https://codereview.chromium.org/105363004 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@241837 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'ui/views/ime/mock_input_method.cc')
-rw-r--r--ui/views/ime/mock_input_method.cc14
1 files changed, 0 insertions, 14 deletions
diff --git a/ui/views/ime/mock_input_method.cc b/ui/views/ime/mock_input_method.cc
index 9e3ebf4..a66ca5d 100644
--- a/ui/views/ime/mock_input_method.cc
+++ b/ui/views/ime/mock_input_method.cc
@@ -22,7 +22,6 @@ MockInputMethod::MockInputMethod()
cancel_composition_called_(false),
input_locale_changed_(false),
locale_("en-US"),
- direction_(base::i18n::LEFT_TO_RIGHT),
active_(true) {
}
@@ -35,7 +34,6 @@ MockInputMethod::MockInputMethod(internal::InputMethodDelegate* delegate)
cancel_composition_called_(false),
input_locale_changed_(false),
locale_("en-US"),
- direction_(base::i18n::LEFT_TO_RIGHT),
active_(true) {
SetDelegate(delegate);
}
@@ -124,10 +122,6 @@ std::string MockInputMethod::GetInputLocale() {
return locale_;
}
-base::i18n::TextDirection MockInputMethod::GetInputTextDirection() {
- return direction_;
-}
-
bool MockInputMethod::IsActive() {
return active_;
}
@@ -170,14 +164,6 @@ void MockInputMethod::SetInputLocale(const std::string& locale) {
}
}
-void MockInputMethod::SetInputTextDirection(
- base::i18n::TextDirection direction) {
- if (direction_ != direction) {
- direction_ = direction;
- OnInputMethodChanged();
- }
-}
-
void MockInputMethod::SetActive(bool active) {
if (active_ != active) {
active_ = active;