Index: chrome/browser/autocomplete/autocomplete_edit.h |
=================================================================== |
--- chrome/browser/autocomplete/autocomplete_edit.h (revision 108642) |
+++ chrome/browser/autocomplete/autocomplete_edit.h (working copy) |
@@ -123,6 +123,8 @@ |
Profile* profile() const { return profile_; } |
+ OmniboxView* view() const { return view_; } |
+ |
// Returns the current state. This assumes we are switching tabs, and changes |
// the internal state appropriately. |
const State GetStateForTabSwitch(); |
@@ -379,6 +381,9 @@ |
// Returns true if a keyword is selected. |
bool KeywordIsSelected() const; |
+ // Turns off keyword mode for the current match. |
+ void ClearPopupKeywordMode() 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. |