summaryrefslogtreecommitdiffstats
path: root/chrome/browser/autocomplete/autocomplete_popup_model.h
diff options
context:
space:
mode:
authorsuzhe@google.com <suzhe@google.com@0039d316-1c4b-4281-b951-d872f2087c98>2011-01-13 00:30:18 +0000
committersuzhe@google.com <suzhe@google.com@0039d316-1c4b-4281-b951-d872f2087c98>2011-01-13 00:30:18 +0000
commit28ea1c9ba0131ea88ae51c8487477e31c11ad8c6 (patch)
tree0f2ba7a91f49fb5f0169655e13409d66159a20f0 /chrome/browser/autocomplete/autocomplete_popup_model.h
parent883025fbdea24cd612344a6953b9ddac49dcc0eb (diff)
downloadchromium_src-28ea1c9ba0131ea88ae51c8487477e31c11ad8c6.zip
chromium_src-28ea1c9ba0131ea88ae51c8487477e31c11ad8c6.tar.gz
chromium_src-28ea1c9ba0131ea88ae51c8487477e31c11ad8c6.tar.bz2
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
Diffstat (limited to 'chrome/browser/autocomplete/autocomplete_popup_model.h')
-rw-r--r--chrome/browser/autocomplete/autocomplete_popup_model.h3
1 files changed, 2 insertions, 1 deletions
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();