| Index: chrome/browser/autocomplete/autocomplete_edit_view_gtk.h
|
| diff --git a/chrome/browser/autocomplete/autocomplete_edit_view_gtk.h b/chrome/browser/autocomplete/autocomplete_edit_view_gtk.h
|
| index 4508ffa7d41aa4c937a8a1c8fc9c956ad8fd3f03..1f3e25ff67748cb5c579c6948324865b3b215691 100644
|
| --- a/chrome/browser/autocomplete/autocomplete_edit_view_gtk.h
|
| +++ b/chrome/browser/autocomplete/autocomplete_edit_view_gtk.h
|
| @@ -144,13 +144,12 @@ class AutocompleteEditViewGtk : public AutocompleteEditView,
|
| virtual gfx::NativeView GetNativeView() const;
|
| virtual CommandUpdater* GetCommandUpdater();
|
| virtual void SetInstantSuggestion(const string16& suggestion);
|
| + virtual string16 GetInstantSuggestion() const;
|
| virtual int TextWidth() const;
|
| virtual bool IsImeComposing() const;
|
|
|
| #if defined(TOOLKIT_VIEWS)
|
| virtual views::View* AddToView(views::View* parent);
|
| - virtual bool CommitInstantSuggestion(const string16& typed_text,
|
| - const string16& suggested_text);
|
|
|
| // Enables accessibility on AutocompleteEditView.
|
| void EnableAccessibility();
|
| @@ -183,8 +182,6 @@ class AutocompleteEditViewGtk : public AutocompleteEditView,
|
| // the animation state.
|
| void UpdateInstantViewColors();
|
|
|
| - bool CommitInstantSuggestion();
|
| -
|
| GtkWidget* text_view() {
|
| return text_view_;
|
| }
|
| @@ -312,6 +309,12 @@ class AutocompleteEditViewGtk : public AutocompleteEditView,
|
| // Return the number of characers in the current buffer.
|
| int GetTextLength() const;
|
|
|
| + // Return the cursor position in the current buffer, in number of characters.
|
| + int GetCursorPosition() const;
|
| +
|
| + // Set the cursor position in the current buffer, in number of characters.
|
| + void SetCursorPosition(int cursor_position);
|
| +
|
| // Try to parse the current text as a URL and colorize the components.
|
| void EmphasizeURLComponents();
|
|
|
|
|