summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authoryusukes@google.com <yusukes@google.com@0039d316-1c4b-4281-b951-d872f2087c98>2010-05-11 07:36:47 +0000
committeryusukes@google.com <yusukes@google.com@0039d316-1c4b-4281-b951-d872f2087c98>2010-05-11 07:36:47 +0000
commit216a0f8ba22c95c1937efe59be1ed0f127476b7e (patch)
treed5d1bd0bfac6d74bc33c583056d7e3fe5bc71c3a
parent5015b648dd9d9ad5ba494e56a11470517ea87645 (diff)
downloadchromium_src-216a0f8ba22c95c1937efe59be1ed0f127476b7e.zip
chromium_src-216a0f8ba22c95c1937efe59be1ed0f127476b7e.tar.gz
chromium_src-216a0f8ba22c95c1937efe59be1ed0f127476b7e.tar.bz2
Temporarily disabled the window position adjustment since it does not work fine with ibus-mozc.
BUG=none TEST=manual. checked that the window does not flicker. Review URL: http://codereview.chromium.org/1987011 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@46896 0039d316-1c4b-4281-b951-d872f2087c98
-rw-r--r--chrome/browser/chromeos/text_input/candidate_window.cc9
1 files changed, 6 insertions, 3 deletions
diff --git a/chrome/browser/chromeos/text_input/candidate_window.cc b/chrome/browser/chromeos/text_input/candidate_window.cc
index 0abbd37..91aed20 100644
--- a/chrome/browser/chromeos/text_input/candidate_window.cc
+++ b/chrome/browser/chromeos/text_input/candidate_window.cc
@@ -990,9 +990,12 @@ void CandidateWindowController::OnUpdateLookupTable(
// controller->frame_->Show(), as GetHorizontalOffset() returns a valid
// value only after the Show() method is called.
if (orientation == CandidateWindowView::kVertical) {
- controller->MoveCandidateWindow(
- controller->cursor_location(),
- controller->candidate_window_->GetHorizontalOffset());
+ // Temporarily disabled the window position adjustment since it does not
+ // work fine with ibus-mozc. TODO(satorux): re-enable the feature.
+ //
+ // controller->MoveCandidateWindow(
+ // controller->cursor_location(),
+ // controller->candidate_window_->GetHorizontalOffset());
}
}