| Index: chrome/browser/ui/views/omnibox/omnibox_view_win.cc
|
| diff --git a/chrome/browser/ui/views/omnibox/omnibox_view_win.cc b/chrome/browser/ui/views/omnibox/omnibox_view_win.cc
|
| index 3023d56936f297b4cca1991c241b5c8b75dd72c8..62b4c97d279191a424a5f15d4a13cc66a2ef9e77 100644
|
| --- a/chrome/browser/ui/views/omnibox/omnibox_view_win.cc
|
| +++ b/chrome/browser/ui/views/omnibox/omnibox_view_win.cc
|
| @@ -917,17 +917,6 @@ bool OmniboxViewWin::OnAfterPossibleChangeInternal(bool force_text_changed) {
|
| return something_changed;
|
| }
|
|
|
| -void OmniboxViewWin::OnTextUpdated() {
|
| - if (ignore_ime_messages_)
|
| - return;
|
| - OnAfterPossibleChangeInternal(true);
|
| - // Call OnBeforePossibleChange function here to get correct diff in next IME
|
| - // update. The Text Services Framework does not provide any notification
|
| - // before entering edit session, therefore we don't have good place to call
|
| - // OnBeforePossibleChange.
|
| - OnBeforePossibleChange();
|
| -}
|
| -
|
| void OmniboxViewWin::OnCandidateWindowCountChanged(size_t window_count) {
|
| ime_candidate_window_open_ = (window_count != 0);
|
| if (ime_candidate_window_open_) {
|
| @@ -940,6 +929,17 @@ void OmniboxViewWin::OnCandidateWindowCountChanged(size_t window_count) {
|
| }
|
| }
|
|
|
| +void OmniboxViewWin::OnTextUpdated(const ui::Range& /*composition_range*/) {
|
| + if (ignore_ime_messages_)
|
| + return;
|
| + OnAfterPossibleChangeInternal(true);
|
| + // Call OnBeforePossibleChange function here to get correct diff in next IME
|
| + // update. The Text Services Framework does not provide any notification
|
| + // before entering edit session, therefore we don't have good place to call
|
| + // OnBeforePossibleChange.
|
| + OnBeforePossibleChange();
|
| +}
|
| +
|
| gfx::NativeView OmniboxViewWin::GetNativeView() const {
|
| return m_hWnd;
|
| }
|
|
|