From 28ea1c9ba0131ea88ae51c8487477e31c11ad8c6 Mon Sep 17 00:00:00 2001 From: "suzhe@google.com" Date: Thu, 13 Jan 2011 00:30:18 +0000 Subject: Fix several omnibox issues related to keyword mode and IME support. This CL contains following changes to omnibox code: 1. Make sure |keyword_ui_state_| is always updated correctly, i.e. it should always be KEYWORD when keyword UI is visible. 2. Make sure |keyword_ui_state_| will never be changed during IME composition. 3. Make sure OnInlineAutocompleteTextMaybeChanged() will only be called when inline autocomplete suggest is changed. This CL fixes following bugs. Old fix for bug 2720 and 3798 has been removed. BUG=2720 BUG=3798 BUG=39947 BUG=62426 TEST=See bug reports. Review URL: http://codereview.chromium.org/6131005 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@71268 0039d316-1c4b-4281-b951-d872f2087c98 --- chrome/browser/autocomplete/autocomplete_popup_model.h | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'chrome/browser/autocomplete/autocomplete_popup_model.h') diff --git a/chrome/browser/autocomplete/autocomplete_popup_model.h b/chrome/browser/autocomplete/autocomplete_popup_model.h index 9c5384f..ee1fef0 100644 --- a/chrome/browser/autocomplete/autocomplete_popup_model.h +++ b/chrome/browser/autocomplete/autocomplete_popup_model.h @@ -33,7 +33,8 @@ class AutocompletePopupModel : public NotificationObserver { void StartAutocomplete(const std::wstring& text, const std::wstring& desired_tld, bool prevent_inline_autocomplete, - bool prefer_keyword); + bool prefer_keyword, + bool allow_exact_keyword_match); // Closes the window and cancels any pending asynchronous queries. void StopAutocomplete(); -- cgit v1.1