Index: chrome/browser/ui/cocoa/omnibox/omnibox_view_mac.h |
=================================================================== |
--- chrome/browser/ui/cocoa/omnibox/omnibox_view_mac.h (revision 119601) |
+++ chrome/browser/ui/cocoa/omnibox/omnibox_view_mac.h (working copy) |
@@ -54,7 +54,9 @@ |
const string16& display_text, |
bool update_popup) OVERRIDE; |
virtual void SetWindowTextAndCaretPos(const string16& text, |
- size_t caret_pos) OVERRIDE; |
+ size_t caret_pos, |
+ bool update_popup, |
+ bool notify_text_changed) OVERRIDE; |
virtual void SetForcedQuery() OVERRIDE; |
virtual bool IsSelectAll() OVERRIDE; |
virtual bool DeleteAtEndPressed() OVERRIDE; |
@@ -164,6 +166,9 @@ |
// though here we cannot really do the in-place operation they do. |
void EmphasizeURLComponents(); |
+ // Internally invoked whenever the text changes in some way. |
+ void TextChanged(); |
+ |
// Calculates text attributes according to |display_text| and applies them |
// to the given |as| object. |
void ApplyTextAttributes(const string16& display_text, |