Index: chrome/browser/autocomplete/autocomplete_edit.h |
diff --git a/chrome/browser/autocomplete/autocomplete_edit.h b/chrome/browser/autocomplete/autocomplete_edit.h |
index 783b396bbd8beacbb0e3b65b44dc3f0d1b430d8e..99374a6134fdad98c6ce08b2e0cc940a87f8d806 100644 |
--- a/chrome/browser/autocomplete/autocomplete_edit.h |
+++ b/chrome/browser/autocomplete/autocomplete_edit.h |
@@ -327,6 +327,9 @@ class AutocompleteEditModel : public NotificationObserver { |
// Called whenever user_text_ should change. |
void InternalSetUserText(const std::wstring& text); |
+ // Returns true if a keyword is selected. |
+ bool KeywordIsSelected() const; |
+ |
// Conversion between user text and display text. User text is the text the |
// user has input. Display text is the text being shown in the edit. The |
// two are different if a keyword is selected. |